Build Information
Failed to build Unscreenshottable, reference 1.1.1 (cd8612
), with Swift 6.0 for macOS (Xcode) using Xcode 16.0 on 5 Nov 2024 06:17:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Unscreenshottable -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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: macosXcodebuild
Swift version: 6.0
Building package at path: $PWD
https://github.com/markiv/SwiftUI-Unscreenshottable.git
Command line invocation:
/Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEPackageSupportUseBuiltinSCM = YES
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.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Unscreenshottable -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
/Applications/Xcode-16.1.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 platform=macOS,arch=arm64 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
Unscreenshottable: /Users/admin/builder/spi-builder-workspace
Prepare packages
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.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 926950d8af4f46c116df00b8ff2b7e7e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/926950d8af4f46c116df00b8ff2b7e7e.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.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
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
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/Unscreenshottable.build/Unscreenshottable.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/Unscreenshottable.build/Unscreenshottable.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/Unscreenshottable.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/Unscreenshottable.build/Unscreenshottable.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps
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.1.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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -target arm64-apple-macos10.13 -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 -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/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/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/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')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.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-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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 15.1 -target-sdk-name macosx15.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.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/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json
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
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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 15.1 -target-sdk-name macosx15.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.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/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json
/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: annotate 'screenshots' with '@MainActor' if property should only be accessed from the main actor
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: annotate 'screenSharing' with '@MainActor' if property should only be accessed from the main actor
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: annotate 'inactivity' with '@MainActor' if property should only be accessed from the main actor
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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
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?
^~~~~~
/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:33:20: error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
^
/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:34:20: error: 'verticalSizeClass' is only available in macOS 10.15 or newer
@Environment(\.verticalSizeClass) private var verticalSizeClass
^
/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:29:6: error: 'State' is only available in macOS 10.15 or newer
@State private var textField: UITextField
^
/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:30:6: error: 'State' is only available in macOS 10.15 or newer
@State private var secureCanvas: UIView?
^
/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:31:6: error: 'State' is only available in macOS 10.15 or newer
@State private var hostingController: UIHostingController<Content>
^
/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:33:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
^
/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:34:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.verticalSizeClass) private var verticalSizeClass
^
/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:36:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
private var cancellables = Set<AnyCancellable>()
^
/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:64:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> 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) {
^~~~~~
/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? {
^~~~~~
/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 macOS 13.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:27:31: error: 'View' is only available in macOS 10.15 or newer
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/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:96:86: error: 'View' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:50: error: 'ViewBuilder' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:86: error: 'View' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:95: error: 'EmptyView' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:95: note: add 'if #available' version check
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
private extension UIView {
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
extension UITextField {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:61: error: 'View' is only available in macOS 10.15 or newer
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:162:12: note: add @available attribute to enclosing struct
struct ItemLabelStyle: LabelStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:173:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview {
^
SwiftCompile normal arm64 Compiling\ ProtectedView.swift /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
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.dia -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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 15.1 -target-sdk-name macosx15.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-unit-output-path /Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.dia -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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 15.1 -target-sdk-name macosx15.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-unit-output-path /Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** 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')
Building workspace spi-builder-workspace with scheme Unscreenshottable
(3 failures)
Command line invocation:
/Applications/Xcode-16.1.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 platform=macOS,arch=arm64 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
Unscreenshottable: /Users/admin/builder/spi-builder-workspace
Prepare packages
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
ClangStatCache /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache
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.1.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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -target arm64-apple-macos10.13 -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 -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/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/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/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')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.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-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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 15.1 -target-sdk-name macosx15.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.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/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json
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
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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 15.1 -target-sdk-name macosx15.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.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/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json
/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: annotate 'screenshots' with '@MainActor' if property should only be accessed from the main actor
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: annotate 'screenSharing' with '@MainActor' if property should only be accessed from the main actor
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: annotate 'inactivity' with '@MainActor' if property should only be accessed from the main actor
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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
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?
^~~~~~
/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:33:20: error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
^
/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:34:20: error: 'verticalSizeClass' is only available in macOS 10.15 or newer
@Environment(\.verticalSizeClass) private var verticalSizeClass
^
/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:29:6: error: 'State' is only available in macOS 10.15 or newer
@State private var textField: UITextField
^
/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:30:6: error: 'State' is only available in macOS 10.15 or newer
@State private var secureCanvas: UIView?
^
/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:31:6: error: 'State' is only available in macOS 10.15 or newer
@State private var hostingController: UIHostingController<Content>
^
/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:33:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
^
/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:34:6: error: 'Environment' is only available in macOS 10.15 or newer
@Environment(\.verticalSizeClass) private var verticalSizeClass
^
/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:36:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
private var cancellables = Set<AnyCancellable>()
^
/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:64:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> 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) {
^~~~~~
/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? {
^~~~~~
/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 macOS 13.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:27:31: error: 'View' is only available in macOS 10.15 or newer
struct ProtectedView<Content: View>: UIViewRepresentable {
^
/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:96:86: error: 'View' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:50: error: 'ViewBuilder' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:86: error: 'View' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:95: error: 'EmptyView' is only available in macOS 10.15 or newer
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:96:95: note: add 'if #available' version check
from options: ProtectionOptions = .all, @ViewBuilder placeholder: () -> some View = { EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:95:10: note: add @available attribute to enclosing instance method
func protected(
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:87:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
private extension UIView {
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
extension UITextField {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:139:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:136:15: note: add @available attribute to enclosing struct
public struct DemoProtectedView: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:61: error: 'View' is only available in macOS 10.15 or newer
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:163:14: note: add @available attribute to enclosing instance method
func makeBody(configuration: Configuration) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:162:12: note: add @available attribute to enclosing struct
struct ItemLabelStyle: LabelStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:173:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview {
^
SwiftCompile normal arm64 Compiling\ ProtectedView.swift /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
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.dia -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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 15.1 -target-sdk-name macosx15.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-unit-output-path /Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.dia -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/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/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.1-24B75-44d23fded74b714c58e69ec4af40d824.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/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 15.1 -target-sdk-name macosx15.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-unit-output-path /Unscreenshottable.build/Debug/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** 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')
Building workspace spi-builder-workspace with scheme Unscreenshottable
(3 failures)
BUILD FAILURE 6.0 macosXcodebuild