Build Information
Failed to build navigation-stack-backport, reference main (55acfe), with Swift 6.4 for macOS (Xcode) using Xcode 27.0 on 20 Sep 2026 06:08:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme navigation-stack-backport -destination platform=macOS,arch=arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lm/navigation-stack-backport.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lm/navigation-stack-backport
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 55acfe7 Release 1.1.0
Cloned https://github.com/lm/navigation-stack-backport.git
Revision (git rev-parse @):
55acfe7693c233ddc7f62f887f0df6ebd779ef01
SUCCESS checkout https://github.com/lm/navigation-stack-backport.git at main
========================================
Build
========================================
Selected platform: macosXcodebuild
Swift version: 6.4
Building package at path: $PWD
https://github.com/lm/navigation-stack-backport.git
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
navigation-stack-backport: /Users/admin/builder/spi-builder-workspace
resolved source packages: navigation-stack-backport
2026-09-20 02:07:32.085 xcodebuild[525:3033] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "navigation-stack-backport",
"name" : "navigation-stack-backport",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "NavigationStackBackport",
"targets" : [
"NavigationStackBackport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NavigationStackBackportTests",
"module_type" : "SwiftTarget",
"name" : "NavigationStackBackportTests",
"path" : "Tests/NavigationStackBackportTests",
"sources" : [
"NavigationPathItemTests.swift",
"NavigationPathTests.swift"
],
"target_dependencies" : [
"NavigationStackBackport"
],
"type" : "test"
},
{
"c99name" : "NavigationStackBackport",
"module_type" : "SwiftTarget",
"name" : "NavigationStackBackport",
"path" : "Sources/NavigationStackBackport",
"product_memberships" : [
"NavigationStackBackport"
],
"sources" : [
"Backport.swift",
"CodableRepresentation.swift",
"Destination.swift",
"NavigationAuthority.swift",
"NavigationLink.swift",
"NavigationPath.swift",
"NavigationPathBackport.swift",
"NavigationPathBox.swift",
"NavigationPathItem.swift",
"NavigationStack.swift",
"NavigationUpdate.swift",
"Presentation.swift",
"UIKitNavigation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
{
"workspace" : {
"name" : "navigation-stack-backport",
"schemes" : [
"navigation-stack-backport"
]
}
}
2026-09-20 02:08:13.546 xcodebuild[623:3966] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme navigation-stack-backport -destination platform=macOS,arch=arm64
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme navigation-stack-backport -destination platform=macOS,arch=arm64
Resolve Package Graph
Resolved source packages:
navigation-stack-backport: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'NavigationStackBackport-product' in project 'navigation-stack-backport'
➜ Explicit dependency on target 'NavigationStackBackport' in project 'navigation-stack-backport'
Target 'NavigationStackBackport' in project 'navigation-stack-backport' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: c44aedf9dff8bf3ca3d64ebb4e437c74
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c44aedf9dff8bf3ca3d64ebb4e437c74.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/NavigationStackBackport.DependencyStaticMetadataFileList (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/NavigationStackBackport.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/NavigationStackBackport.modulemap (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/NavigationStackBackport.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/NavigationStackBackport.DependencyMetadataFileList (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/NavigationStackBackport.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.SwiftFileList (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-OutputFileMap.json (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport_const_extract_protocols.json (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.LinkFileList (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.SwiftConstValuesFileList (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.SwiftConstValuesFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/NavigationStackBackport.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/NavigationStackBackport.modulemap (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/NavigationStackBackport.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps
SwiftDriver NavigationStackBackport normal arm64 com.apple.xcode.tools.swift.compiler (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name NavigationStackBackport -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/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/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-DHLCBWKPNUZOYTPJ1J3QVTCXK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-3GI9GOKXSW3QCTFOI1USFLDZO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-105CRCDRP90FQCQO5ZX1LHV7H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-C4V0DQ62WSTCYBYGILXXGQNO3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-2W92ZJRLNJU99RJUQGGJG3OC3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-13SNQ6N57G3DOS3KQA7V91OE7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-CJTV5E7EL3MWRA437DUFPBVN2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-BLUUWKI6AGMD7TJ4RGYS7DP6T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-KYV2HKP8IKLKMKQS9DGA2GUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-7CFWA9OSW5N24E7PG4ZOCF1VH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-7PRJIG163YE9KSKYA3BS35ZZP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-AXGUGXBFPC0I7QDLJFB0K341Y.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-94WUUGE4H5R03OWXE0QFZX1DN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-52XE6HC8DWOG6S7B5QAI046D1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-F4RNCN6UR5R5OWTLTOUM7TN3E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-22CBBOK8BNSF0UELDCAXSHGB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-10WPXBF3YFYMX5HUAW06LSABR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-8LN7S35C6I48KJOCW7VPXX04X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-4O6R03GTH5FLWSHEUBP0Z3GZ2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/libDER-5RCYOD0PCUUY2UGMBNE9LI8N9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-32PO5Q4RCB6WXH5VFO3HA3AVS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-1U6AP9A8AJ4G9WD98E9RHLGTJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-1RAAWNGKQM8YGHV0YJNNN5YDY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-A9TKR8OE9APRJ1RNS7F0OBY4Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CUPS-45MNISAOHSEBD6VQA5G0MXN9H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-AWTJ65TFR7TMST2NUE6ZCC1SL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/launch-2XAORMJNLLVS0OVKC1M0752GY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/libkern-22MDXN9G35RPO3OLKX9B2PN16.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-B89IQP2TC4CFSWOUMTUZRI1VZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-2JNOU2HNJ0Q174XCFCD0GCOUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-3KLCCI03OX6OQTLJ92KQH2KIO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-10SJ5M8R2OB4BG1TPFL9SZMKV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-NAMWF9KN29KC7Z5OS3TTTAE8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-4ZIITQ30SOGUQE8KJAB99ZV0Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-E1MSAZG4ZNL24S2WK6K6Y7GWW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-BYOEVK2GEMB4Q8WWHGZGREA00.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-EEH2XZ47XX4YM3FOOISUYVRQE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOKit-6H3X691EDBH124EYTC2PEOP5T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-ESPJ7FP0YAY1EL3VXBGY9MCZ8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-CVHS5CT20191MFYXQIEDWSRGJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ColorSync-BBCIZDDQ6O3QECFAWJQ6RU4ZJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DiskArbitration-ZNZZU7T0SYELB0DAR56WQF0R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-5TRMNDB7ZP6FFMRNSZCWEOZMD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreServices-CGCGY0FOMEQGSNMO3HQSC09XU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-88YNP2EU498GB5YXIFJ9ANNYW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-C1WSF2HWGIKVJ2XHWBKXQBSEY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-44WR0NU86C67CV5BW8W1MGKNG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-2NFSQR6R0R96WH1KKGBXW1J.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-5GDUUWT6YIA10PE5D9A8SXWZ9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-6F38G4T85MOHD9AA2EH4U2PJS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-2HJ1Z8HJBPECRD89AVJ0X7S63.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-1TUG4NQVIPJF59WSUNATZ447F.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-1GSRGGGEESVJH9OULZA91RAA3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-8XPVZMQXZVBU162UQPW77JTL1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ApplicationServices-ALXSS633FQY42UMJSLR6MNLSK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-4EPJ39F9L3QQ9486B5AMG5G6J.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-5LG8RE3Q01MBLZVRR3FFHHL5H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGL-FXV81CD8YS42YTVJKJH1VLGA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-KM8CI04R5X5OUWMGRMNZE4KP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-11TKSDKW0L2K02H4B9ZHWLM3B.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-AP21NXF3BYPWOG416U3DI6QME.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-699WGYGEEF2LGFEEGSCM9Y1UF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-AKYY8VSFWQ6KIIXG3EQJ7PW5T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-ESLJM4CVIQEQNCRTK6KPAF1I7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AppKit-C2WRQ26QXORUMMNQB0M8H4QYD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-5IEOINZEJ69OCDVRMHPS5W4XI.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ NavigationStackBackport (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:5:33: error: cannot find type 'UINavigationController' in scope
3 |
4 | class NavigationAuthority: NSObject, ObservableObject {
5 | weak var navigationController: UINavigationController? {
| `- error: cannot find type 'UINavigationController' in scope
6 | didSet { navigationController?.delegate = self }
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:52: error: cannot find type 'UINavigationController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UINavigationController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:100: error: cannot find type 'UIViewController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UIViewController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:96:32: error: cannot find type 'UINavigationControllerDelegate' in scope
94 | }
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
| `- error: cannot find type 'UINavigationControllerDelegate' in scope
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
98 | let count = navigationController.viewControllers.count
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:11:27: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
9 |
10 | @available(iOS 16.0, *)
11 | var swiftUIPath: SwiftUI.NavigationPath {
| | `- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing property
12 | get { box as! SwiftUI.NavigationPath }
13 | set { box = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift:14:19: error: 'NavigationPath' is only available in macOS 13.0 or newer
12 |
13 | @available(iOS 16.0, *)
14 | extension SwiftUI.NavigationPath: NavigationPathBox {
| | `- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing extension
15 | var backportedCodable: NavigationPath.CodableRepresentation? {
16 | codable.map(NavigationPath.CodableRepresentation.init(storage:))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:4:24: error: cannot find type 'UIViewController' in scope
2 |
3 | @MainActor struct NavigationUpdate {
4 | var viewControllers: [UIViewController] {
| `- error: cannot find type 'UIViewController' in scope
5 | didSet { changed = true }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:8:36: error: cannot find type 'UINavigationController' in scope
6 | }
7 |
8 | private let navigationController: UINavigationController
| `- error: cannot find type 'UINavigationController' in scope
9 | private var addedViewControllers: [UIViewController] = []
10 | private var changed = false
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:9:37: error: cannot find type 'UIViewController' in scope
7 |
8 | private let navigationController: UINavigationController
9 | private var addedViewControllers: [UIViewController] = []
| `- error: cannot find type 'UIViewController' in scope
10 | private var changed = false
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:12:29: error: cannot find type 'UINavigationController' in scope
10 | private var changed = false
11 |
12 | init(navigationController: UINavigationController) {
| `- error: cannot find type 'UINavigationController' in scope
13 | self.navigationController = navigationController
14 | viewControllers = navigationController.viewControllers
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:49: error: cannot find type 'UINavigationController' in scope
6 | @Environment(\.navigationAuthority) private var authority
7 |
8 | func makeUIViewController(context: Context) -> UINavigationController {
| `- error: cannot find type 'UINavigationController' in scope
9 | let navigationController = UINavigationController()
10 | navigationController.navigationBar.prefersLargeTitles = true
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:37: error: cannot find type 'Context' in scope
6 | @Environment(\.navigationAuthority) private var authority
7 |
8 | func makeUIViewController(context: Context) -> UINavigationController {
| `- error: cannot find type 'Context' in scope
9 | let navigationController = UINavigationController()
10 | navigationController.navigationBar.prefersLargeTitles = true
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:54: error: cannot find type 'UINavigationController' in scope
15 | }
16 |
17 | func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
| `- error: cannot find type 'UINavigationController' in scope
18 | if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
19 | hostingController.rootView = root
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:87: error: cannot find type 'Context' in scope
15 | }
16 |
17 | func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
| `- error: cannot find type 'Context' in scope
18 | if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
19 | hostingController.rootView = root
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:37: error: cannot find type 'UIViewControllerRepresentable' in scope
1 | import SwiftUI
2 |
3 | struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
4 | let root: Root
5 | let path: NavigationPathBackport
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:37: error: cannot find type 'UIHostingController' in scope
29 |
30 | private extension UIKitNavigation {
31 | func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
| `- error: cannot find type 'UIHostingController' in scope
32 | navigationController.view.insertSubview(rootViewController.view, at: 0)
33 | navigationController.addChild(rootViewController)
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:86: error: cannot find type 'UINavigationController' in scope
29 |
30 | private extension UIKitNavigation {
31 | func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
| `- error: cannot find type 'UINavigationController' in scope
32 | navigationController.view.insertSubview(rootViewController.view, at: 0)
33 | navigationController.addChild(rootViewController)
Failed frontend command:
SwiftCompile normal arm64 (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Backport.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/CodableRepresentation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBackport.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathItem.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift -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/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-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/.derivedData/Build/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/.derivedData/Build/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/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -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/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NavigationStackBackport -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport_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 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.abi.json
SwiftCompile normal arm64 Compiling\ NavigationStack.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:8:27: error: 'NavigationStack' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationStack<Data, Root: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
6 | public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
| `- note: add '@available' attribute to enclosing initializer
7 | if #available(iOS 16.0, *) {
8 | body = AnyView(SwiftUI.NavigationStack(root: root))
| |- error: 'NavigationStack' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
9 | } else {
10 | body = AnyView(ImplicitStateView(root: root()))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:16:27: error: 'NavigationStack' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationStack<Data, Root: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
12 | }
13 |
14 | public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
| `- note: add '@available' attribute to enclosing initializer
15 | if #available(iOS 16.0, *) {
16 | body = AnyView(SwiftUI.NavigationStack(path: path.swiftUIPath, root: root))
| |- error: 'NavigationStack' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | body = AnyView(AuthorityView(path: path.storage, root: root()))
SwiftCompile normal arm64 Compiling\ Presentation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Presentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:6:12: error: 'navigationDestination(isPresented:destination:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public extension Backport {
| `- note: add '@available' attribute to enclosing extension
4 | @ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
| `- note: add '@available' attribute to enclosing instance method
5 | if #available(iOS 16.0, *) {
6 | content.navigationDestination(isPresented: isPresented, destination: destination)
| |- error: 'navigationDestination(isPresented:destination:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
7 | } else {
8 | content.modifier(PresentationModifier(isPresented: isPresented, destination: destination()))
SwiftCompile normal arm64 Compiling\ NavigationPathItem.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathItem.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathItem.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationPathItem.swift
SwiftCompile normal arm64 Compiling\ UIKitNavigation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:49: error: cannot find type 'UINavigationController' in scope
6 | @Environment(\.navigationAuthority) private var authority
7 |
8 | func makeUIViewController(context: Context) -> UINavigationController {
| `- error: cannot find type 'UINavigationController' in scope
9 | let navigationController = UINavigationController()
10 | navigationController.navigationBar.prefersLargeTitles = true
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:37: error: cannot find type 'Context' in scope
6 | @Environment(\.navigationAuthority) private var authority
7 |
8 | func makeUIViewController(context: Context) -> UINavigationController {
| `- error: cannot find type 'Context' in scope
9 | let navigationController = UINavigationController()
10 | navigationController.navigationBar.prefersLargeTitles = true
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:54: error: cannot find type 'UINavigationController' in scope
15 | }
16 |
17 | func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
| `- error: cannot find type 'UINavigationController' in scope
18 | if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
19 | hostingController.rootView = root
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:87: error: cannot find type 'Context' in scope
15 | }
16 |
17 | func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
| `- error: cannot find type 'Context' in scope
18 | if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
19 | hostingController.rootView = root
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:37: error: cannot find type 'UIViewControllerRepresentable' in scope
1 | import SwiftUI
2 |
3 | struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
4 | let root: Root
5 | let path: NavigationPathBackport
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:37: error: cannot find type 'UIHostingController' in scope
29 |
30 | private extension UIKitNavigation {
31 | func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
| `- error: cannot find type 'UIHostingController' in scope
32 | navigationController.view.insertSubview(rootViewController.view, at: 0)
33 | navigationController.addChild(rootViewController)
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:86: error: cannot find type 'UINavigationController' in scope
29 |
30 | private extension UIKitNavigation {
31 | func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
| `- error: cannot find type 'UINavigationController' in scope
32 | navigationController.view.insertSubview(rootViewController.view, at: 0)
33 | navigationController.addChild(rootViewController)
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:9:30: error: cannot find 'UINavigationController' in scope
7 |
8 | func makeUIViewController(context: Context) -> UINavigationController {
9 | let navigationController = UINavigationController()
| `- error: cannot find 'UINavigationController' in scope
10 | navigationController.navigationBar.prefersLargeTitles = true
11 | navigationController.navigationBar.barStyle = .default
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:11:50: error: cannot infer contextual base in reference to member 'default'
9 | let navigationController = UINavigationController()
10 | navigationController.navigationBar.prefersLargeTitles = true
11 | navigationController.navigationBar.barStyle = .default
| `- error: cannot infer contextual base in reference to member 'default'
12 | navigationController.navigationBar.isTranslucent = true
13 | authority.navigationController = navigationController
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:5:33: error: cannot find type 'UINavigationController' in scope
3 |
4 | class NavigationAuthority: NSObject, ObservableObject {
5 | weak var navigationController: UINavigationController? {
| `- error: cannot find type 'UINavigationController' in scope
6 | didSet { navigationController?.delegate = self }
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:52: error: cannot find type 'UINavigationController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UINavigationController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:100: error: cannot find type 'UIViewController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UIViewController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:18:121: error: cannot find type 'UIHostingController' in scope
16 |
17 | func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
18 | if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
| `- error: cannot find type 'UIHostingController' in scope
19 | hostingController.rootView = root
20 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:21:29: error: cannot find 'UIHostingController' in scope
19 | hostingController.rootView = root
20 | } else {
21 | let rootViewController = UIHostingController(rootView: root)
| `- error: cannot find 'UIHostingController' in scope
22 | navigationController.viewControllers = [rootViewController]
23 | prelayout(rootViewController: rootViewController, navigationController: navigationController)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIKitNavigation.swift
SwiftCompile normal arm64 Compiling\ Destination.swift,\ NavigationAuthority.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Destination.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationAuthority.swift
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:6:12: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public extension Backport {
| `- note: add '@available' attribute to enclosing extension
4 | @ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
| `- note: add '@available' attribute to enclosing instance method
5 | if #available(iOS 16.0, *) {
6 | content.navigationDestination(for: D.self, destination: destination)
| |- error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
7 | } else {
8 | content.modifier(DestinationModifier(destination: destination))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:5:33: error: cannot find type 'UINavigationController' in scope
3 |
4 | class NavigationAuthority: NSObject, ObservableObject {
5 | weak var navigationController: UINavigationController? {
| `- error: cannot find type 'UINavigationController' in scope
6 | didSet { navigationController?.delegate = self }
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:52: error: cannot find type 'UINavigationController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UINavigationController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:100: error: cannot find type 'UIViewController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UIViewController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:96:32: error: cannot find type 'UINavigationControllerDelegate' in scope
94 | }
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
| `- error: cannot find type 'UINavigationControllerDelegate' in scope
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
98 | let count = navigationController.viewControllers.count
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:55:53: error: cannot find type 'UIHostingController' in scope
53 |
54 | if presentation.isPresented && wasPresented && navigationController.viewControllers.indices.contains(index) {
55 | (navigationController.viewControllers[index] as? UIHostingController<AnyView>)?.rootView = presentation.view
| `- error: cannot find type 'UIHostingController' in scope
56 | return
57 | }
SwiftCompile normal arm64 Compiling\ NavigationLink.swift,\ NavigationPath.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:8:27: error: 'init(value:label:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
6 | public init<P: Hashable>(value: P?, @ViewBuilder label: () -> Label) {
| `- note: add '@available' attribute to enclosing initializer
7 | if #available(iOS 16.0, *) {
8 | body = AnyView(SwiftUI.NavigationLink(value: value, label: label))
| |- error: 'init(value:label:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
9 | } else {
10 | body = AnyView(Backport(label: label(), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:16:27: error: 'init(value:label:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
12 | }
13 |
14 | public init<P: Hashable>(value: P?, @ViewBuilder label: () -> Label) where P: Codable {
| `- note: add '@available' attribute to enclosing initializer
15 | if #available(iOS 16.0, *) {
16 | body = AnyView(SwiftUI.NavigationLink(value: value, label: label))
| |- error: 'init(value:label:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | body = AnyView(Backport(label: label(), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:24:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
20 | }
21 |
22 | public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text {
| `- note: add '@available' attribute to enclosing initializer
23 | if #available(iOS 16.0, *) {
24 | body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
| |- error: 'init(_:value:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
25 | } else {
26 | body = AnyView(Backport(label: Text(titleKey), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
28 | }
29 |
30 | public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P: Codable {
| `- note: add '@available' attribute to enclosing initializer
31 | if #available(iOS 16.0, *) {
32 | body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
| |- error: 'init(_:value:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
33 | } else {
34 | body = AnyView(Backport(label: Text(titleKey), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
36 | }
37 |
38 | public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol {
| `- note: add '@available' attribute to enclosing initializer
39 | if #available(iOS 16.0, *) {
40 | body = AnyView(SwiftUI.NavigationLink(title, value: value))
| |- error: 'init(_:value:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
41 | } else {
42 | body = AnyView(Backport(label: Text(title), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
44 | }
45 |
46 | public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol, P: Codable {
| `- note: add '@available' attribute to enclosing initializer
47 | if #available(iOS 16.0, *) {
48 | body = AnyView(SwiftUI.NavigationLink(title, value: value))
| |- error: 'init(_:value:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
49 | } else {
50 | body = AnyView(Backport(label: Text(title), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:11:27: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
9 |
10 | @available(iOS 16.0, *)
11 | var swiftUIPath: SwiftUI.NavigationPath {
| | `- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing property
12 | get { box as! SwiftUI.NavigationPath }
13 | set { box = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:12:25: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
9 |
10 | @available(iOS 16.0, *)
11 | var swiftUIPath: SwiftUI.NavigationPath {
| `- note: add '@available' attribute to enclosing property
12 | get { box as! SwiftUI.NavigationPath }
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
13 | set { box = newValue }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:23:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
19 | }
20 |
21 | public init() {
| `- note: add '@available' attribute to enclosing initializer
22 | if #available(iOS 16.0, *) {
23 | box = SwiftUI.NavigationPath()
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
24 | } else {
25 | box = NavigationPathBackport(items: [])
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:31:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
27 | }
28 |
29 | public init<S: Sequence>(_ elements: S) where S.Element: Hashable {
| `- note: add '@available' attribute to enclosing initializer
30 | if #available(iOS 16.0, *) {
31 | box = SwiftUI.NavigationPath(elements)
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
32 | } else {
33 | box = NavigationPathBackport(items: elements.map { .init(value: $0) })
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:39:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
35 | }
36 |
37 | public init<S: Sequence>(_ elements: S) where S.Element: Hashable, S.Element: Codable {
| `- note: add '@available' attribute to enclosing initializer
38 | if #available(iOS 16.0, *) {
39 | box = SwiftUI.NavigationPath(elements)
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
40 | } else {
41 | box = NavigationPathBackport(items: elements.map { .init(value: $0) })
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:47:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
43 | }
44 |
45 | public init(_ codable: CodableRepresentation) {
| `- note: add '@available' attribute to enclosing initializer
46 | if #available(iOS 16.0, *) {
47 | box = SwiftUI.NavigationPath(codable.storage as! SwiftUI.NavigationPath.CodableRepresentation)
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
48 | } else {
49 | box = NavigationPathBackport(items: codable.storage as! [NavigationPathItem])
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:47:61: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
43 | }
44 |
45 | public init(_ codable: CodableRepresentation) {
| `- note: add '@available' attribute to enclosing initializer
46 | if #available(iOS 16.0, *) {
47 | box = SwiftUI.NavigationPath(codable.storage as! SwiftUI.NavigationPath.CodableRepresentation)
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
48 | } else {
49 | box = NavigationPathBackport(items: codable.storage as! [NavigationPathItem])
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:71:46: warning: conformance of 'NavigationPath' to 'Equatable' is only available in macOS 13.0 or newer; this is an error in the Swift 6 language mode
66 | }
67 |
68 | extension NavigationPath: Equatable {
| `- note: add '@available' attribute to enclosing extension
69 | public static func == (lhs: Self, rhs: Self) -> Bool {
| `- note: add '@available' attribute to enclosing operator function
70 | if #available(iOS 16.0, *) {
71 | return lhs.box as? SwiftUI.NavigationPath == rhs.box as? SwiftUI.NavigationPath
| |- warning: conformance of 'NavigationPath' to 'Equatable' is only available in macOS 13.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | } else {
73 | return lhs.box as? NavigationPathBackport == rhs.box as? NavigationPathBackport
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:71:31: error: 'NavigationPath' is only available in macOS 13.0 or newer
66 | }
67 |
68 | extension NavigationPath: Equatable {
| `- note: add '@available' attribute to enclosing extension
69 | public static func == (lhs: Self, rhs: Self) -> Bool {
| `- note: add '@available' attribute to enclosing operator function
70 | if #available(iOS 16.0, *) {
71 | return lhs.box as? SwiftUI.NavigationPath == rhs.box as? SwiftUI.NavigationPath
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
72 | } else {
73 | return lhs.box as? NavigationPathBackport == rhs.box as? NavigationPathBackport
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationLink.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationPath.swift
SwiftCompile normal arm64 Compiling\ NavigationPathBackport.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBackport.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBackport.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationPathBackport.swift
SwiftCompile normal arm64 Compiling\ Backport.swift,\ CodableRepresentation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Backport.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/CodableRepresentation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/CodableRepresentation.swift:12:26: error: 'NavigationPath' is only available in macOS 13.0 or newer
7 | }
8 |
9 | extension NavigationPath.CodableRepresentation: Codable {
| `- note: add '@available' attribute to enclosing extension
10 | public init(from decoder: Decoder) throws {
| `- note: add '@available' attribute to enclosing initializer
11 | if #available(iOS 16.0, *) {
12 | storage = try SwiftUI.NavigationPath.CodableRepresentation(from: decoder)
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
13 | return
14 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Backport.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Backport.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/CodableRepresentation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CodableRepresentation.swift
SwiftCompile normal arm64 Compiling\ NavigationPathBox.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationPathBox.swift
SwiftCompile normal arm64 Compiling\ NavigationUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationUpdate.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-20 02:08:15.139 xcodebuild[647:4194] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:364a7c8346407cea49c90bb990f6344869230462, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:364a7c8346407cea49c90bb990f6344869230462, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:364a7c8346407cea49c90bb990f6344869230462, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:364a7c8346407cea49c90bb990f6344869230462, name:My Mac }
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftEmitModule normal arm64 Emitting\ module\ for\ NavigationStackBackport (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
Building workspace navigation-stack-backport with scheme navigation-stack-backport
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
navigation-stack-backport: /Users/admin/builder/spi-builder-workspace
resolved source packages: navigation-stack-backport
2026-09-20 02:08:23.949 xcodebuild[740:4583] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "navigation-stack-backport",
"name" : "navigation-stack-backport",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "NavigationStackBackport",
"targets" : [
"NavigationStackBackport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NavigationStackBackportTests",
"module_type" : "SwiftTarget",
"name" : "NavigationStackBackportTests",
"path" : "Tests/NavigationStackBackportTests",
"sources" : [
"NavigationPathItemTests.swift",
"NavigationPathTests.swift"
],
"target_dependencies" : [
"NavigationStackBackport"
],
"type" : "test"
},
{
"c99name" : "NavigationStackBackport",
"module_type" : "SwiftTarget",
"name" : "NavigationStackBackport",
"path" : "Sources/NavigationStackBackport",
"product_memberships" : [
"NavigationStackBackport"
],
"sources" : [
"Backport.swift",
"CodableRepresentation.swift",
"Destination.swift",
"NavigationAuthority.swift",
"NavigationLink.swift",
"NavigationPath.swift",
"NavigationPathBackport.swift",
"NavigationPathBox.swift",
"NavigationPathItem.swift",
"NavigationStack.swift",
"NavigationUpdate.swift",
"Presentation.swift",
"UIKitNavigation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
{
"workspace" : {
"name" : "navigation-stack-backport",
"schemes" : [
"navigation-stack-backport"
]
}
}
2026-09-20 02:08:25.196 xcodebuild[748:4653] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme navigation-stack-backport -destination platform=macOS,arch=arm64
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme navigation-stack-backport -destination platform=macOS,arch=arm64
Resolve Package Graph
Resolved source packages:
navigation-stack-backport: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'NavigationStackBackport-product' in project 'navigation-stack-backport'
➜ Explicit dependency on target 'NavigationStackBackport' in project 'navigation-stack-backport'
Target 'NavigationStackBackport' in project 'navigation-stack-backport' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
SwiftDriver NavigationStackBackport normal arm64 com.apple.xcode.tools.swift.compiler (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name NavigationStackBackport -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/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/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ NavigationPathBackport.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBackport.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBackport.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationPathBackport.swift
SwiftCompile normal arm64 Compiling\ Backport.swift,\ CodableRepresentation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Backport.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/CodableRepresentation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/CodableRepresentation.swift:12:26: error: 'NavigationPath' is only available in macOS 13.0 or newer
7 | }
8 |
9 | extension NavigationPath.CodableRepresentation: Codable {
| `- note: add '@available' attribute to enclosing extension
10 | public init(from decoder: Decoder) throws {
| `- note: add '@available' attribute to enclosing initializer
11 | if #available(iOS 16.0, *) {
12 | storage = try SwiftUI.NavigationPath.CodableRepresentation(from: decoder)
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
13 | return
14 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Backport.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Backport.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/CodableRepresentation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CodableRepresentation.swift
SwiftCompile normal arm64 Compiling\ Destination.swift,\ NavigationAuthority.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift:6:12: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public extension Backport {
| `- note: add '@available' attribute to enclosing extension
4 | @ViewBuilder func navigationDestination<D: Hashable, C: View>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View {
| `- note: add '@available' attribute to enclosing instance method
5 | if #available(iOS 16.0, *) {
6 | content.navigationDestination(for: D.self, destination: destination)
| |- error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
7 | } else {
8 | content.modifier(DestinationModifier(destination: destination))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:5:33: error: cannot find type 'UINavigationController' in scope
3 |
4 | class NavigationAuthority: NSObject, ObservableObject {
5 | weak var navigationController: UINavigationController? {
| `- error: cannot find type 'UINavigationController' in scope
6 | didSet { navigationController?.delegate = self }
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:52: error: cannot find type 'UINavigationController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UINavigationController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:100: error: cannot find type 'UIViewController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UIViewController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:96:32: error: cannot find type 'UINavigationControllerDelegate' in scope
94 | }
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
| `- error: cannot find type 'UINavigationControllerDelegate' in scope
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
98 | let count = navigationController.viewControllers.count
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:55:53: error: cannot find type 'UIHostingController' in scope
53 |
54 | if presentation.isPresented && wasPresented && navigationController.viewControllers.indices.contains(index) {
55 | (navigationController.viewControllers[index] as? UIHostingController<AnyView>)?.rootView = presentation.view
| `- error: cannot find type 'UIHostingController' in scope
56 | return
57 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Destination.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationAuthority.swift
SwiftCompile normal arm64 Compiling\ NavigationPathItem.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathItem.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathItem.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationPathItem.swift
SwiftCompile normal arm64 Compiling\ NavigationStack.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:8:27: error: 'NavigationStack' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationStack<Data, Root: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
6 | public init(@ViewBuilder root: () -> Root) where Data == NavigationPath {
| `- note: add '@available' attribute to enclosing initializer
7 | if #available(iOS 16.0, *) {
8 | body = AnyView(SwiftUI.NavigationStack(root: root))
| |- error: 'NavigationStack' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
9 | } else {
10 | body = AnyView(ImplicitStateView(root: root()))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:16:27: error: 'NavigationStack' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationStack<Data, Root: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
12 | }
13 |
14 | public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath {
| `- note: add '@available' attribute to enclosing initializer
15 | if #available(iOS 16.0, *) {
16 | body = AnyView(SwiftUI.NavigationStack(path: path.swiftUIPath, root: root))
| |- error: 'NavigationStack' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | body = AnyView(AuthorityView(path: path.storage, root: root()))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:24:27: error: 'NavigationStack' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationStack<Data, Root: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
20 | }
21 |
22 | public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data: MutableCollection, Data: RandomAccessCollection, Data: RangeReplaceableCollection, Data.Element: Hashable {
| `- note: add '@available' attribute to enclosing initializer
23 | if #available(iOS 16.0, *) {
24 | body = AnyView(SwiftUI.NavigationStack(path: path, root: root))
| |- error: 'NavigationStack' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
25 | } else {
26 | // TODO: implement special homogeneous NavigationPathBox?
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift:54:6: error: value of type 'UIKitNavigation<some View>' has no member 'ignoresSafeArea'
52 | var body: some View {
53 | UIKitNavigation(root: root.environment(\.navigationContextId, 0), path: path)
54 | .ignoresSafeArea()
| `- error: value of type 'UIKitNavigation<some View>' has no member 'ignoresSafeArea'
55 | .environment(\.navigationAuthority, authority)
56 | .onPreferenceChange(DestinationIDsKey.self) { ids in
SwiftCompile normal arm64 Compiling\ Presentation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift:6:12: error: 'navigationDestination(isPresented:destination:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public extension Backport {
| `- note: add '@available' attribute to enclosing extension
4 | @ViewBuilder func navigationDestination<C: View>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> C) -> some View {
| `- note: add '@available' attribute to enclosing instance method
5 | if #available(iOS 16.0, *) {
6 | content.navigationDestination(isPresented: isPresented, destination: destination)
| |- error: 'navigationDestination(isPresented:destination:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
7 | } else {
8 | content.modifier(PresentationModifier(isPresented: isPresented, destination: destination()))
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Presentation.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ NavigationStackBackport (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:5:33: error: cannot find type 'UINavigationController' in scope
3 |
4 | class NavigationAuthority: NSObject, ObservableObject {
5 | weak var navigationController: UINavigationController? {
| `- error: cannot find type 'UINavigationController' in scope
6 | didSet { navigationController?.delegate = self }
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:52: error: cannot find type 'UINavigationController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UINavigationController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:100: error: cannot find type 'UIViewController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UIViewController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:96:32: error: cannot find type 'UINavigationControllerDelegate' in scope
94 | }
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
| `- error: cannot find type 'UINavigationControllerDelegate' in scope
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
98 | let count = navigationController.viewControllers.count
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:11:27: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
9 |
10 | @available(iOS 16.0, *)
11 | var swiftUIPath: SwiftUI.NavigationPath {
| | `- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing property
12 | get { box as! SwiftUI.NavigationPath }
13 | set { box = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift:14:19: error: 'NavigationPath' is only available in macOS 13.0 or newer
12 |
13 | @available(iOS 16.0, *)
14 | extension SwiftUI.NavigationPath: NavigationPathBox {
| | `- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing extension
15 | var backportedCodable: NavigationPath.CodableRepresentation? {
16 | codable.map(NavigationPath.CodableRepresentation.init(storage:))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:4:24: error: cannot find type 'UIViewController' in scope
2 |
3 | @MainActor struct NavigationUpdate {
4 | var viewControllers: [UIViewController] {
| `- error: cannot find type 'UIViewController' in scope
5 | didSet { changed = true }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:8:36: error: cannot find type 'UINavigationController' in scope
6 | }
7 |
8 | private let navigationController: UINavigationController
| `- error: cannot find type 'UINavigationController' in scope
9 | private var addedViewControllers: [UIViewController] = []
10 | private var changed = false
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:9:37: error: cannot find type 'UIViewController' in scope
7 |
8 | private let navigationController: UINavigationController
9 | private var addedViewControllers: [UIViewController] = []
| `- error: cannot find type 'UIViewController' in scope
10 | private var changed = false
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:12:29: error: cannot find type 'UINavigationController' in scope
10 | private var changed = false
11 |
12 | init(navigationController: UINavigationController) {
| `- error: cannot find type 'UINavigationController' in scope
13 | self.navigationController = navigationController
14 | viewControllers = navigationController.viewControllers
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:49: error: cannot find type 'UINavigationController' in scope
6 | @Environment(\.navigationAuthority) private var authority
7 |
8 | func makeUIViewController(context: Context) -> UINavigationController {
| `- error: cannot find type 'UINavigationController' in scope
9 | let navigationController = UINavigationController()
10 | navigationController.navigationBar.prefersLargeTitles = true
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:37: error: cannot find type 'Context' in scope
6 | @Environment(\.navigationAuthority) private var authority
7 |
8 | func makeUIViewController(context: Context) -> UINavigationController {
| `- error: cannot find type 'Context' in scope
9 | let navigationController = UINavigationController()
10 | navigationController.navigationBar.prefersLargeTitles = true
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:54: error: cannot find type 'UINavigationController' in scope
15 | }
16 |
17 | func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
| `- error: cannot find type 'UINavigationController' in scope
18 | if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
19 | hostingController.rootView = root
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:87: error: cannot find type 'Context' in scope
15 | }
16 |
17 | func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
| `- error: cannot find type 'Context' in scope
18 | if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
19 | hostingController.rootView = root
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:37: error: cannot find type 'UIViewControllerRepresentable' in scope
1 | import SwiftUI
2 |
3 | struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
4 | let root: Root
5 | let path: NavigationPathBackport
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:37: error: cannot find type 'UIHostingController' in scope
29 |
30 | private extension UIKitNavigation {
31 | func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
| `- error: cannot find type 'UIHostingController' in scope
32 | navigationController.view.insertSubview(rootViewController.view, at: 0)
33 | navigationController.addChild(rootViewController)
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:86: error: cannot find type 'UINavigationController' in scope
29 |
30 | private extension UIKitNavigation {
31 | func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
| `- error: cannot find type 'UINavigationController' in scope
32 | navigationController.view.insertSubview(rootViewController.view, at: 0)
33 | navigationController.addChild(rootViewController)
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Backport.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/CodableRepresentation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBackport.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathItem.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift -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/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-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/.derivedData/Build/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/.derivedData/Build/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/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -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/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NavigationStackBackport -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport_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 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.abi.json
SwiftCompile normal arm64 (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UIKitNavigation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:49: error: cannot find type 'UINavigationController' in scope
6 | @Environment(\.navigationAuthority) private var authority
7 |
8 | func makeUIViewController(context: Context) -> UINavigationController {
| `- error: cannot find type 'UINavigationController' in scope
9 | let navigationController = UINavigationController()
10 | navigationController.navigationBar.prefersLargeTitles = true
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:37: error: cannot find type 'Context' in scope
6 | @Environment(\.navigationAuthority) private var authority
7 |
8 | func makeUIViewController(context: Context) -> UINavigationController {
| `- error: cannot find type 'Context' in scope
9 | let navigationController = UINavigationController()
10 | navigationController.navigationBar.prefersLargeTitles = true
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:54: error: cannot find type 'UINavigationController' in scope
15 | }
16 |
17 | func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
| `- error: cannot find type 'UINavigationController' in scope
18 | if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
19 | hostingController.rootView = root
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:87: error: cannot find type 'Context' in scope
15 | }
16 |
17 | func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
| `- error: cannot find type 'Context' in scope
18 | if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
19 | hostingController.rootView = root
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:37: error: cannot find type 'UIViewControllerRepresentable' in scope
1 | import SwiftUI
2 |
3 | struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
4 | let root: Root
5 | let path: NavigationPathBackport
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:37: error: cannot find type 'UIHostingController' in scope
29 |
30 | private extension UIKitNavigation {
31 | func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
| `- error: cannot find type 'UIHostingController' in scope
32 | navigationController.view.insertSubview(rootViewController.view, at: 0)
33 | navigationController.addChild(rootViewController)
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:86: error: cannot find type 'UINavigationController' in scope
29 |
30 | private extension UIKitNavigation {
31 | func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
| `- error: cannot find type 'UINavigationController' in scope
32 | navigationController.view.insertSubview(rootViewController.view, at: 0)
33 | navigationController.addChild(rootViewController)
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:9:30: error: cannot find 'UINavigationController' in scope
7 |
8 | func makeUIViewController(context: Context) -> UINavigationController {
9 | let navigationController = UINavigationController()
| `- error: cannot find 'UINavigationController' in scope
10 | navigationController.navigationBar.prefersLargeTitles = true
11 | navigationController.navigationBar.barStyle = .default
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:11:50: error: cannot infer contextual base in reference to member 'default'
9 | let navigationController = UINavigationController()
10 | navigationController.navigationBar.prefersLargeTitles = true
11 | navigationController.navigationBar.barStyle = .default
| `- error: cannot infer contextual base in reference to member 'default'
12 | navigationController.navigationBar.isTranslucent = true
13 | authority.navigationController = navigationController
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:5:33: error: cannot find type 'UINavigationController' in scope
3 |
4 | class NavigationAuthority: NSObject, ObservableObject {
5 | weak var navigationController: UINavigationController? {
| `- error: cannot find type 'UINavigationController' in scope
6 | didSet { navigationController?.delegate = self }
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:52: error: cannot find type 'UINavigationController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UINavigationController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:100: error: cannot find type 'UIViewController' in scope
95 |
96 | extension NavigationAuthority: UINavigationControllerDelegate {
97 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
| `- error: cannot find type 'UIViewController' in scope
98 | let count = navigationController.viewControllers.count
99 | defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:18:121: error: cannot find type 'UIHostingController' in scope
16 |
17 | func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
18 | if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
| `- error: cannot find type 'UIHostingController' in scope
19 | hostingController.rootView = root
20 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:21:29: error: cannot find 'UIHostingController' in scope
19 | hostingController.rootView = root
20 | } else {
21 | let rootViewController = UIHostingController(rootView: root)
| `- error: cannot find 'UIHostingController' in scope
22 | navigationController.viewControllers = [rootViewController]
23 | prelayout(rootViewController: rootViewController, navigationController: navigationController)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIKitNavigation.swift
SwiftCompile normal arm64 Compiling\ NavigationUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:4:24: error: cannot find type 'UIViewController' in scope
2 |
3 | @MainActor struct NavigationUpdate {
4 | var viewControllers: [UIViewController] {
| `- error: cannot find type 'UIViewController' in scope
5 | didSet { changed = true }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:8:36: error: cannot find type 'UINavigationController' in scope
6 | }
7 |
8 | private let navigationController: UINavigationController
| `- error: cannot find type 'UINavigationController' in scope
9 | private var addedViewControllers: [UIViewController] = []
10 | private var changed = false
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:9:37: error: cannot find type 'UIViewController' in scope
7 |
8 | private let navigationController: UINavigationController
9 | private var addedViewControllers: [UIViewController] = []
| `- error: cannot find type 'UIViewController' in scope
10 | private var changed = false
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:12:29: error: cannot find type 'UINavigationController' in scope
10 | private var changed = false
11 |
12 | init(navigationController: UINavigationController) {
| `- error: cannot find type 'UINavigationController' in scope
13 | self.navigationController = navigationController
14 | viewControllers = navigationController.viewControllers
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:21:53: error: cannot find type 'UIHostingController' in scope
19 |
20 | if navigationController.viewControllers.indices.contains(index) {
21 | (navigationController.viewControllers[index] as? UIHostingController<AnyView>)?.rootView = view
| `- error: cannot find type 'UIHostingController' in scope
22 | return
23 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationUpdate.swift
SwiftCompile normal arm64 Compiling\ NavigationLink.swift,\ NavigationPath.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:8:27: error: 'init(value:label:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
6 | public init<P: Hashable>(value: P?, @ViewBuilder label: () -> Label) {
| `- note: add '@available' attribute to enclosing initializer
7 | if #available(iOS 16.0, *) {
8 | body = AnyView(SwiftUI.NavigationLink(value: value, label: label))
| |- error: 'init(value:label:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
9 | } else {
10 | body = AnyView(Backport(label: label(), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:16:27: error: 'init(value:label:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
12 | }
13 |
14 | public init<P: Hashable>(value: P?, @ViewBuilder label: () -> Label) where P: Codable {
| `- note: add '@available' attribute to enclosing initializer
15 | if #available(iOS 16.0, *) {
16 | body = AnyView(SwiftUI.NavigationLink(value: value, label: label))
| |- error: 'init(value:label:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | body = AnyView(Backport(label: label(), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:24:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
20 | }
21 |
22 | public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text {
| `- note: add '@available' attribute to enclosing initializer
23 | if #available(iOS 16.0, *) {
24 | body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
| |- error: 'init(_:value:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
25 | } else {
26 | body = AnyView(Backport(label: Text(titleKey), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:32:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
28 | }
29 |
30 | public init<P: Hashable>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P: Codable {
| `- note: add '@available' attribute to enclosing initializer
31 | if #available(iOS 16.0, *) {
32 | body = AnyView(SwiftUI.NavigationLink(titleKey, value: value))
| |- error: 'init(_:value:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
33 | } else {
34 | body = AnyView(Backport(label: Text(titleKey), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:40:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
36 | }
37 |
38 | public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol {
| `- note: add '@available' attribute to enclosing initializer
39 | if #available(iOS 16.0, *) {
40 | body = AnyView(SwiftUI.NavigationLink(title, value: value))
| |- error: 'init(_:value:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
41 | } else {
42 | body = AnyView(Backport(label: Text(title), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift:48:27: error: 'init(_:value:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationLink<Label: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | public let body: AnyView
5 |
:
44 | }
45 |
46 | public init<P: Hashable, S>(_ title: S, value: P?) where Label == Text, S: StringProtocol, P: Codable {
| `- note: add '@available' attribute to enclosing initializer
47 | if #available(iOS 16.0, *) {
48 | body = AnyView(SwiftUI.NavigationLink(title, value: value))
| |- error: 'init(_:value:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
49 | } else {
50 | body = AnyView(Backport(label: Text(title), item: value.map { .init(value: $0) }))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:11:27: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
9 |
10 | @available(iOS 16.0, *)
11 | var swiftUIPath: SwiftUI.NavigationPath {
| | `- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing property
12 | get { box as! SwiftUI.NavigationPath }
13 | set { box = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:12:25: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
9 |
10 | @available(iOS 16.0, *)
11 | var swiftUIPath: SwiftUI.NavigationPath {
| `- note: add '@available' attribute to enclosing property
12 | get { box as! SwiftUI.NavigationPath }
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
13 | set { box = newValue }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:23:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
19 | }
20 |
21 | public init() {
| `- note: add '@available' attribute to enclosing initializer
22 | if #available(iOS 16.0, *) {
23 | box = SwiftUI.NavigationPath()
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
24 | } else {
25 | box = NavigationPathBackport(items: [])
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:31:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
27 | }
28 |
29 | public init<S: Sequence>(_ elements: S) where S.Element: Hashable {
| `- note: add '@available' attribute to enclosing initializer
30 | if #available(iOS 16.0, *) {
31 | box = SwiftUI.NavigationPath(elements)
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
32 | } else {
33 | box = NavigationPathBackport(items: elements.map { .init(value: $0) })
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:39:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
35 | }
36 |
37 | public init<S: Sequence>(_ elements: S) where S.Element: Hashable, S.Element: Codable {
| `- note: add '@available' attribute to enclosing initializer
38 | if #available(iOS 16.0, *) {
39 | box = SwiftUI.NavigationPath(elements)
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
40 | } else {
41 | box = NavigationPathBackport(items: elements.map { .init(value: $0) })
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:47:18: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
43 | }
44 |
45 | public init(_ codable: CodableRepresentation) {
| `- note: add '@available' attribute to enclosing initializer
46 | if #available(iOS 16.0, *) {
47 | box = SwiftUI.NavigationPath(codable.storage as! SwiftUI.NavigationPath.CodableRepresentation)
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
48 | } else {
49 | box = NavigationPathBackport(items: codable.storage as! [NavigationPathItem])
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:47:61: error: 'NavigationPath' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | public struct NavigationPath {
| `- note: add '@available' attribute to enclosing struct
4 | public var count: Int { box.count }
5 | public var isEmpty: Bool { box.isEmpty }
:
43 | }
44 |
45 | public init(_ codable: CodableRepresentation) {
| `- note: add '@available' attribute to enclosing initializer
46 | if #available(iOS 16.0, *) {
47 | box = SwiftUI.NavigationPath(codable.storage as! SwiftUI.NavigationPath.CodableRepresentation)
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
48 | } else {
49 | box = NavigationPathBackport(items: codable.storage as! [NavigationPathItem])
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:71:46: warning: conformance of 'NavigationPath' to 'Equatable' is only available in macOS 13.0 or newer; this is an error in the Swift 6 language mode
66 | }
67 |
68 | extension NavigationPath: Equatable {
| `- note: add '@available' attribute to enclosing extension
69 | public static func == (lhs: Self, rhs: Self) -> Bool {
| `- note: add '@available' attribute to enclosing operator function
70 | if #available(iOS 16.0, *) {
71 | return lhs.box as? SwiftUI.NavigationPath == rhs.box as? SwiftUI.NavigationPath
| |- warning: conformance of 'NavigationPath' to 'Equatable' is only available in macOS 13.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | } else {
73 | return lhs.box as? NavigationPathBackport == rhs.box as? NavigationPathBackport
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:71:31: error: 'NavigationPath' is only available in macOS 13.0 or newer
66 | }
67 |
68 | extension NavigationPath: Equatable {
| `- note: add '@available' attribute to enclosing extension
69 | public static func == (lhs: Self, rhs: Self) -> Bool {
| `- note: add '@available' attribute to enclosing operator function
70 | if #available(iOS 16.0, *) {
71 | return lhs.box as? SwiftUI.NavigationPath == rhs.box as? SwiftUI.NavigationPath
| |- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
72 | } else {
73 | return lhs.box as? NavigationPathBackport == rhs.box as? NavigationPathBackport
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationLink.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationPath.swift
SwiftCompile normal arm64 Compiling\ NavigationPathBox.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationPathBox.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-20 02:08:26.146 xcodebuild[749:4679] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:364a7c8346407cea49c90bb990f6344869230462, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:364a7c8346407cea49c90bb990f6344869230462, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:364a7c8346407cea49c90bb990f6344869230462, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:364a7c8346407cea49c90bb990f6344869230462, name:My Mac }
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ NavigationStackBackport (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
SwiftCompile normal arm64 (in target 'NavigationStackBackport' from project 'navigation-stack-backport')
Building workspace navigation-stack-backport with scheme navigation-stack-backport
(3 failures)
BUILD FAILURE 6.4 macosXcodebuild