The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ContextualRotation, reference 1.0.5 (ae1034), with Swift 6.4 for watchOS using Xcode 27.0 on 25 Sep 2026 12:43:15 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 ContextualRotation -destination generic/platform=watchOS

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CostinDragos/ContextualRotation.git
Reference: 1.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CostinDragos/ContextualRotation
 * tag               1.0.5      -> FETCH_HEAD
HEAD is now at ae10344 Enfored inline commas to fix trailing comma issues on Swift 6.0
Cloned https://github.com/CostinDragos/ContextualRotation.git
Revision (git rev-parse @):
ae1034498235c5ef36e16d27d9eda0b3651943d5
SUCCESS checkout https://github.com/CostinDragos/ContextualRotation.git at 1.0.5
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.4
Building package at path:  $PWD
https://github.com/CostinDragos/ContextualRotation.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:
  ContextualRotation: /Users/admin/builder/spi-builder-workspace
resolved source packages: ContextualRotation
2026-09-25 08:42:33.379 xcodebuild[563:3056] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ContextualRotation",
  "name" : "ContextualRotation",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "ContextualRotation",
      "targets" : [
        "ContextualRotation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "ContextualRotationTests",
      "module_type" : "SwiftTarget",
      "name" : "ContextualRotationTests",
      "path" : "Tests/ContextualRotationTests",
      "sources" : [
        "ContextualRotationTests.swift"
      ],
      "target_dependencies" : [
        "ContextualRotation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ContextualRotation",
      "module_type" : "SwiftTarget",
      "name" : "ContextualRotation",
      "path" : "Sources/ContextualRotation",
      "product_memberships" : [
        "ContextualRotation"
      ],
      "sources" : [
        "ContextualRotation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "ContextualRotation",
    "schemes" : [
      "ContextualRotation"
    ]
  }
}
2026-09-25 08:43:05.153 xcodebuild[660:3872] [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 ContextualRotation -destination generic/platform=watchOS
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 ContextualRotation -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  ContextualRotation: /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 'ContextualRotation-product' in project 'ContextualRotation'
        ➜ Explicit dependency on target 'ContextualRotation' in project 'ContextualRotation'
    Target 'ContextualRotation' in project 'ContextualRotation' (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/WatchOS.platform/Developer/SDKs/WatchOS27.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: 2764ed5afe59c3aa4e6b97bd4db01830
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/2764ed5afe59c3aa4e6b97bd4db01830.xcbuilddata
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/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/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
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
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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/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/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/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-watchos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/ContextualRotation.modulemap (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/ContextualRotation.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.LinkFileList (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation_const_extract_protocols.json (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-OutputFileMap.json (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.SwiftFileList (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.SwiftConstValuesFileList (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation_const_extract_protocols.json (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation.SwiftFileList (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation-OutputFileMap.json (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation.SwiftConstValuesFileList (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation.LinkFileList (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/ContextualRotation.DependencyStaticMetadataFileList (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/ContextualRotation.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/ContextualRotation.DependencyMetadataFileList (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/ContextualRotation.DependencyMetadataFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/ContextualRotation.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/ContextualRotation.modulemap (in target 'ContextualRotation' from project 'ContextualRotation')
    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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/ContextualRotation.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos
SwiftDriver ContextualRotation normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ContextualRotation' from project 'ContextualRotation')
    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 ContextualRotation -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation.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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.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 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ContextualRotation normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ContextualRotation' from project 'ContextualRotation')
    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 ContextualRotation -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.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 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-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/SwiftShims-AJ4AZYHQNC33R5RLN7AGEIOMP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-42EVAC8Q6P1ZT6G3A168N97G4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-E4M4A8689VXF1T7P7BV56IKBT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-5OH846KKUPSJJT7GCX9XU1TKG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-CTPSFSTDCBVSSQFHL6I305U72.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-8K07997SIHO7YGY7UQ3LOQ3TJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-C7VQASAJ967Q4Q6SRD4I3CFWZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-CL5QT3CW0ZM498PFTWG64QMLA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-B692L2PMR118794VVYBG37897.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-58G4ISYSYDV3AT1DDGEE0QCUF.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-372PLGDQ1U3B6Z5EA5DJMDORJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-3X4KLXUYEI0UGBILP4X7D0CYW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-D9VBB138U50XYYGW2C2V21N3L.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-22ZP1ILSQW16KHXZS5GBZHOCS.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-3FQKKPF3BW0SWE1YUZ86OZWIB.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-EYJP6DFYQL9GJLH1TJ84A8MHV.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-84ZA1VDW90AGWZ2LF5KOCM8DZ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-EW7YZZ7LEZE1QZF2T8148IPSA.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-2F9BFIPBQ5EWNSK5G7G7V4EKL.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-EAZ3I917ZFA9H6ZCL6PGLG4TR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-7YQ9TVI7XTOGQU9OADRXP33D1.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-5SNIO0SFHX9KJZTLQGIPAPXUZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-75TRA1C7IHYOFCG3KJXQVTHJ4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-CUPL4FH2SA95GMALQP4M6O8UA.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-AQMEC9CLG0FZQN6TLGDQ6WF78.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-FP2Q8F1Q2HR151SBYKTU6Q8B.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-7JP2AE1NQHA1DV5JYP2OHQ3BF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-9KPVYINL86WUSHF45TU8PWZZ1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-4N9Z22C0HUO8GV7GFPCLZRZA2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-6TUACK4YPMARFT56PLIO388SJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-8QY7P4ZQXQAF14WVDITTM4R70.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-65NN51P1G7GN2GUAUPC53JJ7N.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-414CVW1GW3IL0HRLCNNCS6Q0U.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-6IWJLTRH2WB6RCG4THPA65RDS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-EJXZKD8LN9EYM9OWP9VLJ49PK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-SQV576LJA0QE7RW5HF7CQ1BX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-25T9UW3XDYID74302F31PX0RP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-D2FE5M7JS5NQA5JDADVERWJM4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-3YOBOPIW2MF1LRNQH7JBUBY4G.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-2K07JIG9ZANIKHSNPO3O6L1K6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-86YTNV5YADPJXFMJ82N3R4GWQ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-BPZJ68HW1IMYWSHROAZ0IMUJP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-CSB8C43KELVSFIQVR0803IZPN.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-10D35ZJWCWG7LJAF579U7I5V7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-2C11HKTI5TJB05T724EWNFZXD.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-1W6O8NR1QUSWJGAN44DNNWVHX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-4RYXFVY68ZDEUZYFMVL57WEKU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-22CZPC4WYQC9G8T393WT2KKLW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-71AGZNHLBMR2QK817EJNUN54E.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-F47JQRYVH1SLPOQSJD8RK9MSX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-6KYGGZ4DPVZ3BBAZ6QICZN8LI.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-CTXVQBCWDOH6JHUXIFDUOWFRL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-AHE7ULDQBKER38CYPIKDTZF4M.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-9L9R05BT5LTFRZ2NM68BZTVV2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-39VR0G01IUJ09PQKMFGOHXZ4L.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-EZKKX4XFW72RZCTOIG80Z93AP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-4XS0QRL16224ZE9KE9TMKASKT.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-CGIMI9KQKHNRQHR2IECIPRG14.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-650JAZBTM6I0OMHYO6CKM0CWJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-59XKO8YNRGGYNC5U5LK8B4EM.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-7SLKI45KYLKXH9QET2WYS3UZ4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-76B9WJP9MDYT33HZQVSNNZQZD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-6BCTB8I5DCBBKFJ0Y0G4WQDDJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-D9NWGT7PQGY2OD43XMA2KGLJK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-5488DA9QVJJ7QOFXPYOYIYFUX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-69WNGEAVQP55EDBQHP3BLE8QU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-1W411BS4UH2UNMNII2341429S.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-A4WOQTM8SYZAQP223LI6RRPEK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-B3IXODHI7VO4VRX2RWRXLVJZT.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-AIQ30TCDC2B0LBUU6FPQZ0HWI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-2YRZ292TS6QDW2V2V92NZMPWM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-BEC0M2J7FJN53VXNFDZDKL9U2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-34U50N378SZT64826L0B62MN6.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-BX0NALWCB2F1YOTF0NZGV9FWU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-DXCLJ0K1EEBRV5MFYJOV1HIUX.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-72UYR37X0O2APTD1XMSJ20X5X.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-EH256724QTCKT0XATY095QHVP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-DP67QJL9W7VSYP70ZVEBE3KRT.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-8EDL8T61430CB5CU94L1E3L0C.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-F5AOMF9V2Y10QV8U00QNX8B7Q.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-DSXZOKFM7XQLZ0FRNNKFDWZT0.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-1XWTF8V96VX3IAHKJO7PJZDU0.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-BBXP8Z81UOB3UBBTO3GG9FEEO.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-ABH83C7CSGMIJAARTF384TV0L.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-ESJZZ70KT229YQNKF5CWYQVLA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-EULYJN53RZTIP2D6F171CT1YZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-C3HYVW8P89QAUDLD9VRHUF48Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-BRDP6VIMJ6A6HG4W4NYXZ8BI3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-DB0V1GY4JDAXG2CZ5MW826DDE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-B8SNL2YULCKW9SYIL0T5QLMV.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-4AZRAZ8X3W0CS36SZ1GS4LT05.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-8RQ09UCIV0XSYRF8TQQD54MWN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-47SS6PHE8KOUZX5UOQUNKH397.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-AR3EDJH6PMDGNUXQGV2JND65S.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-7VIERZPAA371031RT8VBKFYKJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-TURER010MQ2QH6SN4BGDJJKP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-B0A9Z3B1UDU8OLBQROLWD03N3.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-E9C6K7MOTJF3RC93DULCZ130U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-D4BOUT6VJWDXKNATG8P2F95W3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-70RNUQRT1QM2F8WR42WPP4KQV.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-BGAQE5HOOTG6M9C46O1HHPCDR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-2XWL6VFNA7WRWSTXI42YLU909.pcm
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ContextualRotation (in target 'ContextualRotation' from project 'ContextualRotation')
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:12:30: error: 'UIWindow' is unavailable in watchOS
 10 |
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
    |                              `- error: 'UIWindow' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:13:31: error: 'UIButton' is unavailable in watchOS
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
 13 |   private var rotationButton: UIButton!
    |                               `- error: 'UIButton' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:15:35: error: 'NSLayoutConstraint' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:16:34: error: 'NSLayoutConstraint' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
 16 |   private var leadingConstraint: NSLayoutConstraint!
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:18:36: error: 'UIInterfaceOrientation' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
    |                                    `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 19 |
 20 |   /// The dynamic orientation mask that the host application's `App Delegate` must return.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:23:40: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 21 |   /// By returning this value in `supportedInterfaceOrientationsFor`, you allow the
 22 |   /// library to forefully bypass the system lock when the user taps the button.
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
    |                                        `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
   |                                `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 |     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 |     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:25:43: error: 'UIInterfaceOrientation' is unavailable in watchOS
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
    |                                           `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 26 |
 27 |   private var isUIAnimatingRotation = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:38:37: error: 'UIWindowScene' is unavailable in watchOS
 36 |   /// - Parameter windowScene: The `UIWindowScene` where the invisible overlay and floating point
 37 |   /// should be injected.
 38 |   public func start(in windowScene: UIWindowScene) {
    |                                     `- error: 'UIWindowScene' is unavailable in watchOS
 39 |     setupOverlayWindow(in: windowScene)
 40 |     startMotionTracking()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:65:51: error: 'UIWindowScene' is unavailable in watchOS
 63 |   }
 64 |
 65 |   private func setupOverlayWindow(in windowScene: UIWindowScene) {
    |                                                   `- error: 'UIWindowScene' is unavailable in watchOS
 66 |     let window = PassThroughWindow(windowScene: windowScene)
 67 |     window.windowLevel = .alert + 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:304:27: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
302 |   override func viewWillTransition(
303 |     to size: CGSize,
304 |     with coordinator: any UIViewControllerTransitionCoordinator
    |                           `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
305 |   ) {
306 |     super.viewWillTransition(to: size, with: coordinator)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 79 |
 80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
    |           `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 82 |
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:298:38: error: 'UIViewController' is unavailable in watchOS
296 |
297 | /// A lightweight view controller that intercepts native system rotation events.
298 | private class OverlayViewController: UIViewController {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
299 |   var onTransitionStart: (@MainActor () -> Void)?
300 |   var onTransitionEnd: (@MainActor () -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:55: error: 'UIEvent' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                       `- error: 'UIEvent' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:68: error: 'UIView' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                    `- error: 'UIView' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:320:34: error: 'UIWindow' is unavailable in watchOS
318 | /// A window that ignores touches on its empty background space, allowing them to pass through to
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
    |                                  `- error: 'UIWindow' is unavailable in watchOS
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
322 |     let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'ContextualRotation' from project 'ContextualRotation')
    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/ContextualRotation/ContextualRotation.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/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 6 -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/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ContextualRotation -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.abi.json
SwiftCompile normal arm64_32 Compiling\ ContextualRotation.swift /Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift (in target 'ContextualRotation' from project 'ContextualRotation')
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:12:30: error: 'UIWindow' is unavailable in watchOS
 10 |
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
    |                              `- error: 'UIWindow' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:13:31: error: 'UIButton' is unavailable in watchOS
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
 13 |   private var rotationButton: UIButton!
    |                               `- error: 'UIButton' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:15:35: error: 'NSLayoutConstraint' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:16:34: error: 'NSLayoutConstraint' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
 16 |   private var leadingConstraint: NSLayoutConstraint!
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:18:36: error: 'UIInterfaceOrientation' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
    |                                    `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 19 |
 20 |   /// The dynamic orientation mask that the host application's `App Delegate` must return.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:23:40: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 21 |   /// By returning this value in `supportedInterfaceOrientationsFor`, you allow the
 22 |   /// library to forefully bypass the system lock when the user taps the button.
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
    |                                        `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
   |                                `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 |     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 |     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:25:43: error: 'UIInterfaceOrientation' is unavailable in watchOS
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
    |                                           `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 26 |
 27 |   private var isUIAnimatingRotation = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:38:37: error: 'UIWindowScene' is unavailable in watchOS
 36 |   /// - Parameter windowScene: The `UIWindowScene` where the invisible overlay and floating point
 37 |   /// should be injected.
 38 |   public func start(in windowScene: UIWindowScene) {
    |                                     `- error: 'UIWindowScene' is unavailable in watchOS
 39 |     setupOverlayWindow(in: windowScene)
 40 |     startMotionTracking()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ContextualRotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:65:51: error: 'UIWindowScene' is unavailable in watchOS
 63 |   }
 64 |
 65 |   private func setupOverlayWindow(in windowScene: UIWindowScene) {
    |                                                   `- error: 'UIWindowScene' is unavailable in watchOS
 66 |     let window = PassThroughWindow(windowScene: windowScene)
 67 |     window.windowLevel = .alert + 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:304:27: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
302 |   override func viewWillTransition(
303 |     to size: CGSize,
304 |     with coordinator: any UIViewControllerTransitionCoordinator
    |                           `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
305 |   ) {
306 |     super.viewWillTransition(to: size, with: coordinator)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 79 |
 80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
    |           `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 82 |
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:298:38: error: 'UIViewController' is unavailable in watchOS
296 |
297 | /// A lightweight view controller that intercepts native system rotation events.
298 | private class OverlayViewController: UIViewController {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
299 |   var onTransitionStart: (@MainActor () -> Void)?
300 |   var onTransitionEnd: (@MainActor () -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:55: error: 'UIEvent' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                       `- error: 'UIEvent' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:68: error: 'UIView' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                    `- error: 'UIView' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftEmitModule normal arm64 Emitting\ module\ for\ ContextualRotation (in target 'ContextualRotation' from project 'ContextualRotation')
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:12:30: error: 'UIWindow' is unavailable in watchOS
 10 |
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
    |                              `- error: 'UIWindow' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:13:31: error: 'UIButton' is unavailable in watchOS
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
 13 |   private var rotationButton: UIButton!
    |                               `- error: 'UIButton' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:15:35: error: 'NSLayoutConstraint' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:16:34: error: 'NSLayoutConstraint' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
 16 |   private var leadingConstraint: NSLayoutConstraint!
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:18:36: error: 'UIInterfaceOrientation' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
    |                                    `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 19 |
 20 |   /// The dynamic orientation mask that the host application's `App Delegate` must return.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:23:40: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 21 |   /// By returning this value in `supportedInterfaceOrientationsFor`, you allow the
 22 |   /// library to forefully bypass the system lock when the user taps the button.
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
    |                                        `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
   |                                `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 |     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 |     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:25:43: error: 'UIInterfaceOrientation' is unavailable in watchOS
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
    |                                           `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 26 |
 27 |   private var isUIAnimatingRotation = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:38:37: error: 'UIWindowScene' is unavailable in watchOS
 36 |   /// - Parameter windowScene: The `UIWindowScene` where the invisible overlay and floating point
 37 |   /// should be injected.
 38 |   public func start(in windowScene: UIWindowScene) {
    |                                     `- error: 'UIWindowScene' is unavailable in watchOS
 39 |     setupOverlayWindow(in: windowScene)
 40 |     startMotionTracking()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
SwiftCompile normal arm64 (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ ContextualRotation.swift /Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift (in target 'ContextualRotation' from project 'ContextualRotation')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ContextualRotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:12:30: error: 'UIWindow' is unavailable in watchOS
 10 |
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
    |                              `- error: 'UIWindow' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:13:31: error: 'UIButton' is unavailable in watchOS
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
 13 |   private var rotationButton: UIButton!
    |                               `- error: 'UIButton' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:15:35: error: 'NSLayoutConstraint' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:16:34: error: 'NSLayoutConstraint' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
 16 |   private var leadingConstraint: NSLayoutConstraint!
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:18:36: error: 'UIInterfaceOrientation' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
    |                                    `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 19 |
 20 |   /// The dynamic orientation mask that the host application's `App Delegate` must return.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:23:40: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 21 |   /// By returning this value in `supportedInterfaceOrientationsFor`, you allow the
 22 |   /// library to forefully bypass the system lock when the user taps the button.
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
    |                                        `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
   |                                `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 |     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 |     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:25:43: error: 'UIInterfaceOrientation' is unavailable in watchOS
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
    |                                           `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 26 |
 27 |   private var isUIAnimatingRotation = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:38:37: error: 'UIWindowScene' is unavailable in watchOS
 36 |   /// - Parameter windowScene: The `UIWindowScene` where the invisible overlay and floating point
 37 |   /// should be injected.
 38 |   public func start(in windowScene: UIWindowScene) {
    |                                     `- error: 'UIWindowScene' is unavailable in watchOS
 39 |     setupOverlayWindow(in: windowScene)
 40 |     startMotionTracking()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-25 08:43:06.703 xcodebuild[661:3916] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64_32 (in target 'ContextualRotation' from project 'ContextualRotation')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ContextualRotation (in target 'ContextualRotation' from project 'ContextualRotation')
	Building workspace ContextualRotation with scheme ContextualRotation
(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:
  ContextualRotation: /Users/admin/builder/spi-builder-workspace
resolved source packages: ContextualRotation
2026-09-25 08:43:12.715 xcodebuild[804:4548] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ContextualRotation",
  "name" : "ContextualRotation",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "ContextualRotation",
      "targets" : [
        "ContextualRotation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "ContextualRotationTests",
      "module_type" : "SwiftTarget",
      "name" : "ContextualRotationTests",
      "path" : "Tests/ContextualRotationTests",
      "sources" : [
        "ContextualRotationTests.swift"
      ],
      "target_dependencies" : [
        "ContextualRotation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ContextualRotation",
      "module_type" : "SwiftTarget",
      "name" : "ContextualRotation",
      "path" : "Sources/ContextualRotation",
      "product_memberships" : [
        "ContextualRotation"
      ],
      "sources" : [
        "ContextualRotation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "ContextualRotation",
    "schemes" : [
      "ContextualRotation"
    ]
  }
}
2026-09-25 08:43:13.933 xcodebuild[812:4619] [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 ContextualRotation -destination generic/platform=watchOS
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 ContextualRotation -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  ContextualRotation: /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 'ContextualRotation-product' in project 'ContextualRotation'
        ➜ Explicit dependency on target 'ContextualRotation' in project 'ContextualRotation'
    Target 'ContextualRotation' in project 'ContextualRotation' (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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver ContextualRotation normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ContextualRotation' from project 'ContextualRotation')
    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 ContextualRotation -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.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 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ContextualRotation normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ContextualRotation' from project 'ContextualRotation')
    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 ContextualRotation -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation.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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.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 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64/ContextualRotation-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ ContextualRotation (in target 'ContextualRotation' from project 'ContextualRotation')
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:12:30: error: 'UIWindow' is unavailable in watchOS
 10 |
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
    |                              `- error: 'UIWindow' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:13:31: error: 'UIButton' is unavailable in watchOS
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
 13 |   private var rotationButton: UIButton!
    |                               `- error: 'UIButton' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:15:35: error: 'NSLayoutConstraint' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:16:34: error: 'NSLayoutConstraint' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
 16 |   private var leadingConstraint: NSLayoutConstraint!
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:18:36: error: 'UIInterfaceOrientation' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
    |                                    `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 19 |
 20 |   /// The dynamic orientation mask that the host application's `App Delegate` must return.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:23:40: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 21 |   /// By returning this value in `supportedInterfaceOrientationsFor`, you allow the
 22 |   /// library to forefully bypass the system lock when the user taps the button.
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
    |                                        `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
   |                                `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 |     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 |     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:25:43: error: 'UIInterfaceOrientation' is unavailable in watchOS
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
    |                                           `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 26 |
 27 |   private var isUIAnimatingRotation = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:38:37: error: 'UIWindowScene' is unavailable in watchOS
 36 |   /// - Parameter windowScene: The `UIWindowScene` where the invisible overlay and floating point
 37 |   /// should be injected.
 38 |   public func start(in windowScene: UIWindowScene) {
    |                                     `- error: 'UIWindowScene' is unavailable in watchOS
 39 |     setupOverlayWindow(in: windowScene)
 40 |     startMotionTracking()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
SwiftCompile normal arm64 (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:65:51: error: 'UIWindowScene' is unavailable in watchOS
 63 |   }
 64 |
 65 |   private func setupOverlayWindow(in windowScene: UIWindowScene) {
    |                                                   `- error: 'UIWindowScene' is unavailable in watchOS
 66 |     let window = PassThroughWindow(windowScene: windowScene)
 67 |     window.windowLevel = .alert + 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:304:27: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
302 |   override func viewWillTransition(
303 |     to size: CGSize,
304 |     with coordinator: any UIViewControllerTransitionCoordinator
    |                           `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
305 |   ) {
306 |     super.viewWillTransition(to: size, with: coordinator)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 79 |
 80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
    |           `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 82 |
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:298:38: error: 'UIViewController' is unavailable in watchOS
296 |
297 | /// A lightweight view controller that intercepts native system rotation events.
298 | private class OverlayViewController: UIViewController {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
299 |   var onTransitionStart: (@MainActor () -> Void)?
300 |   var onTransitionEnd: (@MainActor () -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:55: error: 'UIEvent' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                       `- error: 'UIEvent' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:68: error: 'UIView' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                    `- error: 'UIView' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:320:34: error: 'UIWindow' is unavailable in watchOS
318 | /// A window that ignores touches on its empty background space, allowing them to pass through to
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
    |                                  `- error: 'UIWindow' is unavailable in watchOS
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
322 |     let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftCompile normal arm64 Compiling\ ContextualRotation.swift /Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift (in target 'ContextualRotation' from project 'ContextualRotation')
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:12:30: error: 'UIWindow' is unavailable in watchOS
 10 |
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
    |                              `- error: 'UIWindow' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:13:31: error: 'UIButton' is unavailable in watchOS
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
 13 |   private var rotationButton: UIButton!
    |                               `- error: 'UIButton' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:15:35: error: 'NSLayoutConstraint' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:16:34: error: 'NSLayoutConstraint' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
 16 |   private var leadingConstraint: NSLayoutConstraint!
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:18:36: error: 'UIInterfaceOrientation' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
    |                                    `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 19 |
 20 |   /// The dynamic orientation mask that the host application's `App Delegate` must return.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:23:40: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 21 |   /// By returning this value in `supportedInterfaceOrientationsFor`, you allow the
 22 |   /// library to forefully bypass the system lock when the user taps the button.
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
    |                                        `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
   |                                `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 |     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 |     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:25:43: error: 'UIInterfaceOrientation' is unavailable in watchOS
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
    |                                           `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 26 |
 27 |   private var isUIAnimatingRotation = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:38:37: error: 'UIWindowScene' is unavailable in watchOS
 36 |   /// - Parameter windowScene: The `UIWindowScene` where the invisible overlay and floating point
 37 |   /// should be injected.
 38 |   public func start(in windowScene: UIWindowScene) {
    |                                     `- error: 'UIWindowScene' is unavailable in watchOS
 39 |     setupOverlayWindow(in: windowScene)
 40 |     startMotionTracking()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ContextualRotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:65:51: error: 'UIWindowScene' is unavailable in watchOS
 63 |   }
 64 |
 65 |   private func setupOverlayWindow(in windowScene: UIWindowScene) {
    |                                                   `- error: 'UIWindowScene' is unavailable in watchOS
 66 |     let window = PassThroughWindow(windowScene: windowScene)
 67 |     window.windowLevel = .alert + 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:304:27: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
302 |   override func viewWillTransition(
303 |     to size: CGSize,
304 |     with coordinator: any UIViewControllerTransitionCoordinator
    |                           `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
305 |   ) {
306 |     super.viewWillTransition(to: size, with: coordinator)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 79 |
 80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
    |           `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 82 |
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:298:38: error: 'UIViewController' is unavailable in watchOS
296 |
297 | /// A lightweight view controller that intercepts native system rotation events.
298 | private class OverlayViewController: UIViewController {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
299 |   var onTransitionStart: (@MainActor () -> Void)?
300 |   var onTransitionEnd: (@MainActor () -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:55: error: 'UIEvent' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                       `- error: 'UIEvent' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:68: error: 'UIView' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                    `- error: 'UIView' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ContextualRotation (in target 'ContextualRotation' from project 'ContextualRotation')
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:12:30: error: 'UIWindow' is unavailable in watchOS
 10 |
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
    |                              `- error: 'UIWindow' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:13:31: error: 'UIButton' is unavailable in watchOS
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
 13 |   private var rotationButton: UIButton!
    |                               `- error: 'UIButton' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:15:35: error: 'NSLayoutConstraint' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:16:34: error: 'NSLayoutConstraint' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
 16 |   private var leadingConstraint: NSLayoutConstraint!
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:18:36: error: 'UIInterfaceOrientation' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
    |                                    `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 19 |
 20 |   /// The dynamic orientation mask that the host application's `App Delegate` must return.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:23:40: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 21 |   /// By returning this value in `supportedInterfaceOrientationsFor`, you allow the
 22 |   /// library to forefully bypass the system lock when the user taps the button.
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
    |                                        `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
   |                                `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 |     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 |     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:25:43: error: 'UIInterfaceOrientation' is unavailable in watchOS
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
    |                                           `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 26 |
 27 |   private var isUIAnimatingRotation = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:38:37: error: 'UIWindowScene' is unavailable in watchOS
 36 |   /// - Parameter windowScene: The `UIWindowScene` where the invisible overlay and floating point
 37 |   /// should be injected.
 38 |   public func start(in windowScene: UIWindowScene) {
    |                                     `- error: 'UIWindowScene' is unavailable in watchOS
 39 |     setupOverlayWindow(in: windowScene)
 40 |     startMotionTracking()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:65:51: error: 'UIWindowScene' is unavailable in watchOS
 63 |   }
 64 |
 65 |   private func setupOverlayWindow(in windowScene: UIWindowScene) {
    |                                                   `- error: 'UIWindowScene' is unavailable in watchOS
 66 |     let window = PassThroughWindow(windowScene: windowScene)
 67 |     window.windowLevel = .alert + 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:304:27: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
302 |   override func viewWillTransition(
303 |     to size: CGSize,
304 |     with coordinator: any UIViewControllerTransitionCoordinator
    |                           `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
305 |   ) {
306 |     super.viewWillTransition(to: size, with: coordinator)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 79 |
 80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
    |           `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 82 |
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:298:38: error: 'UIViewController' is unavailable in watchOS
296 |
297 | /// A lightweight view controller that intercepts native system rotation events.
298 | private class OverlayViewController: UIViewController {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
299 |   var onTransitionStart: (@MainActor () -> Void)?
300 |   var onTransitionEnd: (@MainActor () -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:55: error: 'UIEvent' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                       `- error: 'UIEvent' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:68: error: 'UIView' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                    `- error: 'UIView' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:320:34: error: 'UIWindow' is unavailable in watchOS
318 | /// A window that ignores touches on its empty background space, allowing them to pass through to
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
    |                                  `- error: 'UIWindow' is unavailable in watchOS
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
322 |     let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
Failed frontend command:
/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/ContextualRotation/ContextualRotation.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/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 6 -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/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ContextualRotation -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ContextualRotation.build/Debug-watchos/ContextualRotation-t.build/Objects-normal/arm64_32/ContextualRotation.abi.json
SwiftCompile normal arm64_32 (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ ContextualRotation.swift /Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift (in target 'ContextualRotation' from project 'ContextualRotation')
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:12:30: error: 'UIWindow' is unavailable in watchOS
 10 |
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
    |                              `- error: 'UIWindow' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:13:31: error: 'UIButton' is unavailable in watchOS
 11 |   private let motionManager = CMMotionManager()
 12 |   private var overlayWindow: UIWindow?
 13 |   private var rotationButton: UIButton!
    |                               `- error: 'UIButton' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:15:35: error: 'NSLayoutConstraint' is unavailable in watchOS
 13 |   private var rotationButton: UIButton!
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:16:34: error: 'NSLayoutConstraint' is unavailable in watchOS
 14 |
 15 |   private var trailingConstraint: NSLayoutConstraint!
 16 |   private var leadingConstraint: NSLayoutConstraint!
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
    |            `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string.  The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:18:36: error: 'UIInterfaceOrientation' is unavailable in watchOS
 16 |   private var leadingConstraint: NSLayoutConstraint!
 17 |
 18 |   private var physicalOrientation: UIInterfaceOrientation = .unknown
    |                                    `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 19 |
 20 |   /// The dynamic orientation mask that the host application's `App Delegate` must return.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:23:40: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 21 |   /// By returning this value in `supportedInterfaceOrientationsFor`, you allow the
 22 |   /// library to forefully bypass the system lock when the user taps the button.
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
    |                                        `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
   |                                `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 |     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 |     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:25:43: error: 'UIInterfaceOrientation' is unavailable in watchOS
 23 |   public var currentLockedOrientation: UIInterfaceOrientationMask = .all
 24 |
 25 |   private var targetInterfaceOrientation: UIInterfaceOrientation = .unknown
    |                                           `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 26 |
 27 |   private var isUIAnimatingRotation = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:38:37: error: 'UIWindowScene' is unavailable in watchOS
 36 |   /// - Parameter windowScene: The `UIWindowScene` where the invisible overlay and floating point
 37 |   /// should be injected.
 38 |   public func start(in windowScene: UIWindowScene) {
    |                                     `- error: 'UIWindowScene' is unavailable in watchOS
 39 |     setupOverlayWindow(in: windowScene)
 40 |     startMotionTracking()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift (in target 'ContextualRotation' from project 'ContextualRotation')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ContextualRotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:65:51: error: 'UIWindowScene' is unavailable in watchOS
 63 |   }
 64 |
 65 |   private func setupOverlayWindow(in windowScene: UIWindowScene) {
    |                                                   `- error: 'UIWindowScene' is unavailable in watchOS
 66 |     let window = PassThroughWindow(windowScene: windowScene)
 67 |     window.windowLevel = .alert + 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:304:27: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
302 |   override func viewWillTransition(
303 |     to size: CGSize,
304 |     with coordinator: any UIViewControllerTransitionCoordinator
    |                           `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
305 |   ) {
306 |     super.viewWillTransition(to: size, with: coordinator)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 79 |
 80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
    |           `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
 82 |
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:298:38: error: 'UIViewController' is unavailable in watchOS
296 |
297 | /// A lightweight view controller that intercepts native system rotation events.
298 | private class OverlayViewController: UIViewController {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
299 |   var onTransitionStart: (@MainActor () -> Void)?
300 |   var onTransitionEnd: (@MainActor () -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:55: error: 'UIEvent' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                       `- error: 'UIEvent' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ContextualRotation/ContextualRotation.swift:321:68: error: 'UIView' is unavailable in watchOS
319 | /// the application below, while still catching touches on its subviews.
320 | private class PassThroughWindow: UIWindow {
321 |   override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                    `- error: 'UIView' is unavailable in watchOS
322 |     let hitView = super.hitTest(point, with: event)
323 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-25 08:43:14.903 xcodebuild[813:4644] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ContextualRotation (in target 'ContextualRotation' from project 'ContextualRotation')
	SwiftCompile normal arm64_32 (in target 'ContextualRotation' from project 'ContextualRotation')
	Building workspace ContextualRotation with scheme ContextualRotation
(3 failures)
BUILD FAILURE 6.4 watchOS