Build Information
Failed to build ZoomableModifier, reference main (6454d4), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 11:26:41 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Hydralo/ZoomableModifier.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Hydralo/ZoomableModifier
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6454d4b Update README.md
Cloned https://github.com/Hydralo/ZoomableModifier.git
Revision (git rev-parse @):
6454d4bf4b55939ab14c3b286d10200bf7128960
SUCCESS checkout https://github.com/Hydralo/ZoomableModifier.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/Hydralo/ZoomableModifier.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] ZoomableModifier
[30 / 97]
[33 / 97]
[41 / 97]
[43 / 97]
[44 / 97]
[49 / 97]
[51 / 97]
[53 / 97]
[56 / 97]
[61 / 97]
[64 / 97]
[66 / 97]
[67 / 97]
[77 / 97]
[79 / 97]
[80 / 97]
[83 / 97]
[85 / 97]
[88 / 97] ZoomableModifier
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ZoomableModifier/ZoomableModifier.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile ZoomableModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableModifier/ZoomableModifier.swift:50:9: [1;31merror: [1;39m'MagnifyGesture' is only available in macOS 14.0 or newer[0;0m
[0;36m1 |[0;0m import SwiftUI
[0;36m2 |[0;0m
[0;36m3 |[0;0m public struct ZoomableModifier: ViewModifier {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m4 |[0;0m let minZoomScale: CGFloat
[0;36m5 |[0;0m let maxZoomScale: CGFloat
[0;36m:[0;0m
[0;36m47 |[0;0m
[0;36m48 |[0;0m @available(iOS 17.0, *)
[0;36m49 |[0;0m private var magnificationGesture: some Gesture {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing property[0;0m
[0;36m50 |[0;0m MagnifyGesture(minimumScaleDelta: 0)
[0;36m|[0;0m |- [1;31merror: [1;39m'MagnifyGesture' is only available in macOS 14.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd 'if #available' version check[0;0m
[0;36m51 |[0;0m .onChanged { value in
[0;36m52 |[0;0m let newTransform = CGAffineTransform.anchoredScale(
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableModifier/ZoomableModifier.swift:66:9: [1;31merror: [1;39m'SpatialTapGesture' is only available in macOS 13.0 or newer[0;0m
[0;36m1 |[0;0m import SwiftUI
[0;36m2 |[0;0m
[0;36m3 |[0;0m public struct ZoomableModifier: ViewModifier {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m4 |[0;0m let minZoomScale: CGFloat
[0;36m5 |[0;0m let maxZoomScale: CGFloat
[0;36m:[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m
[0;36m65 |[0;0m private var doubleTapGesture: some Gesture {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing property[0;0m
[0;36m66 |[0;0m SpatialTapGesture(count: 2)
[0;36m|[0;0m |- [1;31merror: [1;39m'SpatialTapGesture' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd 'if #available' version check[0;0m
[0;36m67 |[0;0m .onEnded { value in
[0;36m68 |[0;0m let newTransform: CGAffineTransform =
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableModifier/ZoomableModifier.swift:66:9: [1;31merror: [1;39m'init(count:coordinateSpace:)' is only available in macOS 14.0 or newer[0;0m
[0;36m1 |[0;0m import SwiftUI
[0;36m2 |[0;0m
[0;36m3 |[0;0m public struct ZoomableModifier: ViewModifier {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing struct[0;0m
[0;36m4 |[0;0m let minZoomScale: CGFloat
[0;36m5 |[0;0m let maxZoomScale: CGFloat
[0;36m:[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m
[0;36m65 |[0;0m private var doubleTapGesture: some Gesture {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing property[0;0m
[0;36m66 |[0;0m SpatialTapGesture(count: 2)
[0;36m|[0;0m |- [1;31merror: [1;39m'init(count:coordinateSpace:)' is only available in macOS 14.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd 'if #available' version check[0;0m
[0;36m67 |[0;0m .onEnded { value in
[0;36m68 |[0;0m let newTransform: CGAffineTransform =
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableModifier/ZoomableModifier.swift:213:9: [1;33mwarning: [1;39muse of 'min' as reference to global function in module 'Swift' will change in future versions of Swift to reference instance method in generic struct 'ClosedRange' which comes via a conditional conformance[0;0m [#deprecation]
[0;36m211 |[0;0m private extension ClosedRange<CGFloat> {
[0;36m212 |[0;0m func clamp(_ value: CGFloat) -> CGFloat {
[0;36m213 |[0;0m min(max(value, lowerBound), upperBound)
[0;36m|[0;0m |- [1;33mwarning: [1;39muse of 'min' as reference to global function in module 'Swift' will change in future versions of Swift to reference instance method in generic struct 'ClosedRange' which comes via a conditional conformance[0;0m [#deprecation]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'Swift.' to continue to reference the global function[0;0m
[0;36m214 |[0;0m }
[0;36m215 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableModifier/ZoomableModifier.swift:213:13: [1;33mwarning: [1;39muse of 'max' as reference to global function in module 'Swift' will change in future versions of Swift to reference instance method in generic struct 'ClosedRange' which comes via a conditional conformance[0;0m [#deprecation]
[0;36m211 |[0;0m private extension ClosedRange<CGFloat> {
[0;36m212 |[0;0m func clamp(_ value: CGFloat) -> CGFloat {
[0;36m213 |[0;0m min(max(value, lowerBound), upperBound)
[0;36m|[0;0m |- [1;33mwarning: [1;39muse of 'max' as reference to global function in module 'Swift' will change in future versions of Swift to reference instance method in generic struct 'ClosedRange' which comes via a conditional conformance[0;0m [#deprecation]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'Swift.' to continue to reference the global function[0;0m
[0;36m214 |[0;0m }
[0;36m215 |[0;0m }
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ZoomableModifier/ZoomableModifier.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableModifier.build/Debug/ZoomableModifier-t.build/Objects-normal/arm64/ZoomableModifier.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableModifier.build/Debug/ZoomableModifier-t.build/Objects-normal/arm64/ZoomableModifier.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableModifier.build/Debug/ZoomableModifier-t.build/Objects-normal/arm64/ZoomableModifier.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableModifier.build/Debug/ZoomableModifier-t.build/Objects-normal/arm64/ZoomableModifier.dia -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableModifier.build/Debug/ZoomableModifier-t.build/Objects-normal/arm64/ZoomableModifier-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableModifier.build/Debug/ZoomableModifier-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableModifier.build/Debug/ZoomableModifier-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableModifier.build/Debug/ZoomableModifier-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ZoomableModifier -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableModifier.build/Debug/ZoomableModifier-t.build/Objects-normal/arm64/ZoomableModifier_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableModifier.build/Debug/ZoomableModifier-t.build/Objects-normal/arm64/ZoomableModifier.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableModifier.build/Debug/ZoomableModifier-t.build/Objects-normal/arm64/ZoomableModifier.swiftmodule -index-unit-output-path /ZoomableModifier.build/Debug/ZoomableModifier-t.build/Objects-normal/arm64/ZoomableModifier.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm