Build Information
Failed to build FlowRouter, reference main (58e3de), with Swift 6.4 for visionOS using Xcode 27.0 on 23 Sep 2026 17:14:02 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 FlowRouter -destination generic/platform=xrOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xiaoxiaowesley/FlowRouter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xiaoxiaowesley/FlowRouter
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 58e3de0 Add GitHub Actions workflow for Swift project
Cloned https://github.com/xiaoxiaowesley/FlowRouter.git
Revision (git rev-parse @):
58e3de0e690af98584658d1a53d5d2f54d63829e
SUCCESS checkout https://github.com/xiaoxiaowesley/FlowRouter.git at main
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/xiaoxiaowesley/FlowRouter.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:
FlowRouter: /Users/admin/builder/spi-builder-workspace
resolved source packages: FlowRouter
2026-09-23 13:13:18.168 xcodebuild[529:3022] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "FlowRouter",
"name" : "FlowRouter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "FlowRouter",
"targets" : [
"FlowRouter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FlowRouterTests",
"module_type" : "SwiftTarget",
"name" : "FlowRouterTests",
"path" : "Tests/FlowRouterTests",
"sources" : [
"FlowRouterTests.swift",
"RouterViewControllerTests.swift"
],
"target_dependencies" : [
"FlowRouter"
],
"type" : "test"
},
{
"c99name" : "FlowRouter",
"module_type" : "SwiftTarget",
"name" : "FlowRouter",
"path" : "Sources/FlowRouter",
"product_memberships" : [
"FlowRouter"
],
"sources" : [
"Extension/StringExtension.swift",
"FlowRouter.swift",
"Interceptor/CloseInterceptor.swift",
"Interceptor/OpenInterceptor.swift",
"Log/Log.swift",
"Navibar/NaviBarView.swift",
"NavigationType.swift",
"PageRecord.swift",
"RouteCloseData.swift",
"RouteMapManager.swift",
"RouteOption.swift",
"RouterModule.swift",
"RouterProtocol.swift",
"RouterViewController.swift",
"UI/FadeAndSlideTransitioning.swift",
"UI/FadeTransitioning.swift",
"UI/UI.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
{
"workspace" : {
"name" : "FlowRouter",
"schemes" : [
"FlowRouter"
]
}
}
2026-09-23 13:13:50.168 xcodebuild[626:3823] [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 FlowRouter -destination generic/platform=xrOS
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 FlowRouter -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
FlowRouter: /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 'FlowRouter-product' in project 'FlowRouter'
➜ Explicit dependency on target 'FlowRouter' in project 'FlowRouter'
Target 'FlowRouter' in project 'FlowRouter' (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/XROS.platform/Developer/SDKs/XROS27.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: c9e32fbe57dd2a1ba8f339c27ce6df2e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c9e32fbe57dd2a1ba8f339c27ce6df2e.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/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/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/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/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.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/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
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/Products/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
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-xros
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-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/FlowRouter.DependencyMetadataFileList (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/FlowRouter.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/FlowRouter.modulemap (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/FlowRouter.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/FlowRouter.DependencyStaticMetadataFileList (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/FlowRouter.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.SwiftFileList (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.LinkFileList (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.SwiftConstValuesFileList (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-OutputFileMap.json (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter_const_extract_protocols.json (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter_const_extract_protocols.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/FlowRouter.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/FlowRouter.modulemap (in target 'FlowRouter' from project 'FlowRouter')
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/FlowRouter.build/Debug-xros/FlowRouter-t.build/FlowRouter.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver FlowRouter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'FlowRouter' from project 'FlowRouter')
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 FlowRouter -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.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/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.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 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-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/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-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/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-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-98Y8DWD0HPCMRMDFKAEZCA81O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-6BH9T8OE123ARKKFOJFR111NS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-9H7TQT237JM0VTD7TXCR6CNM9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ShaderGraph-60HTPBNDVX0CX5JIAYFVTA9L4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-9Q1PN7OTQZN7B0Z9D7V7Q8UB1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-1Q6BTYNEVHC9M74WL5O5GJ1ZM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-2HAZ94YF1BA79JLFTAIV7APMW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-62NPPE4D8O3BNLU35D74TGLVQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-194HZPFNNCEHRVXIO6O8L9S0O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-2IE0R9M96I5XG0WY72N2UIQ8V.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-1J8SO31WACP82RKV0LOTRKG39.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-AVZIQZ8HOAUXTT5CXVE5TNG7E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-E0NXA4K8N3W3XTJG0EDH15WR2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-599EXAY0E7DPK78D1JASUXYCQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ExtensionFoundation-BU61P2CEAMM06XGJDUB248XC8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-6A504NZTD9420A66PPDYUHISN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-F1DLW8WMMSOC414RWOQWK8OS8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-A3BBS6FJZK4C974FRQ5ZCTND7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-BGPLTZ4H9HACR813QKF6VS72D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-C1P0SZMW1CBYZ1956G2WPAGVQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-3111M8ALPD4YFW0NUUUBCM0JD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-158FFQF46AB7DZCSEC3RCRTFC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-9DU9NJC5HKVLIXJ97CZROETBU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-ET1KOXI5QIB2QZ81K0LJ5SCNP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-7J2M7D2SOHYQ7IO8MYH2RXTKH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-6F2CAO15JWU9TP0S5ZC6PL9IB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-7UYOWV2RO2CMEGURP3Y7WLPAT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-A49MUZWNB60JKCX0NMFXESEZD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-1J3Q9ELSMX5271913GPIT75QV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-7TDXDXPVVCZ0IQLPT2W4Z1AW3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-92H2FIVGSGXGN6Z0PM4QAD9U8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-5D49BF05JAG3T79HLXZS0QOEB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-1U8J3QOEPI1JREQTBJYCK4Z2Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/dnssd-3O0RNR51LL3EG0N1T07ZFMALS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-7D3ZMGEZW9BBPJG5AFYWTJQLV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-AY8OPKLJIGMHZ9MYROUT854WA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-4BDO3J0PXFNR7ZRKSDSXCO6IM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-312R5U71UD8UC735GBX55K3US.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-8XNJAT23SK5D0OET9NV9X387I.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-BNVVZ0H6VD0B9Q2N4KZUSB6RB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-48S9SVOOX01R4NP8KF0LJG57Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-3Q9AYRR8Y0RMYX4VGST56EDCZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-IAKQMD68GVR7DW77YOHGK8X7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-F3U0HSZMZSXCP772P753OT1G5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-3CTW8AFBZNTJNTYU2CNXR306R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-ECOU17NNJUYRSDVSZI1SX0DNL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-5V8622D8G59RJKITQSAST89GC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Network-59OXS1WBU0E96MTVI1BQ4Y8O0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/LocalAuthentication-DY23D7R1X7DY7BV7FZ6NHSR9L.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/FileProvider-C1CJK6EJC5IUBTWZU8FS47OM3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-2D5KLETWRIPRMLT8HCRTTINH3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-32JNDL0Y7WK6X17R1HPKJCQEE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-3PXS069A7G7J69W6C2O4U64TR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-7LQD8Z3LW2FUEO4CR6TGECXW0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-6JIY9EEYAYYTJITYYQZF42LAH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-EFMTSDPFE8WPPM5HOZ47P0KQO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-E62WUNIY48I4BO5WNB3SVVIP8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-9BPZRHV9PRGRSU35W243D89CW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-CKJ9EEPIRPNP44Q12R6YOKS1E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-CAKGHYH5ACDACD017V00QOQC9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-8QB8DU95K5GFNCPAUIMZLHBIU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AudioToolbox-BIB990ZQT6Y2YX7R0HKENKU6T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVRouting-A58BUG9HB1NCTPD2PCCO84ARM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CloudKit-9K4EB62PA7PVXL9OWVELANKAH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-DCVNRIJ2COFK7QG37YNW48EGV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-4PK3Q849TG28PPFW9ON3UC1O9.pcm
SwiftExplicitDependencyCompileModuleFromInterface arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ShaderGraph-URHKVVOFZL5Z.swiftmodule
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreML-C2BW2527PDNODK16LJ9I668C8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ARKitFoundation-BT979VLYXKXTC443T81YQQEY1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-6ZHUATRF8P4D51R22KZF8F6EG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-X23SRPCPJE6SQFHHHYCZ7WVC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-9GN6OPXIJ356C54K347I7T417.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-374BUSM2QWS9MQO694AHOADDT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/VideoToolbox-3P3B69YG5JT8YUFOCSUNDM59.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MediaToolbox-ANHHEHPC85W3ECWTCJ308UFOE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Vision-3I7AR38LZFB22SF4LQC7Q6KA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-7A6YZTGYW2RLZD9E99CP5838N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-1PV3XTOUQPUVY5I4MLPUAXR9J.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFoundation-81FTBCX2AZLM90X977V6F8213.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ARKitCore-3XTE32VQMIOYU5QR9S293LZS1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Photos-EHNGJ5DMDJCAX13GCOIM16JAN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/GameController-X9URPRY7QBKI12E33T2Y28WV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-C448PJ9D4ZYA5OED1YDWBD562.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ARKit-DR3A0F7OE5VAP1U4QICI8GJ1B.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ FlowRouter (in target 'FlowRouter' from project 'FlowRouter')
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift:17:30: error: 'UIScreen' is unavailable in visionOS
15 |
16 | /// 屏幕宽度
17 | static let screenWidth = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in visionOS
18 |
19 | /// 屏幕高度
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift:20:31: error: 'UIScreen' is unavailable in visionOS
18 |
19 | /// 屏幕高度
20 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'UIScreen' is unavailable in visionOS
21 |
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
Failed frontend command:
SwiftCompile normal arm64 (in target 'FlowRouter' from project 'FlowRouter')
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/FlowRouter/Extension/StringExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/FlowRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/CloseInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/OpenInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Log/Log.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Navibar/NaviBarView.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/NavigationType.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/PageRecord.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteCloseData.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteMapManager.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteOption.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterModule.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeAndSlideTransitioning.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeTransitioning.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.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/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.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/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FlowRouter -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.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/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.abi.json
SwiftCompile normal arm64 Compiling\ UI.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UI.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift:17:30: error: 'UIScreen' is unavailable in visionOS
15 |
16 | /// 屏幕宽度
17 | static let screenWidth = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in visionOS
18 |
19 | /// 屏幕高度
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift:20:31: error: 'UIScreen' is unavailable in visionOS
18 |
19 | /// 屏幕高度
20 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'UIScreen' is unavailable in visionOS
21 |
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64 Compiling\ FadeAndSlideTransitioning.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeAndSlideTransitioning.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeAndSlideTransitioning.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FadeAndSlideTransitioning.swift
SwiftCompile normal arm64 Compiling\ RouterProtocol.swift,\ RouterViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterViewController.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterProtocol.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouterProtocol.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterViewController.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouterViewController.swift
SwiftCompile normal arm64 Compiling\ RouteCloseData.swift,\ RouteMapManager.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteCloseData.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteMapManager.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteCloseData.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouteCloseData.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteMapManager.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouteMapManager.swift
SwiftCompile normal arm64 Compiling\ CloseInterceptor.swift,\ OpenInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/CloseInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/OpenInterceptor.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/CloseInterceptor.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CloseInterceptor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/OpenInterceptor.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OpenInterceptor.swift
SwiftCompile normal arm64 Compiling\ NavigationType.swift,\ PageRecord.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/NavigationType.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/PageRecord.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/NavigationType.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationType.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/PageRecord.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PageRecord.swift
SwiftCompile normal arm64 Compiling\ FadeTransitioning.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeTransitioning.swift (in target 'FlowRouter' from project 'FlowRouter')
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift:17:30: error: 'UIScreen' is unavailable in visionOS
15 |
16 | /// 屏幕宽度
17 | static let screenWidth = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in visionOS
18 |
19 | /// 屏幕高度
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeTransitioning.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FadeTransitioning.swift
SwiftCompile normal arm64 Compiling\ RouteOption.swift,\ RouterModule.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteOption.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterModule.swift (in target 'FlowRouter' from project 'FlowRouter')
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterModule.swift:263:72: warning: left side of nil coalescing operator '??' has non-optional type 'UIModalPresentationStyle', so the right side is never used
261 |
262 | currentNavigationController = UINavigationController(rootViewController: viewController)
263 | currentNavigationController.modalPresentationStyle = style ?? .fullScreen
| `- warning: left side of nil coalescing operator '??' has non-optional type 'UIModalPresentationStyle', so the right side is never used
264 |
265 | // 接管present,修复手动关闭时,未移除页面栈的问题
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterModule.swift:270:88: warning: forced cast of 'any UIViewControllerTransitioningDelegate' to same type has no effect
268 | // 自定义进场动画
269 | if let transitionDelegate = transitioningDelegate {
270 | currentNavigationController.transitioningDelegate = transitionDelegate as! any UIViewControllerTransitioningDelegate
| `- warning: forced cast of 'any UIViewControllerTransitioningDelegate' to same type has no effect
271 | } else {
272 | if style == .custom {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteOption.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouteOption.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterModule.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouterModule.swift
SwiftCompile normal arm64 Compiling\ Log.swift,\ NaviBarView.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Log/Log.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Navibar/NaviBarView.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Log/Log.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Log.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Navibar/NaviBarView.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NaviBarView.swift
SwiftCompile normal arm64 Compiling\ StringExtension.swift,\ FlowRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Extension/StringExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/FlowRouter.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Extension/StringExtension.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StringExtension.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/FlowRouter.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FlowRouter.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-23 13:13:51.704 xcodebuild[627:3863] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'FlowRouter' from project 'FlowRouter')
SwiftEmitModule normal arm64 Emitting\ module\ for\ FlowRouter (in target 'FlowRouter' from project 'FlowRouter')
Building workspace FlowRouter with scheme FlowRouter
(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:
FlowRouter: /Users/admin/builder/spi-builder-workspace
resolved source packages: FlowRouter
2026-09-23 13:13:59.489 xcodebuild[772:4528] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "FlowRouter",
"name" : "FlowRouter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "FlowRouter",
"targets" : [
"FlowRouter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FlowRouterTests",
"module_type" : "SwiftTarget",
"name" : "FlowRouterTests",
"path" : "Tests/FlowRouterTests",
"sources" : [
"FlowRouterTests.swift",
"RouterViewControllerTests.swift"
],
"target_dependencies" : [
"FlowRouter"
],
"type" : "test"
},
{
"c99name" : "FlowRouter",
"module_type" : "SwiftTarget",
"name" : "FlowRouter",
"path" : "Sources/FlowRouter",
"product_memberships" : [
"FlowRouter"
],
"sources" : [
"Extension/StringExtension.swift",
"FlowRouter.swift",
"Interceptor/CloseInterceptor.swift",
"Interceptor/OpenInterceptor.swift",
"Log/Log.swift",
"Navibar/NaviBarView.swift",
"NavigationType.swift",
"PageRecord.swift",
"RouteCloseData.swift",
"RouteMapManager.swift",
"RouteOption.swift",
"RouterModule.swift",
"RouterProtocol.swift",
"RouterViewController.swift",
"UI/FadeAndSlideTransitioning.swift",
"UI/FadeTransitioning.swift",
"UI/UI.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
{
"workspace" : {
"name" : "FlowRouter",
"schemes" : [
"FlowRouter"
]
}
}
2026-09-23 13:14:00.714 xcodebuild[780:4594] [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 FlowRouter -destination generic/platform=xrOS
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 FlowRouter -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
FlowRouter: /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 'FlowRouter-product' in project 'FlowRouter'
➜ Explicit dependency on target 'FlowRouter' in project 'FlowRouter'
Target 'FlowRouter' in project 'FlowRouter' (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/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.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/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
SwiftDriver FlowRouter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'FlowRouter' from project 'FlowRouter')
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 FlowRouter -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.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/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.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 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-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/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-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/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ StringExtension.swift,\ FlowRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Extension/StringExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/FlowRouter.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Extension/StringExtension.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StringExtension.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/FlowRouter.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FlowRouter.swift
SwiftCompile normal arm64 Compiling\ CloseInterceptor.swift,\ OpenInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/CloseInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/OpenInterceptor.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/CloseInterceptor.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CloseInterceptor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/OpenInterceptor.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OpenInterceptor.swift
SwiftCompile normal arm64 Compiling\ Log.swift,\ NaviBarView.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Log/Log.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Navibar/NaviBarView.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Log/Log.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Log.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Navibar/NaviBarView.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NaviBarView.swift
SwiftCompile normal arm64 Compiling\ RouteCloseData.swift,\ RouteMapManager.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteCloseData.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteMapManager.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteCloseData.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouteCloseData.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteMapManager.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouteMapManager.swift
SwiftCompile normal arm64 Compiling\ RouteOption.swift,\ RouterModule.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteOption.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterModule.swift (in target 'FlowRouter' from project 'FlowRouter')
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterModule.swift:263:72: warning: left side of nil coalescing operator '??' has non-optional type 'UIModalPresentationStyle', so the right side is never used
261 |
262 | currentNavigationController = UINavigationController(rootViewController: viewController)
263 | currentNavigationController.modalPresentationStyle = style ?? .fullScreen
| `- warning: left side of nil coalescing operator '??' has non-optional type 'UIModalPresentationStyle', so the right side is never used
264 |
265 | // 接管present,修复手动关闭时,未移除页面栈的问题
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterModule.swift:270:88: warning: forced cast of 'any UIViewControllerTransitioningDelegate' to same type has no effect
268 | // 自定义进场动画
269 | if let transitionDelegate = transitioningDelegate {
270 | currentNavigationController.transitioningDelegate = transitionDelegate as! any UIViewControllerTransitioningDelegate
| `- warning: forced cast of 'any UIViewControllerTransitioningDelegate' to same type has no effect
271 | } else {
272 | if style == .custom {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteOption.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouteOption.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterModule.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouterModule.swift
SwiftCompile normal arm64 Compiling\ NavigationType.swift,\ PageRecord.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/NavigationType.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/PageRecord.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/NavigationType.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationType.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/PageRecord.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PageRecord.swift
SwiftCompile normal arm64 Compiling\ FadeAndSlideTransitioning.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeAndSlideTransitioning.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeAndSlideTransitioning.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FadeAndSlideTransitioning.swift
SwiftCompile normal arm64 Compiling\ UI.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift (in target 'FlowRouter' from project 'FlowRouter')
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift:17:30: error: 'UIScreen' is unavailable in visionOS
15 |
16 | /// 屏幕宽度
17 | static let screenWidth = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in visionOS
18 |
19 | /// 屏幕高度
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift:20:31: error: 'UIScreen' is unavailable in visionOS
18 |
19 | /// 屏幕高度
20 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'UIScreen' is unavailable in visionOS
21 |
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UI.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ FlowRouter (in target 'FlowRouter' from project 'FlowRouter')
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift:17:30: error: 'UIScreen' is unavailable in visionOS
15 |
16 | /// 屏幕宽度
17 | static let screenWidth = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in visionOS
18 |
19 | /// 屏幕高度
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift:20:31: error: 'UIScreen' is unavailable in visionOS
18 |
19 | /// 屏幕高度
20 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'UIScreen' is unavailable in visionOS
21 |
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
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/FlowRouter/Extension/StringExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/FlowRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/CloseInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Interceptor/OpenInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Log/Log.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/Navibar/NaviBarView.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/NavigationType.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/PageRecord.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteCloseData.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteMapManager.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouteOption.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterModule.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeAndSlideTransitioning.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeTransitioning.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.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/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.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/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FlowRouter -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.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/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FlowRouter.build/Debug-xros/FlowRouter-t.build/Objects-normal/arm64/FlowRouter.abi.json
SwiftCompile normal arm64 (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ FadeTransitioning.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeTransitioning.swift (in target 'FlowRouter' from project 'FlowRouter')
/Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/UI.swift:17:30: error: 'UIScreen' is unavailable in visionOS
15 |
16 | /// 屏幕宽度
17 | static let screenWidth = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in visionOS
18 |
19 | /// 屏幕高度
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/UI/FadeTransitioning.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FadeTransitioning.swift
SwiftCompile normal arm64 Compiling\ RouterProtocol.swift,\ RouterViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterViewController.swift (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterProtocol.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouterProtocol.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlowRouter/RouterViewController.swift (in target 'FlowRouter' from project 'FlowRouter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RouterViewController.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-23 13:14:01.732 xcodebuild[781:4618] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ FlowRouter (in target 'FlowRouter' from project 'FlowRouter')
SwiftCompile normal arm64 (in target 'FlowRouter' from project 'FlowRouter')
Building workspace FlowRouter with scheme FlowRouter
(3 failures)
BUILD FAILURE 6.4 visionOS