Build Information
Failed to build Unscreenshottable, reference 1.1.1 (cd8612
), with Swift 6.1 for watchOS using Xcode 16.3 on 28 Apr 2025 23:03:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Unscreenshottable -destination generic/platform=watchOS
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markiv/SwiftUI-Unscreenshottable.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markiv/SwiftUI-Unscreenshottable
* tag 1.1.1 -> FETCH_HEAD
HEAD is now at cd8612f Support screen rotation
Cloned https://github.com/markiv/SwiftUI-Unscreenshottable.git
Revision (git rev-parse @):
cd8612f7239c4c5a1667759353b1815b39413079
SUCCESS checkout https://github.com/markiv/SwiftUI-Unscreenshottable.git at 1.1.1
========================================
Build
========================================
Selected platform: watchOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/markiv/SwiftUI-Unscreenshottable.git
https://github.com/markiv/SwiftUI-Unscreenshottable.git
{
"dependencies" : [
],
"manifest_display_name" : "Unscreenshottable",
"name" : "Unscreenshottable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Unscreenshottable",
"targets" : [
"Unscreenshottable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UnscreenshottableTests",
"module_type" : "SwiftTarget",
"name" : "UnscreenshottableTests",
"path" : "Tests/UnscreenshottableTests",
"sources" : [
"UnscreenshottableTests.swift"
],
"target_dependencies" : [
"Unscreenshottable"
],
"type" : "test"
},
{
"c99name" : "Unscreenshottable",
"module_type" : "SwiftTarget",
"name" : "Unscreenshottable",
"path" : "Sources/Unscreenshottable",
"product_memberships" : [
"Unscreenshottable"
],
"sources" : [
"ProtectedView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
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
Resolve Package Graph
Resolved source packages:
Unscreenshottable: /Users/admin/builder/spi-builder-workspace
resolved source packages: Unscreenshottable
{
"dependencies" : [
],
"manifest_display_name" : "Unscreenshottable",
"name" : "Unscreenshottable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Unscreenshottable",
"targets" : [
"Unscreenshottable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UnscreenshottableTests",
"module_type" : "SwiftTarget",
"name" : "UnscreenshottableTests",
"path" : "Tests/UnscreenshottableTests",
"sources" : [
"UnscreenshottableTests.swift"
],
"target_dependencies" : [
"Unscreenshottable"
],
"type" : "test"
},
{
"c99name" : "Unscreenshottable",
"module_type" : "SwiftTarget",
"name" : "Unscreenshottable",
"path" : "Sources/Unscreenshottable",
"product_memberships" : [
"Unscreenshottable"
],
"sources" : [
"ProtectedView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"Unscreenshottable"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Unscreenshottable -destination generic/platform=watchOS 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 Unscreenshottable -destination generic/platform=watchOS "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:
Unscreenshottable: /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 'Unscreenshottable' in project 'Unscreenshottable'
➜ Explicit dependency on target 'Unscreenshottable' in project 'Unscreenshottable'
Target 'Unscreenshottable' in project 'Unscreenshottable' (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/WatchOS.platform/Developer/SDKs/WatchOS11.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: 7310a57248e9a99578cece444c6a1ccd
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/7310a57248e9a99578cece444c6a1ccd.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/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.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/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
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-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Unscreenshottable.DependencyStaticMetadataFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Unscreenshottable.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Unscreenshottable.DependencyMetadataFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Unscreenshottable.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Unscreenshottable.modulemap (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Unscreenshottable.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.SwiftConstValuesFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.SwiftFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.LinkFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable_const_extract_protocols.json (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-OutputFileMap.json (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable_const_extract_protocols.json (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.SwiftFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.SwiftConstValuesFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.LinkFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable-OutputFileMap.json (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.SwiftFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.SwiftConstValuesFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.LinkFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-OutputFileMap.json (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/Unscreenshottable.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Unscreenshottable.modulemap (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Unscreenshottable.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos
SwiftDriver Unscreenshottable normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'Unscreenshottable' from project 'Unscreenshottable')
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 Unscreenshottable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.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/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos7.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-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable-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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver Unscreenshottable normal armv7k com.apple.xcode.tools.swift.compiler (in target 'Unscreenshottable' from project 'Unscreenshottable')
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 Unscreenshottable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.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/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos7.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-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver Unscreenshottable normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Unscreenshottable' from project 'Unscreenshottable')
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 Unscreenshottable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.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/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos7.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-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: warning: static property 'screenshots' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: add '@MainActor' to make static property 'screenshots' part of global actor 'MainActor'
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: warning: static property 'screenSharing' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: add '@MainActor' to make static property 'screenSharing' part of global actor 'MainActor'
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: warning: static property 'inactivity' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: add '@MainActor' to make static property 'inactivity' part of global actor 'MainActor'
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
@State private var textField: UITextField
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
@State private var secureCanvas: UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
@State private var hostingController: UIHostingController<Content>
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in watchOS 9.0 or newer
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:10: note: add @available attribute to enclosing instance method
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
struct ProtectedView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
private extension UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
extension UITextField {
^~~~~~~~~~~
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -target arm64-apple-watchos7.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json
SwiftCompile normal arm64 Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal armv7k Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -target armv7k-apple-watchos7.0 -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.abi.json
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: warning: static property 'screenshots' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: add '@MainActor' to make static property 'screenshots' part of global actor 'MainActor'
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: warning: static property 'screenSharing' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: add '@MainActor' to make static property 'screenSharing' part of global actor 'MainActor'
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: warning: static property 'inactivity' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: add '@MainActor' to make static property 'inactivity' part of global actor 'MainActor'
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
@State private var textField: UITextField
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
@State private var secureCanvas: UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
@State private var hostingController: UIHostingController<Content>
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in watchOS 9.0 or newer
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:10: note: add @available attribute to enclosing instance method
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
struct ProtectedView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
private extension UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
extension UITextField {
^~~~~~~~~~~
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -target arm64_32-apple-watchos7.0 -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.abi.json
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: warning: static property 'screenshots' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: add '@MainActor' to make static property 'screenshots' part of global actor 'MainActor'
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: warning: static property 'screenSharing' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: add '@MainActor' to make static property 'screenSharing' part of global actor 'MainActor'
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: warning: static property 'inactivity' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: add '@MainActor' to make static property 'inactivity' part of global actor 'MainActor'
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
@State private var textField: UITextField
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
@State private var secureCanvas: UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
@State private var hostingController: UIHostingController<Content>
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in watchOS 9.0 or newer
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:10: note: add @available attribute to enclosing instance method
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
struct ProtectedView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
private extension UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
extension UITextField {
^~~~~~~~~~~
SwiftCompile normal armv7k Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftEmitModule normal arm64 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftEmitModule normal armv7k Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
Building workspace spi-builder-workspace with scheme Unscreenshottable
(7 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
Unscreenshottable: /Users/admin/builder/spi-builder-workspace
resolved source packages: Unscreenshottable
{
"dependencies" : [
],
"manifest_display_name" : "Unscreenshottable",
"name" : "Unscreenshottable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Unscreenshottable",
"targets" : [
"Unscreenshottable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UnscreenshottableTests",
"module_type" : "SwiftTarget",
"name" : "UnscreenshottableTests",
"path" : "Tests/UnscreenshottableTests",
"sources" : [
"UnscreenshottableTests.swift"
],
"target_dependencies" : [
"Unscreenshottable"
],
"type" : "test"
},
{
"c99name" : "Unscreenshottable",
"module_type" : "SwiftTarget",
"name" : "Unscreenshottable",
"path" : "Sources/Unscreenshottable",
"product_memberships" : [
"Unscreenshottable"
],
"sources" : [
"ProtectedView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"Unscreenshottable"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Unscreenshottable -destination generic/platform=watchOS
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 Unscreenshottable -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
Unscreenshottable: /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 'Unscreenshottable' in project 'Unscreenshottable'
➜ Explicit dependency on target 'Unscreenshottable' in project 'Unscreenshottable'
Target 'Unscreenshottable' in project 'Unscreenshottable' (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/WatchOS.platform/Developer/SDKs/WatchOS11.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: a98935ff5af562b98ba10ef701f00830
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/a98935ff5af562b98ba10ef701f00830.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.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/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
SwiftDriver Unscreenshottable normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'Unscreenshottable' from project 'Unscreenshottable')
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 Unscreenshottable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos7.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-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable-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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64_32/Unscreenshottable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver Unscreenshottable normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Unscreenshottable' from project 'Unscreenshottable')
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 Unscreenshottable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos7.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-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver Unscreenshottable normal armv7k com.apple.xcode.tools.swift.compiler (in target 'Unscreenshottable' from project 'Unscreenshottable')
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 Unscreenshottable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos7.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-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.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/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
@State private var textField: UITextField
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
@State private var secureCanvas: UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
@State private var hostingController: UIHostingController<Content>
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in watchOS 9.0 or newer
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:10: note: add @available attribute to enclosing instance method
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
struct ProtectedView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
private extension UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
extension UITextField {
^~~~~~~~~~~
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -target arm64-apple-watchos7.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json
SwiftEmitModule normal armv7k Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -target armv7k-apple-watchos7.0 -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-watchos/Unscreenshottable.build/Objects-normal/armv7k/Unscreenshottable.abi.json
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
@State private var textField: UITextField
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
@State private var secureCanvas: UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
@State private var hostingController: UIHostingController<Content>
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in watchOS 9.0 or newer
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:10: note: add @available attribute to enclosing instance method
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
struct ProtectedView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
private extension UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
extension UITextField {
^~~~~~~~~~~
SwiftCompile normal arm64 Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
@State private var textField: UITextField
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
@State private var secureCanvas: UIView?
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
@State private var hostingController: UIHostingController<Content>
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in watchOS 9.0 or newer
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:10: note: add @available attribute to enclosing instance method
func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:8: note: add @available attribute to enclosing generic struct
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
struct ProtectedView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
private extension UIView {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
extension UITextField {
^~~~~~~~~~~
SwiftCompile normal arm64_32 Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftEmitModule normal arm64 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftEmitModule normal armv7k Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
Building workspace spi-builder-workspace with scheme Unscreenshottable
(6 failures)
BUILD FAILURE 6.1 watchOS