Build Information
Failed to build ScreenProtectorKit, reference 1.3.1 (eed421
), with Swift 6.1 for visionOS using Xcode 16.3 on 27 Apr 2025 03:34:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScreenProtectorKit -destination generic/platform=xrOS
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/prongbang/ScreenProtectorKit.git
Reference: 1.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/prongbang/ScreenProtectorKit
* tag 1.3.1 -> FETCH_HEAD
HEAD is now at eed4217 Check iOS 17, *
Cloned https://github.com/prongbang/ScreenProtectorKit.git
Revision (git rev-parse @):
eed4217449b0312156c6483fccc0f2b54a45be90
SUCCESS checkout https://github.com/prongbang/ScreenProtectorKit.git at 1.3.1
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/prongbang/ScreenProtectorKit.git
https://github.com/prongbang/ScreenProtectorKit.git
{
"dependencies" : [
],
"manifest_display_name" : "ScreenProtectorKit",
"name" : "ScreenProtectorKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
}
],
"products" : [
{
"name" : "ScreenProtectorKit",
"targets" : [
"ScreenProtectorKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScreenProtectorKitTests",
"module_type" : "SwiftTarget",
"name" : "ScreenProtectorKitTests",
"path" : "Tests/ScreenProtectorKitTests",
"sources" : [
"ScreenProtectorKitTests.swift"
],
"target_dependencies" : [
"ScreenProtectorKit"
],
"type" : "test"
},
{
"c99name" : "ScreenProtectorKit",
"module_type" : "SwiftTarget",
"name" : "ScreenProtectorKit",
"path" : "Sources/ScreenProtectorKit",
"product_memberships" : [
"ScreenProtectorKit"
],
"sources" : [
"ScreenProtectorKit.swift",
"UIColor+Extension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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
Resolved source packages:
ScreenProtectorKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: ScreenProtectorKit
{
"dependencies" : [
],
"manifest_display_name" : "ScreenProtectorKit",
"name" : "ScreenProtectorKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
}
],
"products" : [
{
"name" : "ScreenProtectorKit",
"targets" : [
"ScreenProtectorKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScreenProtectorKitTests",
"module_type" : "SwiftTarget",
"name" : "ScreenProtectorKitTests",
"path" : "Tests/ScreenProtectorKitTests",
"sources" : [
"ScreenProtectorKitTests.swift"
],
"target_dependencies" : [
"ScreenProtectorKit"
],
"type" : "test"
},
{
"c99name" : "ScreenProtectorKit",
"module_type" : "SwiftTarget",
"name" : "ScreenProtectorKit",
"path" : "Sources/ScreenProtectorKit",
"product_memberships" : [
"ScreenProtectorKit"
],
"sources" : [
"ScreenProtectorKit.swift",
"UIColor+Extension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"ScreenProtectorKit"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScreenProtectorKit -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 ScreenProtectorKit -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
Resolved source packages:
ScreenProtectorKit: /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 'ScreenProtectorKit' in project 'ScreenProtectorKit'
➜ Explicit dependency on target 'ScreenProtectorKit' in project 'ScreenProtectorKit'
Target 'ScreenProtectorKit' in project 'ScreenProtectorKit' (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: 1bcbed3cdbc0c9aa50782e2a2dd23a2b
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/1bcbed3cdbc0c9aa50782e2a2dd23a2b.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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/ScreenProtectorKit.DependencyStaticMetadataFileList (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/ScreenProtectorKit.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/ScreenProtectorKit.modulemap (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/ScreenProtectorKit.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.SwiftFileList (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_const_extract_protocols.json (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/ScreenProtectorKit.DependencyMetadataFileList (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/ScreenProtectorKit.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.LinkFileList (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.SwiftConstValuesFileList (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-OutputFileMap.json (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/ScreenProtectorKit.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/ScreenProtectorKit.modulemap (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/ScreenProtectorKit.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver ScreenProtectorKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
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 ScreenProtectorKit -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.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 -profile-coverage-mapping -profile-generate -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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScreenProtectorKit (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
EmitSwiftModule normal arm64 (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:24:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private var screenPrevent = UITextField()
^
SwiftCompile normal arm64 Compiling\ ScreenProtectorKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:24:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private var screenPrevent = UITextField()
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:46:16: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if (!w.subviews.contains(screenPrevent)) {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:222:64: note: property declared here
@property(nonatomic,readonly,copy) NSArray<__kindof UIView *> *subviews;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:47:15: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
w.addSubview(screenPrevent)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:48:78: warning: main actor-isolated property 'isActive' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.centerYAnchor.constraint(equalTo: w.centerYAnchor).isActive = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:181:34: note: mutation of this property is only permitted within the actor
@property (getter=isActive) BOOL active API_AVAILABLE(macos(10.10), ios(8.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:48:41: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.centerYAnchor.constraint(equalTo: w.centerYAnchor).isActive = true
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:48:27: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.centerYAnchor.constraint(equalTo: w.centerYAnchor).isActive = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:581:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:48:63: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.centerYAnchor.constraint(equalTo: w.centerYAnchor).isActive = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:581:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:49:78: warning: main actor-isolated property 'isActive' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.centerXAnchor.constraint(equalTo: w.centerXAnchor).isActive = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:181:34: note: mutation of this property is only permitted within the actor
@property (getter=isActive) BOOL active API_AVAILABLE(macos(10.10), ios(8.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:49:41: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.centerXAnchor.constraint(equalTo: w.centerXAnchor).isActive = true
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:49:27: warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.centerXAnchor.constraint(equalTo: w.centerXAnchor).isActive = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:580:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:49:63: warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.centerXAnchor.constraint(equalTo: w.centerXAnchor).isActive = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:580:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:50:15: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
w.layer.superlayer?.addSublayer(screenPrevent.layer)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:64: note: property declared here
@property(nonatomic,readonly,strong) CALayer *layer; // returns view's layer. Will always return a non-nil value. view is layer's delegate
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:50:59: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
w.layer.superlayer?.addSublayer(screenPrevent.layer)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:64: note: property declared here
@property(nonatomic,readonly,strong) CALayer *layer; // returns view's layer. Will always return a non-nil value. view is layer's delegate
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:52:31: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.layer.sublayers?.last?.addSublayer(w.layer)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:64: note: property declared here
@property(nonatomic,readonly,strong) CALayer *layer; // returns view's layer. Will always return a non-nil value. view is layer's delegate
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:52:68: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.layer.sublayers?.last?.addSublayer(w.layer)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:64: note: property declared here
@property(nonatomic,readonly,strong) CALayer *layer; // returns view's layer. Will always return a non-nil value. view is layer's delegate
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:54:31: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.layer.sublayers?.first?.addSublayer(w.layer)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:64: note: property declared here
@property(nonatomic,readonly,strong) CALayer *layer; // returns view's layer. Will always return a non-nil value. view is layer's delegate
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:54:69: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.layer.sublayers?.first?.addSublayer(w.layer)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:64: note: property declared here
@property(nonatomic,readonly,strong) CALayer *layer; // returns view's layer. Will always return a non-nil value. view is layer's delegate
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:43:17: note: add '@MainActor' to make instance method 'configurePreventionScreenshot()' part of global actor 'MainActor'
public func configurePreventionScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:65:23: warning: main actor-isolated property 'isSecureTextEntry' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.isSecureTextEntry = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:254:52: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isSecureTextEntry) BOOL secureTextEntry; // default is NO
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:64:17: note: add '@MainActor' to make instance method 'enabledPreventScreenshot()' part of global actor 'MainActor'
public func enabledPreventScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:74:23: warning: main actor-isolated property 'isSecureTextEntry' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenPrevent.isSecureTextEntry = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:254:52: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isSecureTextEntry) BOOL secureTextEntry; // default is NO
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:73:17: note: add '@MainActor' to make instance method 'disablePreventScreenshot()' part of global actor 'MainActor'
public func disablePreventScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:83:22: error: 'UIScreen' is unavailable in visionOS
screenBlur = UIScreen.main.snapshotView(afterScreenUpdates: false)
^~~~~~~~
/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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:83:36: error: 'snapshotView(afterScreenUpdates:)' is unavailable in visionOS
screenBlur = UIScreen.main.snapshotView(afterScreenUpdates: false)
^~~~~~~~~~~~
UIKit.UIScreen.snapshotView:3:24: note: 'snapshotView(afterScreenUpdates:)' has been explicitly marked unavailable here
@MainActor open func snapshotView(afterScreenUpdates afterUpdates: Bool) -> UIView}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:83:36: warning: call to main actor-isolated instance method 'snapshotView(afterScreenUpdates:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
screenBlur = UIScreen.main.snapshotView(afterScreenUpdates: false)
^
UIKit.UIScreen.snapshotView:3:24: note: calls to instance method 'snapshotView(afterScreenUpdates:)' from outside of its actor context are implicitly asynchronous
@MainActor open func snapshotView(afterScreenUpdates afterUpdates: Bool) -> UIView}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:82:17: note: add '@MainActor' to make instance method 'enabledBlurScreen(style:)' part of global actor 'MainActor'
public func enabledBlurScreen(style: UIBlurEffect.Style = UIBlurEffect.Style.light) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:83:31: warning: main actor-isolated class property 'main' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenBlur = UIScreen.main.snapshotView(afterScreenUpdates: false)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: class property declared here
@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:82:17: note: add '@MainActor' to make instance method 'enabledBlurScreen(style:)' part of global actor 'MainActor'
public func enabledBlurScreen(style: UIBlurEffect.Style = UIBlurEffect.Style.light) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:84:26: warning: call to main actor-isolated initializer 'init(style:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let blurEffect = UIBlurEffect(style: style)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:63:1: note: calls to initializer 'init(style:)' from outside of its actor context are implicitly asynchronous
+ (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:82:17: note: add '@MainActor' to make instance method 'enabledBlurScreen(style:)' part of global actor 'MainActor'
public func enabledBlurScreen(style: UIBlurEffect.Style = UIBlurEffect.Style.light) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:85:30: warning: call to main actor-isolated initializer 'init(effect:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let blurBackground = UIVisualEffectView(effect: blurEffect)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:34:1: note: calls to initializer 'init(effect:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithEffect:(nullable UIVisualEffect *)effect NS_DESIGNATED_INITIALIZER;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:82:17: note: add '@MainActor' to make instance method 'enabledBlurScreen(style:)' part of global actor 'MainActor'
public func enabledBlurScreen(style: UIBlurEffect.Style = UIBlurEffect.Style.light) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:86:21: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
screenBlur?.addSubview(blurBackground)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:82:17: note: add '@MainActor' to make instance method 'enabledBlurScreen(style:)' part of global actor 'MainActor'
public func enabledBlurScreen(style: UIBlurEffect.Style = UIBlurEffect.Style.light) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:87:24: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
blurBackground.frame = (screenBlur?.frame)!
^
/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: mutation of this property is only permitted within the actor
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:82:17: note: add '@MainActor' to make instance method 'enabledBlurScreen(style:)' part of global actor 'MainActor'
public func enabledBlurScreen(style: UIBlurEffect.Style = UIBlurEffect.Style.light) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:87:45: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
blurBackground.frame = (screenBlur?.frame)!
^
/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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:82:17: note: add '@MainActor' to make instance method 'enabledBlurScreen(style:)' part of global actor 'MainActor'
public func enabledBlurScreen(style: UIBlurEffect.Style = UIBlurEffect.Style.light) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:88:17: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
window?.addSubview(screenBlur!)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:82:17: note: add '@MainActor' to make instance method 'enabledBlurScreen(style:)' part of global actor 'MainActor'
public func enabledBlurScreen(style: UIBlurEffect.Style = UIBlurEffect.Style.light) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:97:21: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
screenBlur?.removeFromSuperview()
^
UIKit.UIView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:96:17: note: add '@MainActor' to make instance method 'disableBlurScreen()' part of global actor 'MainActor'
public func disableBlurScreen() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:108:23: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
screenColor = UIView(frame: w.bounds)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:149:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:106:17: note: add '@MainActor' to make instance method 'enabledColorScreen(hexColor:)' part of global actor 'MainActor'
public func enabledColorScreen(hexColor: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:108:39: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenColor = UIView(frame: w.bounds)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:188:40: note: property declared here
@property(nonatomic) CGRect bounds; // default bounds is zero origin, frame size. animatable
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:106:17: note: add '@MainActor' to make instance method 'enabledColorScreen(hexColor:)' part of global actor 'MainActor'
public func enabledColorScreen(hexColor: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:110:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
view.backgroundColor = UIColor(hexString: hexColor)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:303:66: note: mutation of this property is only permitted within the actor
@property(nullable, nonatomic,copy) UIColor *backgroundColor UI_APPEARANCE_SELECTOR; // default is nil. Can be useful with the appearance proxy on custom UIView subclasses.
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:106:17: note: add '@MainActor' to make instance method 'enabledColorScreen(hexColor:)' part of global actor 'MainActor'
public func enabledColorScreen(hexColor: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:111:11: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
w.addSubview(view)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:106:17: note: add '@MainActor' to make instance method 'enabledColorScreen(hexColor:)' part of global actor 'MainActor'
public func enabledColorScreen(hexColor: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:120:22: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
screenColor?.removeFromSuperview()
^
UIKit.UIView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:119:17: note: add '@MainActor' to make instance method 'disableColorScreen()' part of global actor 'MainActor'
public func disableColorScreen() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:130:42: error: 'UIScreen' is unavailable in visionOS
screenImage = UIImageView(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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:130:23: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
screenImage = UIImageView(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/UIView.h:149:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:129:17: note: add '@MainActor' to make instance method 'enabledImageScreen(named:)' part of global actor 'MainActor'
public func enabledImageScreen(named: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:130:56: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenImage = UIImageView(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:59:39: note: property declared here
@property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:129:17: note: add '@MainActor' to make instance method 'enabledImageScreen(named:)' part of global actor 'MainActor'
public func enabledImageScreen(named: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:130:51: warning: main actor-isolated class property 'main' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
screenImage = UIImageView(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:57:49: note: class property declared here
@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:129:17: note: add '@MainActor' to make instance method 'enabledImageScreen(named:)' part of global actor 'MainActor'
public func enabledImageScreen(named: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:131:22: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenImage?.image = UIImage(named: named)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:26:50: note: mutation of this property is only permitted within the actor
@property (nullable, nonatomic, strong) UIImage *image; // default is nil
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:129:17: note: add '@MainActor' to make instance method 'enabledImageScreen(named:)' part of global actor 'MainActor'
public func enabledImageScreen(named: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:132:22: warning: main actor-isolated property 'isUserInteractionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenImage?.isUserInteractionEnabled = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:29:61: note: mutation of this property is only permitted within the actor
@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is NO
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:129:17: note: add '@MainActor' to make instance method 'enabledImageScreen(named:)' part of global actor 'MainActor'
public func enabledImageScreen(named: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:133:22: warning: main actor-isolated property 'contentMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenImage?.contentMode = .scaleAspectFill;
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:308:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) UIViewContentMode contentMode; // default is UIViewContentModeScaleToFill
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:129:17: note: add '@MainActor' to make instance method 'enabledImageScreen(named:)' part of global actor 'MainActor'
public func enabledImageScreen(named: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:134:22: warning: main actor-isolated property 'clipsToBounds' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenImage?.clipsToBounds = true;
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:302:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) BOOL clipsToBounds; // When YES, content and subviews are clipped to the bounds of the view. Default is NO.
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:129:17: note: add '@MainActor' to make instance method 'enabledImageScreen(named:)' part of global actor 'MainActor'
public func enabledImageScreen(named: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:135:17: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
window?.addSubview(screenImage!)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:129:17: note: add '@MainActor' to make instance method 'enabledImageScreen(named:)' part of global actor 'MainActor'
public func enabledImageScreen(named: String) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:144:22: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
screenImage?.removeFromSuperview()
^
UIKit.UIView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:143:17: note: add '@MainActor' to make instance method 'disableImageScreen()' part of global actor 'MainActor'
public func disableImageScreen() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:195:13: warning: capture of 'onScreenshot' with non-sendable type '() -> Void' in a '@Sendable' closure
onScreenshot()
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:195:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
onScreenshot()
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:210:22: error: 'UIScreen' is unavailable in visionOS
forName: UIScreen.capturedDidChangeNotification,
^~~~~~~~
/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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:210:31: error: 'capturedDidChangeNotification' is unavailable in visionOS
forName: UIScreen.capturedDidChangeNotification,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:27:39: note: 'capturedDidChangeNotification' has been explicitly marked unavailable here
UIKIT_EXTERN NSNotificationName const UIScreenCapturedDidChangeNotification API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_NONISOLATED;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:214:30: error: 'UIScreen' is unavailable in visionOS
let isCaptured = UIScreen.main.isCaptured
^~~~~~~~
/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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:215:13: warning: capture of 'onScreenRecord' with non-sendable type '(Bool) -> Void' in a '@Sendable' closure
onScreenRecord(isCaptured)
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:215:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
onScreenRecord(isCaptured)
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:214:44: warning: main actor-isolated property 'isCaptured' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
let isCaptured = UIScreen.main.isCaptured
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:74:54: note: property declared here
@property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:214:39: warning: main actor-isolated class property 'main' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
let isCaptured = UIScreen.main.isCaptured
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: class property declared here
@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:226:16: error: 'UIScreen' is unavailable in visionOS
return UIScreen.main.isCaptured
^~~~~~~~
/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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:226:30: warning: main actor-isolated property 'isCaptured' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
return UIScreen.main.isCaptured
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:74:54: note: property declared here
@property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:225:17: note: add '@MainActor' to make instance method 'screenIsRecording()' part of global actor 'MainActor'
public func screenIsRecording() -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:226:25: warning: main actor-isolated class property 'main' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
return UIScreen.main.isCaptured
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: class property declared here
@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:225:17: note: add '@MainActor' to make instance method 'screenIsRecording()' part of global actor 'MainActor'
public func screenIsRecording() -> Bool {
^
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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/UIColor+Extension.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.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 -profile-generate -profile-coverage-mapping -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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ScreenProtectorKit -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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.o -index-unit-output-path /ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 Compiling\ UIColor+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/UIColor+Extension.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/UIColor+Extension.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for ScreenProtectorKit (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftDriver\ Compilation\ Requirements ScreenProtectorKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
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 ScreenProtectorKit -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.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 -profile-coverage-mapping -profile-generate -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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-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/ScreenProtectorKit-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-Swift.h (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/ScreenProtectorKit-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/ScreenProtectorKit.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftmodule (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/ScreenProtectorKit.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/ScreenProtectorKit.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftdoc (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/ScreenProtectorKit.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/ScreenProtectorKit.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.abi.json (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/ScreenProtectorKit.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/ScreenProtectorKit.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftsourceinfo (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/ScreenProtectorKit.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
SwiftDriverJobDiscovery normal arm64 Compiling UIColor+Extension.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftCompile normal arm64 Compiling\ ScreenProtectorKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
Building workspace spi-builder-workspace with scheme ScreenProtectorKit
(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
Resolved source packages:
ScreenProtectorKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: ScreenProtectorKit
{
"dependencies" : [
],
"manifest_display_name" : "ScreenProtectorKit",
"name" : "ScreenProtectorKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
}
],
"products" : [
{
"name" : "ScreenProtectorKit",
"targets" : [
"ScreenProtectorKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScreenProtectorKitTests",
"module_type" : "SwiftTarget",
"name" : "ScreenProtectorKitTests",
"path" : "Tests/ScreenProtectorKitTests",
"sources" : [
"ScreenProtectorKitTests.swift"
],
"target_dependencies" : [
"ScreenProtectorKit"
],
"type" : "test"
},
{
"c99name" : "ScreenProtectorKit",
"module_type" : "SwiftTarget",
"name" : "ScreenProtectorKit",
"path" : "Sources/ScreenProtectorKit",
"product_memberships" : [
"ScreenProtectorKit"
],
"sources" : [
"ScreenProtectorKit.swift",
"UIColor+Extension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"ScreenProtectorKit"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScreenProtectorKit -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 ScreenProtectorKit -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
ScreenProtectorKit: /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 'ScreenProtectorKit' in project 'ScreenProtectorKit'
➜ Explicit dependency on target 'ScreenProtectorKit' in project 'ScreenProtectorKit'
Target 'ScreenProtectorKit' in project 'ScreenProtectorKit' (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: 54fe0819ed1e70d86e51e7373b64835d
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/54fe0819ed1e70d86e51e7373b64835d.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 ScreenProtectorKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
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 ScreenProtectorKit -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.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 -profile-coverage-mapping -profile-generate -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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ UIColor+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/UIColor+Extension.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/UIColor+Extension.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScreenProtectorKit (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
EmitSwiftModule normal arm64 (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ScreenProtectorKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/UIColor+Extension.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.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 -profile-generate -profile-coverage-mapping -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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ScreenProtectorKit -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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.o -index-unit-output-path /ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:83:22: error: 'UIScreen' is unavailable in visionOS
screenBlur = UIScreen.main.snapshotView(afterScreenUpdates: false)
^~~~~~~~
/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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:83:36: error: 'snapshotView(afterScreenUpdates:)' is unavailable in visionOS
screenBlur = UIScreen.main.snapshotView(afterScreenUpdates: false)
^~~~~~~~~~~~
UIKit.UIScreen.snapshotView:3:24: note: 'snapshotView(afterScreenUpdates:)' has been explicitly marked unavailable here
@MainActor open func snapshotView(afterScreenUpdates afterUpdates: Bool) -> UIView}
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:130:42: error: 'UIScreen' is unavailable in visionOS
screenImage = UIImageView(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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:210:22: error: 'UIScreen' is unavailable in visionOS
forName: UIScreen.capturedDidChangeNotification,
^~~~~~~~
/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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:210:31: error: 'capturedDidChangeNotification' is unavailable in visionOS
forName: UIScreen.capturedDidChangeNotification,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:27:39: note: 'capturedDidChangeNotification' has been explicitly marked unavailable here
UIKIT_EXTERN NSNotificationName const UIScreenCapturedDidChangeNotification API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_NONISOLATED;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:214:30: error: 'UIScreen' is unavailable in visionOS
let isCaptured = UIScreen.main.isCaptured
^~~~~~~~
/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/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:226:16: error: 'UIScreen' is unavailable in visionOS
return UIScreen.main.isCaptured
^~~~~~~~
/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>
^
SwiftDriverJobDiscovery normal arm64 Emitting module for ScreenProtectorKit (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftDriver\ Compilation\ Requirements ScreenProtectorKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
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 ScreenProtectorKit -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.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 -profile-coverage-mapping -profile-generate -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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-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/ScreenProtectorKit.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.abi.json (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
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/ScreenProtectorKit.build/Debug-xros/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/ScreenProtectorKit.swiftmodule/arm64-apple-xros.abi.json
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ ScreenProtectorKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
Building workspace spi-builder-workspace with scheme ScreenProtectorKit
(3 failures)
BUILD FAILURE 6.1 visionOS