Build Information
Successful build of ScreenProtectorKit, reference 1.4.5 (c2bfb6), with Swift 6.1 for iOS using Xcode 16.3 on 14 Dec 2025 10:01:39 UTC.
Swift 6 data race errors: 1
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=iOS 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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/prongbang/ScreenProtectorKit.git
Reference: 1.4.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/prongbang/ScreenProtectorKit
* tag 1.4.5 -> FETCH_HEAD
HEAD is now at c2bfb6b fix: avoid removing overlay views during background transition
Cloned https://github.com/prongbang/ScreenProtectorKit.git
Revision (git rev-parse @):
c2bfb6b1c27900dbb36975a397a534e3fd1d818a
SUCCESS checkout https://github.com/prongbang/ScreenProtectorKit.git at 1.4.5
========================================
Build
========================================
Selected platform: iOS
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" : "11.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",
"ScreenProtectorKitManager.swift",
"UIColor+Extension.swift",
"WindowManager.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" : "11.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",
"ScreenProtectorKitManager.swift",
"UIColor+Extension.swift",
"WindowManager.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=iOS 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=iOS "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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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: 8170128a598d1a27c61e3f3a33fa0875
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/8170128a598d1a27c61e3f3a33fa0875.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
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-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/ScreenProtectorKit.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/ScreenProtectorKit.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/ScreenProtectorKit.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_const_extract_protocols.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/ScreenProtectorKit.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/ScreenProtectorKit.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos
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-iphoneos/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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -target arm64-apple-ios12.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-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/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\ ScreenProtectorKitManager.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:17:80: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
if Thread.isMainThread { work() } else { DispatchQueue.main.async(execute: work) }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:16:22: note: parameter 'work' is implicitly non-sendable
public func onMain(_ work: @escaping () -> Void) {
^
@Sendable
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:168:30: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager?' in a '@Sendable' closure
guard let self = self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:169:44: warning: capture of 'snapshot' with non-sendable type 'StateSnapshot' in a '@Sendable' closure
self._preventScreenshotState = snapshot.preventScreenshotState
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:62:15: note: consider making struct 'StateSnapshot' conform to the 'Sendable' protocol
public struct StateSnapshot: Equatable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:238:44: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._colorProtectionState = .off }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:239:44: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._imageProtectionState = .off }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:240:44: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._blurProtectionState = .off }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:251:44: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._preventScreenshotState = .on }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:260:44: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._preventScreenshotState = .off }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:338:48: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._blurProtectionState = .on }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:341:48: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._imageProtectionName = name }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:342:48: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._imageProtectionState = .on }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:345:48: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._colorProtectionHex = hex }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:346:48: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._colorProtectionState = .on }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:360:48: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._blurProtectionState = .off }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:364:48: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._imageProtectionState = .off }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:368:48: warning: capture of 'self' with non-sendable type 'ScreenProtectorKitManager' in a '@Sendable' closure
syncQueue.async(flags: .barrier) { self._colorProtectionState = .off }
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKitManager.swift:113:20: note: class 'ScreenProtectorKitManager' does not conform to the 'Sendable' protocol
public final class ScreenProtectorKitManager: ScreenProtectorKitManaging {
^
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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:86:30: 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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:87:28: 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 blurView = UIVisualEffectView(effect: blurEffect)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:88:22: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
blurView.frame = w.bounds
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:88:32: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
blurView.frame = w.bounds
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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: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:89:22: warning: main actor-isolated property 'autoresizingMask' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
blurView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:212:41: note: mutation of this property is only permitted within the actor
@property(nonatomic) UIViewAutoresizing autoresizingMask; // simple resize. default is UIViewAutoresizingNone
^
/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:90: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
blurView.isUserInteractionEnabled = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:59: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
^
/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:92: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(blurView)
^
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:95:21: warning: main actor-isolated property 'isHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenBlur?.isHidden = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/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:96:21: warning: main actor-isolated property 'alpha' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenBlur?.alpha = 1.0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:304:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGFloat alpha; // animatable. default is 1.0
^
/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:105:21: warning: main actor-isolated property 'alpha' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenBlur?.alpha = 0.0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:304:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGFloat alpha; // animatable. default is 1.0
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:104: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:106:21: warning: main actor-isolated property 'isHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenBlur?.isHidden = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:104: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:118:24: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let view = UIView(frame: w.bounds)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:114: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:118:40: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let view = UIView(frame: w.bounds)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:114: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:119:18: warning: main actor-isolated property 'autoresizingMask' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
view.autoresizingMask = [.flexibleWidth, .flexibleHeight]
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:212:41: note: mutation of this property is only permitted within the actor
@property(nonatomic) UIViewAutoresizing autoresizingMask; // simple resize. default is UIViewAutoresizingNone
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:114: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:18: 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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:114: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:122: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(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:114: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:125:22: warning: main actor-isolated property 'isHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenColor?.isHidden = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:114: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:126:22: warning: main actor-isolated property 'alpha' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenColor?.alpha = 1.0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:304:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGFloat alpha; // animatable. default is 1.0
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:114: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:135:22: warning: main actor-isolated property 'isHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenColor?.isHidden = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:134: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:136:22: warning: main actor-isolated property 'alpha' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenColor?.alpha = 0.0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:304:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGFloat alpha; // animatable. default is 1.0
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:134: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:148:29: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let imageView = UIImageView(frame: w.bounds)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:144: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:148:50: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let imageView = UIImageView(frame: w.bounds)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:144: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:149:23: warning: main actor-isolated property 'autoresizingMask' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
imageView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:212:41: note: mutation of this property is only permitted within the actor
@property(nonatomic) UIViewAutoresizing autoresizingMask; // simple resize. default is UIViewAutoresizingNone
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:144: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:150:23: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
imageView.image = UIImage(named: named)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:144: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:151:23: warning: main actor-isolated property 'isUserInteractionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
imageView.isUserInteractionEnabled = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:144: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:152:23: warning: main actor-isolated property 'contentMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
imageView.contentMode = .scaleAspectFill
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:144: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:153:23: warning: main actor-isolated property 'clipsToBounds' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
imageView.clipsToBounds = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:144: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:155: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(imageView)
^
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:144: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:158:22: warning: main actor-isolated property 'isHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenImage?.isHidden = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:144: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:159:22: warning: main actor-isolated property 'alpha' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenImage?.alpha = 1.0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:304:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGFloat alpha; // animatable. default is 1.0
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:144: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:168:22: warning: main actor-isolated property 'isHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenImage?.isHidden = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:167: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:169:22: warning: main actor-isolated property 'alpha' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
screenImage?.alpha = 0.0
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:304:56: note: mutation of this property is only permitted within the actor
@property(nonatomic) CGFloat alpha; // animatable. default is 1.0
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:167: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:219: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:219:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
onScreenshot()
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/ScreenProtectorKit.swift:239: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:239: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:238: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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:238: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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:250: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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:249: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:250: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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.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:249:17: note: add '@MainActor' to make instance method 'screenIsRecording()' part of global actor 'MainActor'
public func screenIsRecording() -> Bool {
^
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
SwiftCompile normal arm64 Compiling\ WindowManager.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:37:55: warning: main actor-isolated property 'connectedScenes' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let sceneWindow = UIApplication.shared.connectedScenes
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:170:50: note: property declared here
@property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:34:18: note: add '@MainActor' to make instance method 'findKeyWindow()' part of global actor 'MainActor'
private func findKeyWindow() -> UIWindow? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:37:48: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let sceneWindow = UIApplication.shared.connectedScenes
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:34:18: note: add '@MainActor' to make instance method 'findKeyWindow()' part of global actor 'MainActor'
private func findKeyWindow() -> UIWindow? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:39:31: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
.flatMap({ $0.windows })
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:38:54: note: property declared here
@property (nonatomic, readonly) NSArray<UIWindow *> *windows;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:40:36: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
.first(where: { $0.isKeyWindow }) { return sceneWindow }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:42:55: note: property declared here
@property(nonatomic,readonly,getter=isKeyWindow) BOOL keyWindow;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:43:53: warning: main actor-isolated property 'connectedScenes' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let anyWindow = UIApplication.shared.connectedScenes
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:170:50: note: property declared here
@property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:34:18: note: add '@MainActor' to make instance method 'findKeyWindow()' part of global actor 'MainActor'
private func findKeyWindow() -> UIWindow? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:43:46: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let anyWindow = UIApplication.shared.connectedScenes
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:34:18: note: add '@MainActor' to make instance method 'findKeyWindow()' part of global actor 'MainActor'
private func findKeyWindow() -> UIWindow? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:45:31: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
.flatMap({ $0.windows })
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:38:54: note: property declared here
@property (nonatomic, readonly) NSArray<UIWindow *> *windows;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:49:56: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let legacyWindow = UIApplication.shared.delegate?.window as? UIWindow {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:89:66: note: property declared here
@property(nullable, nonatomic, assign) id<UIApplicationDelegate> delegate;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:34:18: note: add '@MainActor' to make instance method 'findKeyWindow()' part of global actor 'MainActor'
private func findKeyWindow() -> UIWindow? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:49:49: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let legacyWindow = UIApplication.shared.delegate?.window as? UIWindow {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:34:18: note: add '@MainActor' to make instance method 'findKeyWindow()' part of global actor 'MainActor'
private func findKeyWindow() -> UIWindow? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:49:66: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let legacyWindow = UIApplication.shared.delegate?.window as? UIWindow {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:441:51: note: property declared here
@property (nullable, nonatomic, strong) UIWindow *window API_AVAILABLE(ios(5.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:34:18: note: add '@MainActor' to make instance method 'findKeyWindow()' part of global actor 'MainActor'
private func findKeyWindow() -> UIWindow? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:54:47: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let window = UIApplication.shared.delegate?.window as? UIWindow
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:89:66: note: property declared here
@property(nullable, nonatomic, assign) id<UIApplicationDelegate> delegate;
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:34:18: note: add '@MainActor' to make instance method 'findKeyWindow()' part of global actor 'MainActor'
private func findKeyWindow() -> UIWindow? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:54:40: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let window = UIApplication.shared.delegate?.window as? UIWindow
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:34:18: note: add '@MainActor' to make instance method 'findKeyWindow()' part of global actor 'MainActor'
private func findKeyWindow() -> UIWindow? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:54:57: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let window = UIApplication.shared.delegate?.window as? UIWindow
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:441:51: note: property declared here
@property (nullable, nonatomic, strong) UIWindow *window API_AVAILABLE(ios(5.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:34:18: note: add '@MainActor' to make instance method 'findKeyWindow()' part of global actor 'MainActor'
private func findKeyWindow() -> UIWindow? {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:55:51: warning: main actor-isolated property 'keyWindow' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
return window ?? UIApplication.shared.keyWindow
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:108:51: note: property declared here
@property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:55:44: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
return window ?? UIApplication.shared.keyWindow
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:25:22: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
result = self.findKeyWindow()
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ScreenProtectorKit/WindowManager.swift:25:22: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
result = self.findKeyWindow()
^~~~
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-iphoneos/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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -target arm64-apple-ios12.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-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/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-iphoneos/ScreenProtectorKit-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/ScreenProtectorKit-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.swiftmodule/arm64-apple-ios.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.swiftmodule/arm64-apple-ios.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.swiftmodule/arm64-apple-ios.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.swiftmodule/arm64-apple-ios.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.swiftmodule/arm64-apple-ios.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.swiftmodule/arm64-apple-ios.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
SwiftDriverJobDiscovery normal arm64 Compiling ScreenProtectorKitManager.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftDriverJobDiscovery normal arm64 Compiling UIColor+Extension.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftDriverJobDiscovery normal arm64 Compiling WindowManager.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftDriverJobDiscovery normal arm64 Compiling ScreenProtectorKit.swift (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
SwiftDriver\ Compilation 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 -- /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-iphoneos/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/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -target arm64-apple-ios12.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-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/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-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.o normal (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios12.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.o
ExtractAppIntentsMetadata (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name ScreenProtectorKit --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk --xcode-version 16E140 --platform-family iOS --deployment-target 12.0 --bundle-identifier spi-builder-workspace.ScreenProtectorKit --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.appintents --target-triple arm64-apple-ios12.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/ScreenProtectorKit.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/ScreenProtectorKit.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenProtectorKit.build/Debug-iphoneos/ScreenProtectorKit.build/Objects-normal/arm64/ScreenProtectorKit.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2025-12-14 02:01:38.407 appintentsmetadataprocessor[746:4348] Starting appintentsmetadataprocessor export
2025-12-14 02:01:38.446 appintentsmetadataprocessor[746:4348] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.o (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ScreenProtectorKit.o
** BUILD SUCCEEDED **
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ScreenProtectorKit",
"name" : "ScreenProtectorKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.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",
"ScreenProtectorKitManager.swift",
"UIColor+Extension.swift",
"WindowManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.