The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Unscreenshottable, reference main (a733dd), with Swift 6.4 for macOS (Xcode) using Xcode 27.0 on 20 Sep 2026 20:52:18 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Unscreenshottable -destination platform=macOS,arch=arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markiv/SwiftUI-Unscreenshottable.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markiv/SwiftUI-Unscreenshottable
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a733dd9 Add files via upload
Cloned https://github.com/markiv/SwiftUI-Unscreenshottable.git
Revision (git rev-parse @):
a733dd92213e09a2e69fe68cca0d564a0d58c32b
SUCCESS checkout https://github.com/markiv/SwiftUI-Unscreenshottable.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.4
Building package at path:  $PWD
https://github.com/markiv/SwiftUI-Unscreenshottable.git
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  Unscreenshottable: /Users/admin/builder/spi-builder-workspace
resolved source packages: Unscreenshottable
2026-09-20 16:51:32.633 xcodebuild[524:2997] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "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.9"
}
{
  "workspace" : {
    "name" : "Unscreenshottable",
    "schemes" : [
      "Unscreenshottable"
    ]
  }
}
2026-09-20 16:52:04.591 xcodebuild[622:3777] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Unscreenshottable -destination platform=macOS,arch=arm64
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.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
Resolve Package Graph
Resolved source packages:
  Unscreenshottable: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'Unscreenshottable-product' in project 'Unscreenshottable'
        ➜ Explicit dependency on target 'Unscreenshottable' in project 'Unscreenshottable'
    Target 'Unscreenshottable' in project 'Unscreenshottable' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: d549aa855a11d341b6e446faceafaddd
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d549aa855a11d341b6e446faceafaddd.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
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-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.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/PrecompiledHeaders
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
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-t.build/Unscreenshottable.DependencyStaticMetadataFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Unscreenshottable.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.build/Unscreenshottable.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.build/Unscreenshottable.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.build/Objects-normal/arm64/Unscreenshottable.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.build/Objects-normal/arm64/Unscreenshottable-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.build/Objects-normal/arm64/Unscreenshottable.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.SwiftConstValuesFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.SwiftConstValuesFileList
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-t.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-t.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-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name Unscreenshottable -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.build/Objects-normal/arm64/Unscreenshottable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-DHLCBWKPNUZOYTPJ1J3QVTCXK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-CJTV5E7EL3MWRA437DUFPBVN2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-105CRCDRP90FQCQO5ZX1LHV7H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-BLUUWKI6AGMD7TJ4RGYS7DP6T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-7CFWA9OSW5N24E7PG4ZOCF1VH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-2W92ZJRLNJU99RJUQGGJG3OC3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-3GI9GOKXSW3QCTFOI1USFLDZO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-13SNQ6N57G3DOS3KQA7V91OE7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-C4V0DQ62WSTCYBYGILXXGQNO3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-KYV2HKP8IKLKMKQS9DGA2GUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-7PRJIG163YE9KSKYA3BS35ZZP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-94WUUGE4H5R03OWXE0QFZX1DN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-AXGUGXBFPC0I7QDLJFB0K341Y.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-52XE6HC8DWOG6S7B5QAI046D1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-F4RNCN6UR5R5OWTLTOUM7TN3E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-10WPXBF3YFYMX5HUAW06LSABR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-22CBBOK8BNSF0UELDCAXSHGB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-32PO5Q4RCB6WXH5VFO3HA3AVS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-4O6R03GTH5FLWSHEUBP0Z3GZ2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-8LN7S35C6I48KJOCW7VPXX04X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/libDER-5RCYOD0PCUUY2UGMBNE9LI8N9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-1U6AP9A8AJ4G9WD98E9RHLGTJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-1RAAWNGKQM8YGHV0YJNNN5YDY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-A9TKR8OE9APRJ1RNS7F0OBY4Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/libkern-22MDXN9G35RPO3OLKX9B2PN16.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-AWTJ65TFR7TMST2NUE6ZCC1SL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/launch-2XAORMJNLLVS0OVKC1M0752GY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CUPS-45MNISAOHSEBD6VQA5G0MXN9H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-B89IQP2TC4CFSWOUMTUZRI1VZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-2JNOU2HNJ0Q174XCFCD0GCOUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-3KLCCI03OX6OQTLJ92KQH2KIO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-10SJ5M8R2OB4BG1TPFL9SZMKV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-NAMWF9KN29KC7Z5OS3TTTAE8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-4ZIITQ30SOGUQE8KJAB99ZV0Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-E1MSAZG4ZNL24S2WK6K6Y7GWW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-BYOEVK2GEMB4Q8WWHGZGREA00.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-CVHS5CT20191MFYXQIEDWSRGJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-ESPJ7FP0YAY1EL3VXBGY9MCZ8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ColorSync-BBCIZDDQ6O3QECFAWJQ6RU4ZJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOKit-6H3X691EDBH124EYTC2PEOP5T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-EEH2XZ47XX4YM3FOOISUYVRQE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DiskArbitration-ZNZZU7T0SYELB0DAR56WQF0R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-5TRMNDB7ZP6FFMRNSZCWEOZMD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreServices-CGCGY0FOMEQGSNMO3HQSC09XU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-88YNP2EU498GB5YXIFJ9ANNYW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-C1WSF2HWGIKVJ2XHWBKXQBSEY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-44WR0NU86C67CV5BW8W1MGKNG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-4EPJ39F9L3QQ9486B5AMG5G6J.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-5GDUUWT6YIA10PE5D9A8SXWZ9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-2HJ1Z8HJBPECRD89AVJ0X7S63.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-1GSRGGGEESVJH9OULZA91RAA3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-8XPVZMQXZVBU162UQPW77JTL1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-1TUG4NQVIPJF59WSUNATZ447F.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-5LG8RE3Q01MBLZVRR3FFHHL5H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-6F38G4T85MOHD9AA2EH4U2PJS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-2NFSQR6R0R96WH1KKGBXW1J.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ApplicationServices-ALXSS633FQY42UMJSLR6MNLSK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGL-FXV81CD8YS42YTVJKJH1VLGA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-KM8CI04R5X5OUWMGRMNZE4KP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-11TKSDKW0L2K02H4B9ZHWLM3B.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-AKYY8VSFWQ6KIIXG3EQJ7PW5T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-699WGYGEEF2LGFEEGSCM9Y1UF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-AP21NXF3BYPWOG416U3DI6QME.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-ESLJM4CVIQEQNCRTK6KPAF1I7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AppKit-C2WRQ26QXORUMMNQB0M8H4QYD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-5IEOINZEJ69OCDVRMHPS5W4XI.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |                                   `- error: cannot find type 'UITextField' in scope
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
macro expansion @State:1:43: error: cannot find type 'UITextField' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:46: note: expanded code originates here
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |     `- note: in expansion of macro 'State' on property 'textField' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _textField: SwiftUICore.State<UITextField>
    |  |                                           `- error: cannot find type 'UITextField' in scope
    |2 |
    |3 | private var $textField: SwiftUICore.Binding<UITextField> {
    +-------------------------------------------------------------------
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
macro expansion @State:3:45: error: cannot find type 'UITextField' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:46: note: expanded code originates here
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |     `- note: in expansion of macro 'State' on property 'textField' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _textField: SwiftUICore.State<UITextField>
    |2 |
    |3 | private var $textField: SwiftUICore.Binding<UITextField> {
    |  |                                             `- error: cannot find type 'UITextField' in scope
    |4 |     _textField.projectedValue
    |5 | }
    +-------------------------------------------------------------------
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |                                      `- error: cannot find type 'UIView' in scope
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:2:24: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __secureCanvas = SwiftUICore.State._makeStorage(({
    | 2 |             let value: UIView? = nil
    |   |                        `- error: cannot find type 'UIView' in scope
    | 3 |             return value
    | 4 |         }))
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:8:27: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Vuc2NyZWVuc2hvdHRhYmxlMTNQcm90ZWN0ZWRWaWV3VjEyc2VjdXJlQ2FudmFzMzNfMTVFQkU4OTA5ODkwNkYyOEJFOEIwQzA1MUU4M0JERTZMTDVTdGF0ZWZNcF8yMF9pbml0aWFsU3RvcmVkVmFsdWVfZk11Xw==")
    | 7 | private var _secureCanvas: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 8 |         SwiftUICore.State<UIView?>(initialValue: nil)
    |   |                           `- error: cannot find type 'UIView' in scope
    | 9 |     })
    |10 |
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:7:46: error: could not infer type for placeholder
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 5 |
    | 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Vuc2NyZWVuc2hvdHRhYmxlMTNQcm90ZWN0ZWRWaWV3VjEyc2VjdXJlQ2FudmFzMzNfMTVFQkU4OTA5ODkwNkYyOEJFOEIwQzA1MUU4M0JERTZMTDVTdGF0ZWZNcF8yMF9pbml0aWFsU3RvcmVkVmFsdWVfZk11Xw==")
    | 7 | private var _secureCanvas: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    |   |                                              `- error: could not infer type for placeholder
    | 8 |         SwiftUICore.State<UIView?>(initialValue: nil)
    | 9 |     })
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:12:47: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    |10 |
    |11 | @SwiftUICore._StateProjectedValue
    |12 | private var $secureCanvas = SwiftUICore.State<UIView?>(initialValue: nil).projectedValue
    |   |                                               `- error: cannot find type 'UIView' in scope
    |13 |
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKGluaXRpYWxWYWx1ZTogeyBsZXQgeDogVUlWaWV3PyA9IG5pbApyZXR1cm4geCB9KCkp")
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:16:20: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKGluaXRpYWxWYWx1ZTogeyBsZXQgeDogVUlWaWV3PyA9IG5pbApyZXR1cm4geCB9KCkp")
    |15 | private static var $s17Unscreenshottable13ProtectedViewV12secureCanvas33_15EBE89098906F28BE8B0C051E83BDE6LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
    |16 |             let x: UIView? = nil
    |   |                    `- error: cannot find type 'UIView' in scope
    |17 |             return x
    |18 |         }()))
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |                                           `- error: cannot find type 'UIHostingController' in scope
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
macro expansion @State:1:51: error: cannot find type 'UIHostingController' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:71: note: expanded code originates here
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |     `- note: in expansion of macro 'State' on property 'hostingController' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _hostingController: SwiftUICore.State<UIHostingController<Content>>
    |  |                                                   `- error: cannot find type 'UIHostingController' in scope
    |2 |
    |3 | private var $hostingController: SwiftUICore.Binding<UIHostingController<Content>> {
    +-------------------------------------------------------------------
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
macro expansion @State:3:53: error: cannot find type 'UIHostingController' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:71: note: expanded code originates here
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |     `- note: in expansion of macro 'State' on property 'hostingController' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _hostingController: SwiftUICore.State<UIHostingController<Content>>
    |2 |
    |3 | private var $hostingController: SwiftUICore.Binding<UIHostingController<Content>> {
    |  |                                                     `- error: cannot find type 'UIHostingController' in scope
    |4 |     _hostingController.projectedValue
    |5 | }
    +-------------------------------------------------------------------
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
 62 |     }
 63 |
 64 |     func makeUIView(context: Context) -> UIView {
    |                                          `- error: cannot find type 'UIView' in scope
 65 |         hostingController.view
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
 62 |     }
 63 |
 64 |     func makeUIView(context: Context) -> UIView {
    |                              `- error: cannot find type 'Context' in scope
 65 |         hostingController.view
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
 66 |     }
 67 |
 68 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                 `- error: cannot find type 'UIView' in scope
 69 |         guard options.contains(.screenshots), secureCanvas == nil else { return }
 70 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
 66 |     }
 67 |
 68 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                                  `- error: cannot find type 'Context' in scope
 69 |         guard options.contains(.screenshots), secureCanvas == nil else { return }
 70 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |                                                             `- error: cannot find type 'UIView' in scope
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |                                                                              `- error: cannot find type 'Context' in scope
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 25 | }
 26 |
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    :
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |          |                        `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
 25 | }
 26 |
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
    |                                      `- error: cannot find type 'UIViewRepresentable' in scope
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
104 | }
105 |
106 | private extension UIView {
    |                   `- error: cannot find type 'UIView' in scope
107 |     func overlay(subview: UIView) {
108 |         subview.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
117 | }
118 |
119 | extension UITextField {
    |           `- error: cannot find type 'UITextField' in scope
120 |     /// Extracts a canvas view from a secure `TextField`'s view hierarchy.
121 |     /// The canvas view is a internal view that hides its subviews during a screenshot.
Failed frontend command:
SwiftCompile normal arm64 (in target 'Unscreenshottable' from project 'Unscreenshottable')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Applications/Xcode-27.0.0-Release.Candidate.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-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -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 -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/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Unscreenshottable -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.abi.json
SwiftCompile normal arm64 Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |                                   `- error: cannot find type 'UITextField' in scope
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
macro expansion @State:1:43: error: cannot find type 'UITextField' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:46: note: expanded code originates here
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |     `- note: in expansion of macro 'State' on property 'textField' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _textField: SwiftUICore.State<UITextField>
    |  |                                           `- error: cannot find type 'UITextField' in scope
    |2 |
    |3 | private var $textField: SwiftUICore.Binding<UITextField> {
    +-------------------------------------------------------------------
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
macro expansion @State:3:45: error: cannot find type 'UITextField' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:46: note: expanded code originates here
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |     `- note: in expansion of macro 'State' on property 'textField' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _textField: SwiftUICore.State<UITextField>
    |2 |
    |3 | private var $textField: SwiftUICore.Binding<UITextField> {
    |  |                                             `- error: cannot find type 'UITextField' in scope
    |4 |     _textField.projectedValue
    |5 | }
    +-------------------------------------------------------------------
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |                                      `- error: cannot find type 'UIView' in scope
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:2:24: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __secureCanvas = SwiftUICore.State._makeStorage(({
    | 2 |             let value: UIView? = nil
    |   |                        `- error: cannot find type 'UIView' in scope
    | 3 |             return value
    | 4 |         }))
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:8:27: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Vuc2NyZWVuc2hvdHRhYmxlMTNQcm90ZWN0ZWRWaWV3VjEyc2VjdXJlQ2FudmFzMzNfMTVFQkU4OTA5ODkwNkYyOEJFOEIwQzA1MUU4M0JERTZMTDVTdGF0ZWZNcF8yMF9pbml0aWFsU3RvcmVkVmFsdWVfZk11Xw==")
    | 7 | private var _secureCanvas: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 8 |         SwiftUICore.State<UIView?>(initialValue: nil)
    |   |                           `- error: cannot find type 'UIView' in scope
    | 9 |     })
    |10 |
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:7:46: error: could not infer type for placeholder
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 5 |
    | 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Vuc2NyZWVuc2hvdHRhYmxlMTNQcm90ZWN0ZWRWaWV3VjEyc2VjdXJlQ2FudmFzMzNfMTVFQkU4OTA5ODkwNkYyOEJFOEIwQzA1MUU4M0JERTZMTDVTdGF0ZWZNcF8yMF9pbml0aWFsU3RvcmVkVmFsdWVfZk11Xw==")
    | 7 | private var _secureCanvas: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    |   |                                              `- error: could not infer type for placeholder
    | 8 |         SwiftUICore.State<UIView?>(initialValue: nil)
    | 9 |     })
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:12:47: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    |10 |
    |11 | @SwiftUICore._StateProjectedValue
    |12 | private var $secureCanvas = SwiftUICore.State<UIView?>(initialValue: nil).projectedValue
    |   |                                               `- error: cannot find type 'UIView' in scope
    |13 |
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKGluaXRpYWxWYWx1ZTogeyBsZXQgeDogVUlWaWV3PyA9IG5pbApyZXR1cm4geCB9KCkp")
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:16:20: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKGluaXRpYWxWYWx1ZTogeyBsZXQgeDogVUlWaWV3PyA9IG5pbApyZXR1cm4geCB9KCkp")
    |15 | private static var $s17Unscreenshottable13ProtectedViewV12secureCanvas33_15EBE89098906F28BE8B0C051E83BDE6LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
    |16 |             let x: UIView? = nil
    |   |                    `- error: cannot find type 'UIView' in scope
    |17 |             return x
    |18 |         }()))
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |                                           `- error: cannot find type 'UIHostingController' in scope
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
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
    builtin-SwiftPerFileCompile ProtectedView.swift
macro expansion @State:1:51: error: cannot find type 'UIHostingController' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:71: note: expanded code originates here
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |     `- note: in expansion of macro 'State' on property 'hostingController' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _hostingController: SwiftUICore.State<UIHostingController<Content>>
    |  |                                                   `- error: cannot find type 'UIHostingController' in scope
    |2 |
    |3 | private var $hostingController: SwiftUICore.Binding<UIHostingController<Content>> {
    +-------------------------------------------------------------------
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
macro expansion @State:3:53: error: cannot find type 'UIHostingController' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:71: note: expanded code originates here
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |     `- note: in expansion of macro 'State' on property 'hostingController' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _hostingController: SwiftUICore.State<UIHostingController<Content>>
    |2 |
    |3 | private var $hostingController: SwiftUICore.Binding<UIHostingController<Content>> {
    |  |                                                     `- error: cannot find type 'UIHostingController' in scope
    |4 |     _hostingController.projectedValue
    |5 | }
    +-------------------------------------------------------------------
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
 62 |     }
 63 |
 64 |     func makeUIView(context: Context) -> UIView {
    |                                          `- error: cannot find type 'UIView' in scope
 65 |         hostingController.view
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
 62 |     }
 63 |
 64 |     func makeUIView(context: Context) -> UIView {
    |                              `- error: cannot find type 'Context' in scope
 65 |         hostingController.view
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
 66 |     }
 67 |
 68 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                 `- error: cannot find type 'UIView' in scope
 69 |         guard options.contains(.screenshots), secureCanvas == nil else { return }
 70 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
 66 |     }
 67 |
 68 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                                  `- error: cannot find type 'Context' in scope
 69 |         guard options.contains(.screenshots), secureCanvas == nil else { return }
 70 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |                                                             `- error: cannot find type 'UIView' in scope
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |                                                                              `- error: cannot find type 'Context' in scope
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 25 | }
 26 |
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    :
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |          |                        `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
 25 | }
 26 |
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
    |                                      `- error: cannot find type 'UIViewRepresentable' in scope
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
104 | }
105 |
106 | private extension UIView {
    |                   `- error: cannot find type 'UIView' in scope
107 |     func overlay(subview: UIView) {
108 |         subview.translatesAutoresizingMaskIntoConstraints = false
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-20 16:52:06.189 xcodebuild[623:3826] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:fb541b417028121e94719ea112089215b82f389d, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:fb541b417028121e94719ea112089215b82f389d, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:fb541b417028121e94719ea112089215b82f389d, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:fb541b417028121e94719ea112089215b82f389d, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 (in target 'Unscreenshottable' from project 'Unscreenshottable')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
	Building workspace Unscreenshottable with scheme Unscreenshottable
(3 failures)
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  Unscreenshottable: /Users/admin/builder/spi-builder-workspace
resolved source packages: Unscreenshottable
2026-09-20 16:52:15.570 xcodebuild[728:4368] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "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.9"
}
{
  "workspace" : {
    "name" : "Unscreenshottable",
    "schemes" : [
      "Unscreenshottable"
    ]
  }
}
2026-09-20 16:52:16.788 xcodebuild[738:4458] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Unscreenshottable -destination platform=macOS,arch=arm64
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.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
Resolve Package Graph
Resolved source packages:
  Unscreenshottable: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'Unscreenshottable-product' in project 'Unscreenshottable'
        ➜ Explicit dependency on target 'Unscreenshottable' in project 'Unscreenshottable'
    Target 'Unscreenshottable' in project 'Unscreenshottable' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.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-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name Unscreenshottable -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.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')
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |                                   `- error: cannot find type 'UITextField' in scope
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
macro expansion @State:1:43: error: cannot find type 'UITextField' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:46: note: expanded code originates here
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |     `- note: in expansion of macro 'State' on property 'textField' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _textField: SwiftUICore.State<UITextField>
    |  |                                           `- error: cannot find type 'UITextField' in scope
    |2 |
    |3 | private var $textField: SwiftUICore.Binding<UITextField> {
    +-------------------------------------------------------------------
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
macro expansion @State:3:45: error: cannot find type 'UITextField' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:46: note: expanded code originates here
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |     `- note: in expansion of macro 'State' on property 'textField' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _textField: SwiftUICore.State<UITextField>
    |2 |
    |3 | private var $textField: SwiftUICore.Binding<UITextField> {
    |  |                                             `- error: cannot find type 'UITextField' in scope
    |4 |     _textField.projectedValue
    |5 | }
    +-------------------------------------------------------------------
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |                                      `- error: cannot find type 'UIView' in scope
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:2:24: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __secureCanvas = SwiftUICore.State._makeStorage(({
    | 2 |             let value: UIView? = nil
    |   |                        `- error: cannot find type 'UIView' in scope
    | 3 |             return value
    | 4 |         }))
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:8:27: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Vuc2NyZWVuc2hvdHRhYmxlMTNQcm90ZWN0ZWRWaWV3VjEyc2VjdXJlQ2FudmFzMzNfMTVFQkU4OTA5ODkwNkYyOEJFOEIwQzA1MUU4M0JERTZMTDVTdGF0ZWZNcF8yMF9pbml0aWFsU3RvcmVkVmFsdWVfZk11Xw==")
    | 7 | private var _secureCanvas: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 8 |         SwiftUICore.State<UIView?>(initialValue: nil)
    |   |                           `- error: cannot find type 'UIView' in scope
    | 9 |     })
    |10 |
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:7:46: error: could not infer type for placeholder
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 5 |
    | 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Vuc2NyZWVuc2hvdHRhYmxlMTNQcm90ZWN0ZWRWaWV3VjEyc2VjdXJlQ2FudmFzMzNfMTVFQkU4OTA5ODkwNkYyOEJFOEIwQzA1MUU4M0JERTZMTDVTdGF0ZWZNcF8yMF9pbml0aWFsU3RvcmVkVmFsdWVfZk11Xw==")
    | 7 | private var _secureCanvas: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    |   |                                              `- error: could not infer type for placeholder
    | 8 |         SwiftUICore.State<UIView?>(initialValue: nil)
    | 9 |     })
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:12:47: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    |10 |
    |11 | @SwiftUICore._StateProjectedValue
    |12 | private var $secureCanvas = SwiftUICore.State<UIView?>(initialValue: nil).projectedValue
    |   |                                               `- error: cannot find type 'UIView' in scope
    |13 |
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKGluaXRpYWxWYWx1ZTogeyBsZXQgeDogVUlWaWV3PyA9IG5pbApyZXR1cm4geCB9KCkp")
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:16:20: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKGluaXRpYWxWYWx1ZTogeyBsZXQgeDogVUlWaWV3PyA9IG5pbApyZXR1cm4geCB9KCkp")
    |15 | private static var $s17Unscreenshottable13ProtectedViewV12secureCanvas33_15EBE89098906F28BE8B0C051E83BDE6LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
    |16 |             let x: UIView? = nil
    |   |                    `- error: cannot find type 'UIView' in scope
    |17 |             return x
    |18 |         }()))
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |                                           `- error: cannot find type 'UIHostingController' in scope
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
macro expansion @State:1:51: error: cannot find type 'UIHostingController' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:71: note: expanded code originates here
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |     `- note: in expansion of macro 'State' on property 'hostingController' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _hostingController: SwiftUICore.State<UIHostingController<Content>>
    |  |                                                   `- error: cannot find type 'UIHostingController' in scope
    |2 |
    |3 | private var $hostingController: SwiftUICore.Binding<UIHostingController<Content>> {
    +-------------------------------------------------------------------
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
macro expansion @State:3:53: error: cannot find type 'UIHostingController' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:71: note: expanded code originates here
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |     `- note: in expansion of macro 'State' on property 'hostingController' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _hostingController: SwiftUICore.State<UIHostingController<Content>>
    |2 |
    |3 | private var $hostingController: SwiftUICore.Binding<UIHostingController<Content>> {
    |  |                                                     `- error: cannot find type 'UIHostingController' in scope
    |4 |     _hostingController.projectedValue
    |5 | }
    +-------------------------------------------------------------------
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
 62 |     }
 63 |
 64 |     func makeUIView(context: Context) -> UIView {
    |                                          `- error: cannot find type 'UIView' in scope
 65 |         hostingController.view
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
 62 |     }
 63 |
 64 |     func makeUIView(context: Context) -> UIView {
    |                              `- error: cannot find type 'Context' in scope
 65 |         hostingController.view
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
 66 |     }
 67 |
 68 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                 `- error: cannot find type 'UIView' in scope
 69 |         guard options.contains(.screenshots), secureCanvas == nil else { return }
 70 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
 66 |     }
 67 |
 68 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                                  `- error: cannot find type 'Context' in scope
 69 |         guard options.contains(.screenshots), secureCanvas == nil else { return }
 70 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |                                                             `- error: cannot find type 'UIView' in scope
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |                                                                              `- error: cannot find type 'Context' in scope
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 25 | }
 26 |
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    :
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |          |                        `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
 25 | }
 26 |
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
    |                                      `- error: cannot find type 'UIViewRepresentable' in scope
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
104 | }
105 |
106 | private extension UIView {
    |                   `- error: cannot find type 'UIView' in scope
107 |     func overlay(subview: UIView) {
108 |         subview.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:119:11: error: cannot find type 'UITextField' in scope
117 | }
118 |
119 | extension UITextField {
    |           `- error: cannot find type 'UITextField' in scope
120 |     /// Extracts a canvas view from a secure `TextField`'s view hierarchy.
121 |     /// The canvas view is a internal view that hides its subviews during a screenshot.
Failed frontend command:
SwiftCompile normal arm64 (in target 'Unscreenshottable' from project 'Unscreenshottable')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Applications/Xcode-27.0.0-Release.Candidate.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-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -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 -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/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Unscreenshottable -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.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-t.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug/Unscreenshottable-t.build/Objects-normal/arm64/Unscreenshottable.abi.json
SwiftCompile normal arm64 Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:35: error: cannot find type 'UITextField' in scope
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |                                   `- error: cannot find type 'UITextField' in scope
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
macro expansion @State:1:43: error: cannot find type 'UITextField' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:46: note: expanded code originates here
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |     `- note: in expansion of macro 'State' on property 'textField' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _textField: SwiftUICore.State<UITextField>
    |  |                                           `- error: cannot find type 'UITextField' in scope
    |2 |
    |3 | private var $textField: SwiftUICore.Binding<UITextField> {
    +-------------------------------------------------------------------
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
macro expansion @State:3:45: error: cannot find type 'UITextField' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:29:46: note: expanded code originates here
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    |     `- note: in expansion of macro 'State' on property 'textField' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _textField: SwiftUICore.State<UITextField>
    |2 |
    |3 | private var $textField: SwiftUICore.Binding<UITextField> {
    |  |                                             `- error: cannot find type 'UITextField' in scope
    |4 |     _textField.projectedValue
    |5 | }
    +-------------------------------------------------------------------
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:38: error: cannot find type 'UIView' in scope
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |                                      `- error: cannot find type 'UIView' in scope
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:2:24: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __secureCanvas = SwiftUICore.State._makeStorage(({
    | 2 |             let value: UIView? = nil
    |   |                        `- error: cannot find type 'UIView' in scope
    | 3 |             return value
    | 4 |         }))
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:8:27: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Vuc2NyZWVuc2hvdHRhYmxlMTNQcm90ZWN0ZWRWaWV3VjEyc2VjdXJlQ2FudmFzMzNfMTVFQkU4OTA5ODkwNkYyOEJFOEIwQzA1MUU4M0JERTZMTDVTdGF0ZWZNcF8yMF9pbml0aWFsU3RvcmVkVmFsdWVfZk11Xw==")
    | 7 | private var _secureCanvas: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 8 |         SwiftUICore.State<UIView?>(initialValue: nil)
    |   |                           `- error: cannot find type 'UIView' in scope
    | 9 |     })
    |10 |
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:7:46: error: could not infer type for placeholder
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    | 5 |
    | 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Vuc2NyZWVuc2hvdHRhYmxlMTNQcm90ZWN0ZWRWaWV3VjEyc2VjdXJlQ2FudmFzMzNfMTVFQkU4OTA5ODkwNkYyOEJFOEIwQzA1MUU4M0JERTZMTDVTdGF0ZWZNcF8yMF9pbml0aWFsU3RvcmVkVmFsdWVfZk11Xw==")
    | 7 | private var _secureCanvas: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    |   |                                              `- error: could not infer type for placeholder
    | 8 |         SwiftUICore.State<UIView?>(initialValue: nil)
    | 9 |     })
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:12:47: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    |10 |
    |11 | @SwiftUICore._StateProjectedValue
    |12 | private var $secureCanvas = SwiftUICore.State<UIView?>(initialValue: nil).projectedValue
    |   |                                               `- error: cannot find type 'UIView' in scope
    |13 |
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKGluaXRpYWxWYWx1ZTogeyBsZXQgeDogVUlWaWV3PyA9IG5pbApyZXR1cm4geCB9KCkp")
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
macro expansion @State:16:20: error: cannot find type 'UIView' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:30:45: note: expanded code originates here
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
    |     `- note: in expansion of macro 'State' on property 'secureCanvas' here
    +--- macro expansion @State ----------------------------------------
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKGluaXRpYWxWYWx1ZTogeyBsZXQgeDogVUlWaWV3PyA9IG5pbApyZXR1cm4geCB9KCkp")
    |15 | private static var $s17Unscreenshottable13ProtectedViewV12secureCanvas33_15EBE89098906F28BE8B0C051E83BDE6LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
    |16 |             let x: UIView? = nil
    |   |                    `- error: cannot find type 'UIView' in scope
    |17 |             return x
    |18 |         }()))
    +-------------------------------------------------------------------
 31 |     @State private var hostingController: UIHostingController<Content>
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:43: error: cannot find type 'UIHostingController' in scope
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |                                           `- error: cannot find type 'UIHostingController' in scope
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
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
    builtin-SwiftPerFileCompile ProtectedView.swift
macro expansion @State:1:51: error: cannot find type 'UIHostingController' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:71: note: expanded code originates here
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |     `- note: in expansion of macro 'State' on property 'hostingController' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _hostingController: SwiftUICore.State<UIHostingController<Content>>
    |  |                                                   `- error: cannot find type 'UIHostingController' in scope
    |2 |
    |3 | private var $hostingController: SwiftUICore.Binding<UIHostingController<Content>> {
    +-------------------------------------------------------------------
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
macro expansion @State:3:53: error: cannot find type 'UIHostingController' in scope
`- /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:31:71: note: expanded code originates here
 29 |     @State private var textField: UITextField
 30 |     @State private var secureCanvas: UIView?
 31 |     @State private var hostingController: UIHostingController<Content>
    |     `- note: in expansion of macro 'State' on property 'hostingController' here
    +--- macro expansion @State ----------------------------------------
    |1 | private var _hostingController: SwiftUICore.State<UIHostingController<Content>>
    |2 |
    |3 | private var $hostingController: SwiftUICore.Binding<UIHostingController<Content>> {
    |  |                                                     `- error: cannot find type 'UIHostingController' in scope
    |4 |     _hostingController.projectedValue
    |5 | }
    +-------------------------------------------------------------------
 32 |     // Just observing size classes allows updateUIView and sizeThatFits to be called when the screen is rotated
 33 |     @Environment(\.horizontalSizeClass) private var horizontalSizeClass
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:42: error: cannot find type 'UIView' in scope
 62 |     }
 63 |
 64 |     func makeUIView(context: Context) -> UIView {
    |                                          `- error: cannot find type 'UIView' in scope
 65 |         hostingController.view
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:64:30: error: cannot find type 'Context' in scope
 62 |     }
 63 |
 64 |     func makeUIView(context: Context) -> UIView {
    |                              `- error: cannot find type 'Context' in scope
 65 |         hostingController.view
 66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:33: error: cannot find type 'UIView' in scope
 66 |     }
 67 |
 68 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                 `- error: cannot find type 'UIView' in scope
 69 |         guard options.contains(.screenshots), secureCanvas == nil else { return }
 70 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:68:50: error: cannot find type 'Context' in scope
 66 |     }
 67 |
 68 |     func updateUIView(_ uiView: UIView, context: Context) {
    |                                                  `- error: cannot find type 'Context' in scope
 69 |         guard options.contains(.screenshots), secureCanvas == nil else { return }
 70 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:61: error: cannot find type 'UIView' in scope
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |                                                             `- error: cannot find type 'UIView' in scope
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:78: error: cannot find type 'Context' in scope
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |                                                                              `- error: cannot find type 'Context' in scope
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:80:35: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 25 | }
 26 |
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
    |        `- note: add '@available' attribute to enclosing generic struct
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
    :
 78 |
 79 |     @available(iOS 16.0, *)
 80 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: UIView, context: Context) -> CGSize? {
    |          |                        `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 81 |         let size = CGSize(width: proposal.width ?? .infinity, height: proposal.height ?? .infinity)
 82 |         hostingController.view.frame.size = size
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:27:38: error: cannot find type 'UIViewRepresentable' in scope
 25 | }
 26 |
 27 | struct ProtectedView<Content: View>: UIViewRepresentable {
    |                                      `- error: cannot find type 'UIViewRepresentable' in scope
 28 |     let options: ProtectionOptions
 29 |     @State private var textField: UITextField
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:106:19: error: cannot find type 'UIView' in scope
104 | }
105 |
106 | private extension UIView {
    |                   `- error: cannot find type 'UIView' in scope
107 |     func overlay(subview: UIView) {
108 |         subview.translatesAutoresizingMaskIntoConstraints = false
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-20 16:52:17.759 xcodebuild[739:4482] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:fb541b417028121e94719ea112089215b82f389d, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:fb541b417028121e94719ea112089215b82f389d, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:fb541b417028121e94719ea112089215b82f389d, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:fb541b417028121e94719ea112089215b82f389d, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 (in target 'Unscreenshottable' from project 'Unscreenshottable')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
	Building workspace Unscreenshottable with scheme Unscreenshottable
(3 failures)
BUILD FAILURE 6.4 macosXcodebuild