Build Information
Failed to build NKModalPresenter, reference master (d133cd
), with Swift 6.1 for visionOS using Xcode 16.3 on 1 May 2025 11:56:33 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NKModalPresenter -destination generic/platform=xrOS
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kennic/NKModalPresenter.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kennic/NKModalPresenter
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d133cd3 Fix flicker screen after dismissing
Cloned https://github.com/kennic/NKModalPresenter.git
Revision (git rev-parse @):
d133cd36d7906e05d4895321c2803c7ac16adb2e
SUCCESS checkout https://github.com/kennic/NKModalPresenter.git at master
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/kennic/NKModalPresenter.git
https://github.com/kennic/NKModalPresenter.git
{
"dependencies" : [
],
"manifest_display_name" : "NKModalPresenter",
"name" : "NKModalPresenter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "NKModalPresenter",
"targets" : [
"NKModalPresenter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NKModalPresenter",
"module_type" : "SwiftTarget",
"name" : "NKModalPresenter",
"path" : "NKModalPresenter",
"product_memberships" : [
"NKModalPresenter"
],
"sources" : [
"NKModalController.swift",
"NKModalPresenter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
resolved source packages:
{
"dependencies" : [
],
"manifest_display_name" : "NKModalPresenter",
"name" : "NKModalPresenter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "NKModalPresenter",
"targets" : [
"NKModalPresenter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NKModalPresenter",
"module_type" : "SwiftTarget",
"name" : "NKModalPresenter",
"path" : "NKModalPresenter",
"product_memberships" : [
"NKModalPresenter"
],
"sources" : [
"NKModalController.swift",
"NKModalPresenter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
{
"project" : {
"configurations" : [
"Debug",
"Release"
],
"name" : "NKModalPresenter",
"schemes" : [
"Example",
"NKModalPresenter"
],
"targets" : [
"NKModalPresenter",
"Example"
]
}
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"NKModalPresenter"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NKModalPresenter -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Command line invocation:
/Applications/Xcode-16.3.0.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 NKModalPresenter -destination generic/platform=xrOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
Resolved source packages:
NKModalPresenter: /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 'NKModalPresenter' in project 'NKModalPresenter'
➜ Explicit dependency on target 'NKModalPresenter' in project 'NKModalPresenter'
Target 'NKModalPresenter' in project 'NKModalPresenter' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: d21fa64f8aafd46951433390d907360b
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d21fa64f8aafd46951433390d907360b.xcbuilddata
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-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
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
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/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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/NKModalPresenter.DependencyMetadataFileList (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/NKModalPresenter.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/NKModalPresenter.DependencyStaticMetadataFileList (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/NKModalPresenter.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/NKModalPresenter.modulemap (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/NKModalPresenter.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.LinkFileList (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_const_extract_protocols.json (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.SwiftConstValuesFileList (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.SwiftFileList (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-OutputFileMap.json (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/NKModalPresenter.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/NKModalPresenter.modulemap (in target 'NKModalPresenter' from project 'NKModalPresenter')
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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/NKModalPresenter.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver NKModalPresenter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name NKModalPresenter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NKModalPresenter' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = NKModalPresenter()
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:21:14: note: class 'NKModalPresenter' does not conform to the 'Sendable' protocol
public class NKModalPresenter {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = NKModalPresenter()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = NKModalPresenter()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:35:25: warning: call to main actor-isolated initializer 'init(viewController:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let modalController = NKModalController(viewController: viewController)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:9: note: calls to initializer 'init(viewController:)' from outside of its actor context are implicitly asynchronous
public init(viewController: UIViewController) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:9: note: main actor isolation inferred from inheritance from class 'NKModalContainerViewController'
public init(viewController: UIViewController) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:14: note: add '@MainActor' to make instance method 'present(viewController:animate:to:)' part of global actor 'MainActor'
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:36:19: warning: call to main actor-isolated instance method 'present(animate:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
modalController.present(animate: animate, to: position)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:337:14: note: calls to instance method 'present(animate:to:)' from outside of its actor context are implicitly asynchronous
public func present(animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:337:14: note: main actor isolation inferred from inheritance from class 'NKModalContainerViewController'
public func present(animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:14: note: add '@MainActor' to make instance method 'present(viewController:animate:to:)' part of global actor 'MainActor'
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:38:121: warning: main actor-isolated static property 'didDismiss' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
NotificationCenter.default.addObserver(self, selector: #selector(onModalControllerDismissed), name: NKModalController.didDismiss, object: modalController)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:214:20: note: static property declared here
public static let didDismiss = Notification.Name(rawValue: "NKModalControllerDidDismiss")
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:14: note: add '@MainActor' to make instance method 'present(viewController:animate:to:)' part of global actor 'MainActor'
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:46:19: warning: call to main actor-isolated instance method 'dismiss(animated:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
modalController.dismiss(animated: animated, completion: completion)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:533:23: note: calls to instance method 'dismiss(animated:completion:)' from outside of its actor context are implicitly asynchronous
public override func dismiss(animated: Bool, completion: (() -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:533:23: note: main actor isolation inferred from inheritance from class 'NKModalContainerViewController'
public override func dismiss(animated: Bool, completion: (() -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:14: note: add '@MainActor' to make instance method 'dismiss(viewController:animated:completion:)' part of global actor 'MainActor'
public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:51:22: warning: call to main actor-isolated instance method 'dismiss(animated:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
topModalController.dismiss(animated: animated, completion: completion)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:533:23: note: calls to instance method 'dismiss(animated:completion:)' from outside of its actor context are implicitly asynchronous
public override func dismiss(animated: Bool, completion: (() -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:533:23: note: main actor isolation inferred from inheritance from class 'NKModalContainerViewController'
public override func dismiss(animated: Bool, completion: (() -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:49:14: note: add '@MainActor' to make instance method 'dismissTopModalController(animated:completion:)' part of global actor 'MainActor'
public func dismissTopModalController(animated: Bool, completion: (() -> Void)? = nil) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:58:39: warning: call to main actor-isolated instance method 'dismiss(animated:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
activeModalControllers.forEach { $0.dismiss(animated: animated, completion: $0 == lastModalController ? completion : nil) }
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:533:23: note: calls to instance method 'dismiss(animated:completion:)' from outside of its actor context are implicitly asynchronous
public override func dismiss(animated: Bool, completion: (() -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:533:23: note: main actor isolation inferred from inheritance from class 'NKModalContainerViewController'
public override func dismiss(animated: Bool, completion: (() -> Void)? = nil) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:64:51: warning: main actor-isolated property 'contentViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
return activeModalControllers.first(where: { $0.contentViewController == viewController || $0.contentViewController == viewController.navigationController })
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:30: note: property declared here
public fileprivate(set) var contentViewController: UIViewController!
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:64:97: warning: main actor-isolated property 'contentViewController' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
return activeModalControllers.first(where: { $0.contentViewController == viewController || $0.contentViewController == viewController.navigationController })
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:30: note: property declared here
public fileprivate(set) var contentViewController: UIViewController!
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:64:137: warning: main actor-isolated property 'navigationController' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
return activeModalControllers.first(where: { $0.contentViewController == viewController || $0.contentViewController == viewController.navigationController })
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:131:72: note: property declared here
@property(nullable, nonatomic,readonly,strong) UINavigationController *navigationController; // If this view controller has been pushed onto a navigation controller, return it.
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:68:73: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
return activeModalControllers.first(where: { $0.contentViewController.view == view})
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:68:51: warning: main actor-isolated property 'contentViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
return activeModalControllers.first(where: { $0.contentViewController.view == view})
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:30: note: property declared here
public fileprivate(set) var contentViewController: UIViewController!
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:36:19: warning: sending 'animate' risks causing data races; this is an error in the Swift 6 language mode
modalController.present(animate: animate, to: position)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:36:19: note: sending task-isolated 'animate' to main actor-isolated instance method 'present(animate:to:)' risks causing data races between main actor-isolated and task-isolated uses
modalController.present(animate: animate, to: position)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:36:19: warning: sending 'position' risks causing data races; this is an error in the Swift 6 language mode
modalController.present(animate: animate, to: position)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:36:19: note: sending task-isolated 'position' to main actor-isolated instance method 'present(animate:to:)' risks causing data races between main actor-isolated and task-isolated uses
modalController.present(animate: animate, to: position)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:46:19: warning: sending value of non-Sendable type '(() -> Void)?' risks causing data races; this is an error in the Swift 6 language mode
modalController.dismiss(animated: animated, completion: completion)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:46:19: note: sending task-isolated value of non-Sendable type '(() -> Void)?' to main actor-isolated instance method 'dismiss(animated:completion:)' risks causing races in between task-isolated and main actor-isolated uses
modalController.dismiss(animated: animated, completion: completion)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:51:22: warning: sending value of non-Sendable type '(() -> Void)?' risks causing data races; this is an error in the Swift 6 language mode
topModalController.dismiss(animated: animated, completion: completion)
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:51:22: note: sending task-isolated value of non-Sendable type '(() -> Void)?' to main actor-isolated instance method 'dismiss(animated:completion:)' risks causing races in between task-isolated and main actor-isolated uses
topModalController.dismiss(animated: animated, completion: completion)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:58:39: warning: sending value of non-Sendable type '(() -> Void)?' risks causing data races; this is an error in the Swift 6 language mode
activeModalControllers.forEach { $0.dismiss(animated: animated, completion: $0 == lastModalController ? completion : nil) }
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:58:39: note: sending task-isolated value of non-Sendable type '(() -> Void)?' to main actor-isolated instance method 'dismiss(animated:completion:)' risks causing races in between task-isolated and main actor-isolated uses
activeModalControllers.forEach { $0.dismiss(animated: animated, completion: $0 == lastModalController ? completion : nil) }
^
SwiftCompile normal arm64 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _onceTracker = [String]()
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
private static var _onceTracker = [String]()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: add '@MainActor' to make static property '_onceTracker' part of global actor 'MainActor'
private static var _onceTracker = [String]()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _onceTracker = [String]()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:96:97: warning: main actor-isolated static property 'animationDuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
func animationDuration(modalController: NKModalController) -> TimeInterval { NKModalController.animationDuration }
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:251:20: note: static property declared here
public static var animationDuration: TimeInterval = 0.45
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:96:7: note: add '@MainActor' to make instance method 'animationDuration(modalController:)' part of global actor 'MainActor'
func animationDuration(modalController: NKModalController) -> TimeInterval { NKModalController.animationDuration }
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:97:90: warning: main actor-isolated static property 'backgroundColor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
func backgroundColor(modalController: NKModalController) -> UIColor { NKModalController.backgroundColor }
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:250:20: note: static property declared here
public static var backgroundColor = UIColor.black.withAlphaComponent(0.65)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:97:7: note: add '@MainActor' to make instance method 'backgroundColor(modalController:)' part of global actor 'MainActor'
func backgroundColor(modalController: NKModalController) -> UIColor { NKModalController.backgroundColor }
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:98:87: warning: main actor-isolated static property 'cornerRadius' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
func cornerRadius(modalController: NKModalController) -> CGFloat { NKModalController.cornerRadius }
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:253:20: note: static property declared here
public static var cornerRadius: CGFloat = 8.0
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:98:7: note: add '@MainActor' to make instance method 'cornerRadius(modalController:)' part of global actor 'MainActor'
func cornerRadius(modalController: NKModalController) -> CGFloat { NKModalController.cornerRadius }
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:117:24: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let viewSize = view.frame.size
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:108:7: note: add '@MainActor' to make instance method 'toPresentAnimation(view:)' part of global actor 'MainActor'
func toPresentAnimation(view: UIView) -> NKModalPresentAnimation {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:146:24: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let viewSize = view.frame.size
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:137:7: note: add '@MainActor' to make instance method 'toDismissAnimation(view:)' part of global actor 'MainActor'
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:200:32: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
return UIApplication.shared.windows.first { $0.isKeyWindow }
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:202:32: error: 'keyWindow' is unavailable in visionOS
return UIApplication.shared.keyWindow
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:108:51: note: 'keyWindow' has been explicitly marked unavailable here
@property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:374:30: error: 'UIScreen' is unavailable in visionOS
window = UIWindow(frame: UIScreen.main.bounds)
^~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
@interface UIScreen : NSObject <UITraitEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:380:43: error: 'statusBarOrientation' is unavailable in visionOS
lastOrientation = UIApplication.shared.statusBarOrientation
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:119:55: note: 'statusBarOrientation' has been explicitly marked unavailable here
@property(readonly, nonatomic) UIInterfaceOrientation statusBarOrientation API_UNAVAILABLE(tvos) API_DEPRECATED("Use the interfaceOrientation property of the window scene instead.", ios(2.0, 13.0)) API_UNAVAILABLE(visionos);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:382:118: error: 'statusBarOrientation' is unavailable in visionOS
let shouldRotate = presentingViewController?.preferredInterfaceOrientationForPresentation != UIApplication.shared.statusBarOrientation
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:119:55: note: 'statusBarOrientation' has been explicitly marked unavailable here
@property(readonly, nonatomic) UIInterfaceOrientation statusBarOrientation API_UNAVAILABLE(tvos) API_DEPRECATED("Use the interfaceOrientation property of the window scene instead.", ios(2.0, 13.0)) API_UNAVAILABLE(visionos);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:500:9: error: 'setNeedsStatusBarAppearanceUpdate()' is unavailable in visionOS
self.setNeedsStatusBarAppearanceUpdate()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UIKit.UIViewController.setNeedsStatusBarAppearanceUpdate:3:24: note: 'setNeedsStatusBarAppearanceUpdate()' has been explicitly marked unavailable here
@MainActor open func setNeedsStatusBarAppearanceUpdate()}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:527:9: error: 'setNeedsStatusBarAppearanceUpdate()' is unavailable in visionOS
self.setNeedsStatusBarAppearanceUpdate()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UIKit.UIViewController.setNeedsStatusBarAppearanceUpdate:3:24: note: 'setNeedsStatusBarAppearanceUpdate()' has been explicitly marked unavailable here
@MainActor open func setNeedsStatusBarAppearanceUpdate()}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:650:46: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
windowToActivate = UIApplication.shared.windows.last
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:671:11: error: 'setNeedsStatusBarAppearanceUpdate()' is unavailable in visionOS
self.setNeedsStatusBarAppearanceUpdate()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UIKit.UIViewController.setNeedsStatusBarAppearanceUpdate:3:24: note: 'setNeedsStatusBarAppearanceUpdate()' has been explicitly marked unavailable here
@MainActor open func setNeedsStatusBarAppearanceUpdate()}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:796:53: error: 'UIScreen' is unavailable in visionOS
guard var contentSize = contentSize else { return UIScreen.main.bounds }
^~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
@interface UIScreen : NSObject <UITraitEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:957:15: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
tapGesture?.delegate = nil
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:50:69: note: mutation of this property is only permitted within the actor
@property(nullable,nonatomic,weak) id <UIGestureRecognizerDelegate> delegate; // the gesture recognizer's delegate
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:958:15: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
panGesture?.delegate = nil
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:50:69: note: mutation of this property is only permitted within the actor
@property(nullable,nonatomic,weak) id <UIGestureRecognizerDelegate> delegate; // the gesture recognizer's delegate
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:990:33: warning: 'shouldAutorotate' was deprecated in visionOS 1.0: Update supported interface orientations and call setNeedsUpdateOfSupportedInterfaceOrientations to indicate a change.
return visibleViewController?.shouldAutorotate ?? true
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1001:102: error: 'statusBarOrientation' is unavailable in visionOS
return visibleViewController?.preferredInterfaceOrientationForPresentation ?? UIApplication.shared.statusBarOrientation
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:119:55: note: 'statusBarOrientation' has been explicitly marked unavailable here
@property(readonly, nonatomic) UIInterfaceOrientation statusBarOrientation API_UNAVAILABLE(tvos) API_DEPRECATED("Use the interfaceOrientation property of the window scene instead.", ios(2.0, 13.0)) API_UNAVAILABLE(visionos);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1008:33: warning: 'prefersStatusBarHidden' was deprecated in visionOS 1.0: Has no effect on visionOS
return visibleViewController?.prefersStatusBarHidden ?? false
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1012:33: warning: 'preferredStatusBarStyle' was deprecated in visionOS 1.0: Has no effect on visionOS
return visibleViewController?.preferredStatusBarStyle ?? .default
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1016:33: warning: 'preferredStatusBarUpdateAnimation' was deprecated in visionOS 1.0: Has no effect on visionOS
return visibleViewController?.preferredStatusBarUpdateAnimation ?? .fade
^
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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 -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/swift-overrides.hmap -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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name NKModalPresenter -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.4 -target-sdk-name xros2.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.o -index-unit-output-path /NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftEmitModule normal arm64 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal arm64 (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _onceTracker = [String]()
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
private static var _onceTracker = [String]()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: add '@MainActor' to make static property '_onceTracker' part of global actor 'MainActor'
private static var _onceTracker = [String]()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1037:21: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _onceTracker = [String]()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NKModalPresenter' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = NKModalPresenter()
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:21:14: note: class 'NKModalPresenter' does not conform to the 'Sendable' protocol
public class NKModalPresenter {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = NKModalPresenter()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:22:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = NKModalPresenter()
^
nonisolated(unsafe)
SwiftDriverJobDiscovery normal arm64 Emitting module for NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftDriver\ Compilation\ Requirements NKModalPresenter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name NKModalPresenter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/NKModalPresenter-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-Swift.h (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/NKModalPresenter-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/NKModalPresenter.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftdoc (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/NKModalPresenter.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/NKModalPresenter.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.abi.json (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/NKModalPresenter.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/NKModalPresenter.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftsourceinfo (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/NKModalPresenter.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/NKModalPresenter.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftmodule (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/NKModalPresenter.swiftmodule/arm64-apple-xros.swiftmodule
SwiftDriverJobDiscovery normal arm64 Compiling NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
Building workspace spi-builder-workspace with scheme NKModalPresenter
(3 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
Resolved source packages:
NKModalPresenter: /Users/admin/builder/spi-builder-workspace
resolved source packages: NKModalPresenter
{
"dependencies" : [
],
"manifest_display_name" : "NKModalPresenter",
"name" : "NKModalPresenter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "NKModalPresenter",
"targets" : [
"NKModalPresenter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NKModalPresenter",
"module_type" : "SwiftTarget",
"name" : "NKModalPresenter",
"path" : "NKModalPresenter",
"product_memberships" : [
"NKModalPresenter"
],
"sources" : [
"NKModalController.swift",
"NKModalPresenter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"NKModalPresenter"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NKModalPresenter -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-16.3.0.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 NKModalPresenter -destination generic/platform=xrOS
Resolve Package Graph
Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
Resolved source packages:
NKModalPresenter: /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 'NKModalPresenter' in project 'NKModalPresenter'
➜ Explicit dependency on target 'NKModalPresenter' in project 'NKModalPresenter'
Target 'NKModalPresenter' in project 'NKModalPresenter' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: edd20a3ae0287a23135f316159f1b07e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/edd20a3ae0287a23135f316159f1b07e.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
SwiftDriver NKModalPresenter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name NKModalPresenter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:200:32: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
return UIApplication.shared.windows.first { $0.isKeyWindow }
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:202:32: error: 'keyWindow' is unavailable in visionOS
return UIApplication.shared.keyWindow
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:108:51: note: 'keyWindow' has been explicitly marked unavailable here
@property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:374:30: error: 'UIScreen' is unavailable in visionOS
window = UIWindow(frame: UIScreen.main.bounds)
^~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
@interface UIScreen : NSObject <UITraitEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:380:43: error: 'statusBarOrientation' is unavailable in visionOS
lastOrientation = UIApplication.shared.statusBarOrientation
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:119:55: note: 'statusBarOrientation' has been explicitly marked unavailable here
@property(readonly, nonatomic) UIInterfaceOrientation statusBarOrientation API_UNAVAILABLE(tvos) API_DEPRECATED("Use the interfaceOrientation property of the window scene instead.", ios(2.0, 13.0)) API_UNAVAILABLE(visionos);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:382:118: error: 'statusBarOrientation' is unavailable in visionOS
let shouldRotate = presentingViewController?.preferredInterfaceOrientationForPresentation != UIApplication.shared.statusBarOrientation
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:119:55: note: 'statusBarOrientation' has been explicitly marked unavailable here
@property(readonly, nonatomic) UIInterfaceOrientation statusBarOrientation API_UNAVAILABLE(tvos) API_DEPRECATED("Use the interfaceOrientation property of the window scene instead.", ios(2.0, 13.0)) API_UNAVAILABLE(visionos);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:500:9: error: 'setNeedsStatusBarAppearanceUpdate()' is unavailable in visionOS
self.setNeedsStatusBarAppearanceUpdate()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UIKit.UIViewController.setNeedsStatusBarAppearanceUpdate:3:24: note: 'setNeedsStatusBarAppearanceUpdate()' has been explicitly marked unavailable here
@MainActor open func setNeedsStatusBarAppearanceUpdate()}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:527:9: error: 'setNeedsStatusBarAppearanceUpdate()' is unavailable in visionOS
self.setNeedsStatusBarAppearanceUpdate()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UIKit.UIViewController.setNeedsStatusBarAppearanceUpdate:3:24: note: 'setNeedsStatusBarAppearanceUpdate()' has been explicitly marked unavailable here
@MainActor open func setNeedsStatusBarAppearanceUpdate()}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:650:46: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
windowToActivate = UIApplication.shared.windows.last
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:671:11: error: 'setNeedsStatusBarAppearanceUpdate()' is unavailable in visionOS
self.setNeedsStatusBarAppearanceUpdate()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UIKit.UIViewController.setNeedsStatusBarAppearanceUpdate:3:24: note: 'setNeedsStatusBarAppearanceUpdate()' has been explicitly marked unavailable here
@MainActor open func setNeedsStatusBarAppearanceUpdate()}
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:796:53: error: 'UIScreen' is unavailable in visionOS
guard var contentSize = contentSize else { return UIScreen.main.bounds }
^~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
@interface UIScreen : NSObject <UITraitEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:990:33: warning: 'shouldAutorotate' was deprecated in visionOS 1.0: Update supported interface orientations and call setNeedsUpdateOfSupportedInterfaceOrientations to indicate a change.
return visibleViewController?.shouldAutorotate ?? true
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1001:102: error: 'statusBarOrientation' is unavailable in visionOS
return visibleViewController?.preferredInterfaceOrientationForPresentation ?? UIApplication.shared.statusBarOrientation
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:119:55: note: 'statusBarOrientation' has been explicitly marked unavailable here
@property(readonly, nonatomic) UIInterfaceOrientation statusBarOrientation API_UNAVAILABLE(tvos) API_DEPRECATED("Use the interfaceOrientation property of the window scene instead.", ios(2.0, 13.0)) API_UNAVAILABLE(visionos);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1008:33: warning: 'prefersStatusBarHidden' was deprecated in visionOS 1.0: Has no effect on visionOS
return visibleViewController?.prefersStatusBarHidden ?? false
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1012:33: warning: 'preferredStatusBarStyle' was deprecated in visionOS 1.0: Has no effect on visionOS
return visibleViewController?.preferredStatusBarStyle ?? .default
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1016:33: warning: 'preferredStatusBarUpdateAnimation' was deprecated in visionOS 1.0: Has no effect on visionOS
return visibleViewController?.preferredStatusBarUpdateAnimation ?? .fade
^
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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 -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/swift-overrides.hmap -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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name NKModalPresenter -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.4 -target-sdk-name xros2.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.o -index-unit-output-path /NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalController.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftEmitModule normal arm64 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal arm64 (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftDriver\ Compilation\ Requirements NKModalPresenter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name NKModalPresenter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.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/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/NKModalPresenter.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.abi.json (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-xros/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/NKModalPresenter.swiftmodule/arm64-apple-xros.abi.json
SwiftDriverJobDiscovery normal arm64 Compiling NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
Building workspace spi-builder-workspace with scheme NKModalPresenter
(3 failures)
BUILD FAILURE 6.1 visionOS