The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Aperture, reference main (7591bb), with Swift 6.4 for visionOS using Xcode 27.0 on 21 Sep 2026 13:05:06 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 Aperture -destination generic/platform=xrOS

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wulkano/Aperture.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wulkano/Aperture
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7591bb5 Rewrite with ScreenCaptureKit (#80)
Cloned https://github.com/wulkano/Aperture.git
Revision (git rev-parse @):
7591bb540c844fe6c47edeac34b17c25e92a717f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wulkano/Aperture.git at main
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.4
Building package at path:  $PWD
https://github.com/wulkano/Aperture.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:
  Aperture: /Users/admin/builder/spi-builder-workspace
resolved source packages: Aperture
2026-09-21 09:04:12.596 xcodebuild[529:3056] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Aperture",
  "name" : "Aperture",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Aperture",
      "targets" : [
        "Aperture"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Aperture",
      "module_type" : "SwiftTarget",
      "name" : "Aperture",
      "path" : "Sources/Aperture",
      "product_memberships" : [
        "Aperture"
      ],
      "sources" : [
        "Aperture.swift",
        "Devices.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
{
  "workspace" : {
    "name" : "Aperture",
    "schemes" : [
      "Aperture"
    ]
  }
}
2026-09-21 09:04:54.049 xcodebuild[648:4163] [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 Aperture -destination generic/platform=xrOS
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 Aperture -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
  Aperture: /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 'Aperture-product' in project 'Aperture'
        ➜ Explicit dependency on target 'Aperture' in project 'Aperture'
    Target 'Aperture' in project 'Aperture' (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/XROS.platform/Developer/SDKs/XROS27.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: afdd93ff1eee9d50adc2cc75d4ac6466
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/afdd93ff1eee9d50adc2cc75d4ac6466.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/CompilationCache.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.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/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
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/SwiftExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/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/EagerLinkingTBDs/Debug-xros
    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-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Aperture.DependencyStaticMetadataFileList (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Aperture.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Aperture.DependencyMetadataFileList (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Aperture.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Aperture.modulemap (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Aperture.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.LinkFileList (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-OutputFileMap.json (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.SwiftConstValuesFileList (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.SwiftFileList (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.SwiftFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/Aperture.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Aperture.modulemap (in target 'Aperture' from project 'Aperture')
    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/Aperture.build/Debug-xros/Aperture-t.build/Aperture.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver Aperture normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Aperture' from project 'Aperture')
    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 Aperture -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.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/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-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/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-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 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-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/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-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/_Builtin_stdbool-5BU2ADS7JXQMYENKQHW9X8XOU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-5NQ9Z1GV07GBSRQGAQCGXGVRI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-46GOQP8J1QTHLYQSJW81T8UZ3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-C8XHKSHX96D5YYALNM4W70Z0O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-CDA349K2K4US766844K8E0PVA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-CI4H5RO9IYFFWQ2COB512Q2S9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-BXA97MNLI4BB0HF5I8MJE403D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMediaIO-6D2V04MLEOPFLO1Y7KKXURACY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-1WBA714DZSVUL5JQDJ08CLKZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-6WKHNW5S40U2QGHXXGETUDIRA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-1Q8IQP6M38UWSGZ95UCEY2M44.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-5RGRVV2TZ6WC4WZW5IXF8NQ04.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-425JDMN5HPM3D0UEI8LEHP6NM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-ENTECK156YEWITZRRBTOCE4KR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-2GT67HHHHK5CF1V1S31LH0PU2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-AYM0BHR77VKMWZCO2T0XGV2HF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-8OR6T47OOYJA90ZBO3N1USDE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-BPYSMHWI520EQRL2HW519ZY7Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-BC5IJI3YI34RQ61ZNVDRDZ6RN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-9ZHN6JKBS40BBA81RQMV8H0IC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-1VUZPM79PNCAHXVBERD53WRSF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-11B64KJD36B3YOHBR1BBXBJY8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-60P5LVNQO3ESRRM5DCJ05PFNK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-9XXAB17Y6E4BBPQADD61NZ23.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-3XTHY7HWV6RF3KXKYQVHUBUXK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-26TIBFYCEJZVP216ZZAU1X8KN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-692CJ8BG6RE5H04487EJJOVXW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-4U1VXMWIZD80E7PRUQF2G7P9X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-5E0I2846LO3ZE24CSVR2O57TI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-CLT3466HKC22GCKAWSCNG0H7T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-EP5EU7FNGP4VOA3EDM18P1KHO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-AVLTZVCXBU2TO75JCN4AGU8XJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/dnssd-CCUV1M8EULNEQJUXO7L0PJAL4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-1004XEJ3IXOOAU0KL58SM3D0K.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-5MI70N1VLDQSWTX4COWLMSIRO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-45UXYEQRN95KG6BF2CW0QIYK9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-BFUJ177R223UT2ZI327ZTZY91.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-8TH2M8WJIQMET4SADWX0N8372.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-CXS3C78T5TQDGLEGXIBJ04WJ4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-8GON1KVEKRN3NOQI8RETBRWJP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-6F9TY5TEPCCZ1K2KYM4GMEGHD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-5CC6COR9KJYI1UBL7CSHLU2OG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-BANTQ3WXXGKZJYC0LLB3MD9K0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-AOVGLUWEAN6CG2UZFNESGSP6C.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-8TBYAKHCX6UC8QQSS7BD8GQK5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/FileProvider-C9I28SI56F2SEVH1BCWTKGODO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-E5KMWDZEKS4QW9RO1KBRDEXV6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Network-EQPZZF3W6BWG89K0PY9NZO3T0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-7L19IC4ZH9BPYLVTD8IIFWN9R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-8G2XC01RPQ5HYIZE6JNUT864I.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-BNGT87TS0GMBFF7TY70HHB69.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-5FE9U89GVFF9A7X7AGO2R8ENI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-1DR4J4YDVDGAYQTZ0FKZ1PU09.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-8IIV1V1FPNAPA4LY1Y23LOM2N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-8GQGFVARUE99D8VJX3TINY0VP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-56BKSYXNVAP91BYZRWAKQZKGI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-EKNUM9P3PRIBHZK1ZBD6BA2T7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AudioToolbox-2K3S8EA590EB3GMH6D6784BWZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVRouting-55P8FRNK50AFZOMMB2LBBOX33.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-1SN37095DAPVJ068LLP9TBDQX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-10LV922UPGE28QX2SOIO7ALIZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-E12HJSJSLO0YKWYBES11UKJ02.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-12T8WVKUNCL1N7VXH87MM4YOB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-D1IBHC28BRHWLNUG1Q75G5YN0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-8WF1P230U10QM666EQMNV7OF1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-6OBBMA39VFD4CB6SG2PE41FAP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/VideoToolbox-7I4MDYIPJ4IWU1ZSL4JE3I7M6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-E8GATWFYYBEBB41O9N0LRRGYC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MediaToolbox-1J5U29ERBPNPI1HKEJHXOP8EV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-2D2PMAAE45TMO6S28UCGCO5BR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFoundation-DFCX8GQJWVA3CZBITWEHAZEFX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ScreenCaptureKit-DILR0XERWDMZI9CMXQJKQMXUG.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ Aperture (in target 'Aperture' from project 'Aperture')
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:253:23: error: 'SCStream' is only available in visionOS 27.0 or newer
249 |
250 | extension Aperture {
251 | 	final class RecordingSession: NSObject {
    |              `- note: add '@available' attribute to enclosing class
252 | 		/// The stream object for capturing anything on displays
253 | 		private var stream: SCStream?
    |                       `- error: 'SCStream' is only available in visionOS 27.0 or newer
254 | 		private var isStreamRecording = false
255 | 		/// The writer that will combine all the video/audio inputs into the destination file
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:266:37: error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
264 |
265 | 		/// The data output stream for the microphone session
266 | 		private var microphoneDataOutput: AVCaptureAudioDataOutput?
    |                                     `- error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
267 | 		/// The data output stream for the external device session
268 | 		private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:30:12: note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 28 |  */
 29 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 30 | @interface AVCaptureAudioDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 31 | {
 32 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:268:41: error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
266 | 		private var microphoneDataOutput: AVCaptureAudioDataOutput?
267 | 		/// The data output stream for the external device session
268 | 		private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
    |                                         `- error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
269 |
270 | 		/// The microphone capturing session for versions before macOS 15
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:30:12: note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 28 |  */
 29 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 30 | @interface AVCaptureAudioDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 31 | {
 32 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:575:101: error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
529 | }
530 |
531 | extension Aperture.RecordingSession {
    | `- note: add '@available' attribute to enclosing extension
532 | 	private func getAssetWriter(target: Aperture.Target, options: Aperture.RecordingOptions) throws -> AVAssetWriter {
533 | 		let fileType: AVFileType
    :
573 | 	}
574 |
575 | 	private func initOutput(target: Aperture.Target, options: Aperture.RecordingOptions, streamConfig: SCStreamConfiguration) async throws {
    |               |                                                                                     `- error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
    |               `- note: add '@available' attribute to enclosing instance method
576 | 		let assetWriter = try getAssetWriter(target: target, options: options)
577 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:856:31: error: 'SCStream' is only available in visionOS 27.0 or newer
853 | }
854 |
855 | extension Aperture.RecordingSession: SCStreamDelegate {
    | `- note: add '@available' attribute to enclosing extension
856 | 	public func stream(_ stream: SCStream, didStopWithError error: any Error) {
    |              |                `- error: 'SCStream' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
857 | 		recordError(error: .unknown(error))
858 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:862:31: error: 'SCStream' is only available in visionOS 27.0 or newer
859 | }
860 |
861 | extension Aperture.RecordingSession: SCStreamOutput {
    | `- note: add '@available' attribute to enclosing extension
862 | 	public func stream(_ stream: SCStream, didOutputSampleBuffer sampleBuffer: CMSampleBuffer, of type: SCStreamOutputType) {
    |              |                `- error: 'SCStream' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
863 | 		guard !isPaused, sampleBuffer.isValid else {
864 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:862:102: error: 'SCStreamOutputType' is only available in visionOS 27.0 or newer
859 | }
860 |
861 | extension Aperture.RecordingSession: SCStreamOutput {
    | `- note: add '@available' attribute to enclosing extension
862 | 	public func stream(_ stream: SCStream, didOutputSampleBuffer sampleBuffer: CMSampleBuffer, of type: SCStreamOutputType) {
    |              |                                                                                       `- error: 'SCStreamOutputType' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
863 | 		guard !isPaused, sampleBuffer.isValid else {
864 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:921:38: error: 'AVCaptureAudioDataOutputSampleBufferDelegate' is unavailable in visionOS
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
    |                                      `- error: 'AVCaptureAudioDataOutputSampleBufferDelegate' is unavailable in visionOS
922 | 	public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
923 | 		guard !isPaused else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:128:11: note: 'AVCaptureAudioDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
126 |  */
127 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
128 | @protocol AVCaptureAudioDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureAudioDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
129 |
130 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:17:11: error: cannot find type 'NSScreen' in scope
 15 | }
 16 |
 17 | extension NSScreen {
    |           `- error: cannot find type 'NSScreen' in scope
 18 | 	var displayID: CGDirectDisplayID? {
 19 | 		deviceDescription[NSDeviceDescriptionKey(rawValue: "NSScreenNumber")] as? CGDirectDisplayID
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:24:16: error: cannot find type 'NSScreen' in scope
 22 |
 23 | extension SCDisplay {
 24 | 	var nsScreen: NSScreen? {
    |                `- error: cannot find type 'NSScreen' in scope
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
 26 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:23:11: error: 'SCDisplay' is unavailable in visionOS
 21 | }
 22 |
 23 | extension SCDisplay {
    |           `- error: 'SCDisplay' is unavailable in visionOS
 24 | 	var nsScreen: NSScreen? {
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h:96:12: note: 'SCDisplay' has been explicitly marked unavailable here
 94 |
 95 | API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos)
 96 | @interface SCDisplay : NSObject
    |            `- note: 'SCDisplay' has been explicitly marked unavailable here
 97 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
 98 | /*!
Failed frontend command:
SwiftCompile normal arm64 (in target 'Aperture' from project 'Aperture')
    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/Aperture/Aperture.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import ScreenCaptureKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Modules/ScreenCaptureKit.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import ScreenCaptureKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Modules/ScreenCaptureKit.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.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/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Aperture -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.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/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.abi.json
SwiftCompile normal arm64 Compiling\ Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift (in target 'Aperture' from project 'Aperture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift:5:2: error: cannot find 'CGMainDisplayID' in scope
  3 |
  4 | internal func initializeCGS() {
  5 | 	CGMainDisplayID()
    |  `- error: cannot find 'CGMainDisplayID' in scope
  6 | }
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift:15:19: error: 'SCShareableContent' is unavailable in visionOS
 13 | 		get async {
 14 | 			do {
 15 | 				_ = try await SCShareableContent.current
    |                   `- error: 'SCShareableContent' is unavailable in visionOS
 16 | 				return true
 17 | 			} catch {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h:146:12: note: 'SCShareableContent' has been explicitly marked unavailable here
144 |
145 | API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos)
146 | @interface SCShareableContent : NSObject
    |            `- note: 'SCShareableContent' has been explicitly marked unavailable here
147 | /*!
148 | @abstract getShareableContentWithCompletionHandler:completionHandler
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift:130:12: error: 'proRes422' is unavailable in visionOS
128 | 			return .hevc
129 | 		case .proRes422:
130 | 			return .proRes422
    |            `- error: 'proRes422' is unavailable in visionOS
131 | 		case .proRes4444:
132 | 			return .proRes4444
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h:49:36: note: 'proRes422' has been explicitly marked unavailable here
 47 | 	AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeAppleProRes4444 /* @"ap4h" */         API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
 48 | 	AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeAppleProRes4444XQ /* @"ap4x" */       API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
 49 | 	AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeAppleProRes422 /* @"apcn" */          API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
    |                                    `- note: 'proRes422' has been explicitly marked unavailable here
 50 | 	AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeAppleProRes422HQ /* @"apch" */		API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
 51 | 	AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeAppleProRes422LT /* @"apcs" */		API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
SwiftCompile normal arm64 Compiling\ Devices.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift (in target 'Aperture' from project 'Aperture')
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:17:11: error: cannot find type 'NSScreen' in scope
 15 | }
 16 |
 17 | extension NSScreen {
    |           `- error: cannot find type 'NSScreen' in scope
 18 | 	var displayID: CGDirectDisplayID? {
 19 | 		deviceDescription[NSDeviceDescriptionKey(rawValue: "NSScreenNumber")] as? CGDirectDisplayID
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:24:16: error: cannot find type 'NSScreen' in scope
 22 |
 23 | extension SCDisplay {
 24 | 	var nsScreen: NSScreen? {
    |                `- error: cannot find type 'NSScreen' in scope
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
 26 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:23:11: error: 'SCDisplay' is unavailable in visionOS
 21 | }
 22 |
 23 | extension SCDisplay {
    |           `- error: 'SCDisplay' is unavailable in visionOS
 24 | 	var nsScreen: NSScreen? {
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h:96:12: note: 'SCDisplay' has been explicitly marked unavailable here
 94 |
 95 | API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos)
 96 | @interface SCDisplay : NSObject
    |            `- note: 'SCDisplay' has been explicitly marked unavailable here
 97 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
 98 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:7:17: error: cannot find 'CMIOObjectPropertyAddress' in scope
  5 | // Enable access to iOS devices.
  6 | internal func enableDalDevices() {
  7 | 	var property = CMIOObjectPropertyAddress(
    |                 `- error: cannot find 'CMIOObjectPropertyAddress' in scope
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:8:14: error: cannot find 'CMIOObjectPropertySelector' in scope
  6 | internal func enableDalDevices() {
  7 | 	var property = CMIOObjectPropertyAddress(
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
    |              `- error: cannot find 'CMIOObjectPropertySelector' in scope
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:8:41: error: cannot find 'kCMIOHardwarePropertyAllowScreenCaptureDevices' in scope
  6 | internal func enableDalDevices() {
  7 | 	var property = CMIOObjectPropertyAddress(
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
    |                                         `- error: cannot find 'kCMIOHardwarePropertyAllowScreenCaptureDevices' in scope
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:9:11: error: cannot find 'CMIOObjectPropertyScope' in scope
  7 | 	var property = CMIOObjectPropertyAddress(
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
    |           `- error: cannot find 'CMIOObjectPropertyScope' in scope
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
 11 | 	)
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:9:35: error: cannot find 'kCMIOObjectPropertyScopeGlobal' in scope
  7 | 	var property = CMIOObjectPropertyAddress(
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
    |                                   `- error: cannot find 'kCMIOObjectPropertyScopeGlobal' in scope
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
 11 | 	)
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:10:13: error: cannot find 'CMIOObjectPropertyElement' in scope
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
    |             `- error: cannot find 'CMIOObjectPropertyElement' in scope
 11 | 	)
 12 | 	var allow: UInt32 = 1
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:10:39: error: cannot find 'kCMIOObjectPropertyElementMain' in scope
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
    |                                       `- error: cannot find 'kCMIOObjectPropertyElementMain' in scope
 11 | 	)
 12 | 	var allow: UInt32 = 1
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:14:2: error: cannot find 'CMIOObjectSetPropertyData' in scope
 12 | 	var allow: UInt32 = 1
 13 | 	let sizeOfAllow = MemoryLayout<UInt32>.size
 14 | 	CMIOObjectSetPropertyData(CMIOObjectID(kCMIOObjectSystemObject), &property, 0, nil, UInt32(sizeOfAllow), &allow)
    |  `- error: cannot find 'CMIOObjectSetPropertyData' in scope
 15 | }
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:14:28: error: cannot find 'CMIOObjectID' in scope
 12 | 	var allow: UInt32 = 1
 13 | 	let sizeOfAllow = MemoryLayout<UInt32>.size
 14 | 	CMIOObjectSetPropertyData(CMIOObjectID(kCMIOObjectSystemObject), &property, 0, nil, UInt32(sizeOfAllow), &allow)
    |                            `- error: cannot find 'CMIOObjectID' in scope
 15 | }
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:14:41: error: cannot find 'kCMIOObjectSystemObject' in scope
 12 | 	var allow: UInt32 = 1
 13 | 	let sizeOfAllow = MemoryLayout<UInt32>.size
 14 | 	CMIOObjectSetPropertyData(CMIOObjectID(kCMIOObjectSystemObject), &property, 0, nil, UInt32(sizeOfAllow), &allow)
    |                                         `- error: cannot find 'kCMIOObjectSystemObject' in scope
 15 | }
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:25:3: error: cannot find 'NSScreen' in scope
 23 | extension SCDisplay {
 24 | 	var nsScreen: NSScreen? {
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
    |   `- error: cannot find 'NSScreen' in scope
 26 | 	}
 27 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Devices.swift
SwiftCompile normal arm64 Compiling\ Aperture.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift (in target 'Aperture' from project 'Aperture')
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:253:23: error: 'SCStream' is only available in visionOS 27.0 or newer
249 |
250 | extension Aperture {
251 | 	final class RecordingSession: NSObject {
    |              `- note: add '@available' attribute to enclosing class
252 | 		/// The stream object for capturing anything on displays
253 | 		private var stream: SCStream?
    |                       `- error: 'SCStream' is only available in visionOS 27.0 or newer
254 | 		private var isStreamRecording = false
255 | 		/// The writer that will combine all the video/audio inputs into the destination file
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:266:37: error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
264 |
265 | 		/// The data output stream for the microphone session
266 | 		private var microphoneDataOutput: AVCaptureAudioDataOutput?
    |                                     `- error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
267 | 		/// The data output stream for the external device session
268 | 		private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:30:12: note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 28 |  */
 29 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 30 | @interface AVCaptureAudioDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 31 | {
 32 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:268:41: error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
266 | 		private var microphoneDataOutput: AVCaptureAudioDataOutput?
267 | 		/// The data output stream for the external device session
268 | 		private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
    |                                         `- error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
269 |
270 | 		/// The microphone capturing session for versions before macOS 15
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:30:12: note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 28 |  */
 29 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 30 | @interface AVCaptureAudioDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 31 | {
 32 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:575:101: error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
529 | }
530 |
531 | extension Aperture.RecordingSession {
    | `- note: add '@available' attribute to enclosing extension
532 | 	private func getAssetWriter(target: Aperture.Target, options: Aperture.RecordingOptions) throws -> AVAssetWriter {
533 | 		let fileType: AVFileType
    :
573 | 	}
574 |
575 | 	private func initOutput(target: Aperture.Target, options: Aperture.RecordingOptions, streamConfig: SCStreamConfiguration) async throws {
    |               |                                                                                     `- error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
    |               `- note: add '@available' attribute to enclosing instance method
576 | 		let assetWriter = try getAssetWriter(target: target, options: options)
577 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:856:31: error: 'SCStream' is only available in visionOS 27.0 or newer
853 | }
854 |
855 | extension Aperture.RecordingSession: SCStreamDelegate {
    | `- note: add '@available' attribute to enclosing extension
856 | 	public func stream(_ stream: SCStream, didStopWithError error: any Error) {
    |              |                `- error: 'SCStream' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
857 | 		recordError(error: .unknown(error))
858 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:862:31: error: 'SCStream' is only available in visionOS 27.0 or newer
859 | }
860 |
861 | extension Aperture.RecordingSession: SCStreamOutput {
    | `- note: add '@available' attribute to enclosing extension
862 | 	public func stream(_ stream: SCStream, didOutputSampleBuffer sampleBuffer: CMSampleBuffer, of type: SCStreamOutputType) {
    |              |                `- error: 'SCStream' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
863 | 		guard !isPaused, sampleBuffer.isValid else {
864 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:862:102: error: 'SCStreamOutputType' is only available in visionOS 27.0 or newer
859 | }
860 |
861 | extension Aperture.RecordingSession: SCStreamOutput {
    | `- note: add '@available' attribute to enclosing extension
862 | 	public func stream(_ stream: SCStream, didOutputSampleBuffer sampleBuffer: CMSampleBuffer, of type: SCStreamOutputType) {
    |              |                                                                                       `- error: 'SCStreamOutputType' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
863 | 		guard !isPaused, sampleBuffer.isValid else {
864 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:921:38: error: 'AVCaptureAudioDataOutputSampleBufferDelegate' is unavailable in visionOS
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
    |                                      `- error: 'AVCaptureAudioDataOutputSampleBufferDelegate' is unavailable in visionOS
922 | 	public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
923 | 		guard !isPaused else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:128:11: note: 'AVCaptureAudioDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
126 |  */
127 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
128 | @protocol AVCaptureAudioDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureAudioDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
129 |
130 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:320:23: error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
249 |
250 | extension Aperture {
251 | 	final class RecordingSession: NSObject {
    |              `- note: add '@available' attribute to enclosing class
252 | 		/// The stream object for capturing anything on displays
253 | 		private var stream: SCStream?
    :
301 | 		var onError: ((Error) -> Void)?
302 |
303 | 		func start(
    |        `- note: add '@available' attribute to enclosing instance method
304 | 			target: Target,
305 | 			options: RecordingOptions
    :
318 | 			}
319 |
320 | 			let streamConfig = SCStreamConfiguration()
    |                       |- error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
    |                       `- note: add 'if #available' version check
321 |
322 | 			streamConfig.queueDepth = 6
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:322:17: error: 'queueDepth' is unavailable in visionOS
320 | 			let streamConfig = SCStreamConfiguration()
321 |
322 | 			streamConfig.queueDepth = 6
    |                 `- error: 'queueDepth' is unavailable in visionOS
323 |
324 | 			switch options.videoCodec {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCStream.h:299:40: note: 'queueDepth' has been explicitly marked unavailable here
297 |  @abstract SCStreamProperty that specifies the number of frames to keep in the queue.  If not set the default value is 8 frames.  Specifying more frames uses more memory, but may allow you to process frame data without stalling the display stream and should not exceed 8 frames.
298 |  */
299 | @property(nonatomic, assign) NSInteger queueDepth API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos);
    |                                        `- note: 'queueDepth' has been explicitly marked unavailable here
300 |
301 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Aperture.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-21 09:04:55.669 xcodebuild[649:4207] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 (in target 'Aperture' from project 'Aperture')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ Aperture (in target 'Aperture' from project 'Aperture')
	Building workspace Aperture with scheme Aperture
(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:
  Aperture: /Users/admin/builder/spi-builder-workspace
resolved source packages: Aperture
2026-09-21 09:05:03.484 xcodebuild[749:4619] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Aperture",
  "name" : "Aperture",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Aperture",
      "targets" : [
        "Aperture"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Aperture",
      "module_type" : "SwiftTarget",
      "name" : "Aperture",
      "path" : "Sources/Aperture",
      "product_memberships" : [
        "Aperture"
      ],
      "sources" : [
        "Aperture.swift",
        "Devices.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
{
  "workspace" : {
    "name" : "Aperture",
    "schemes" : [
      "Aperture"
    ]
  }
}
2026-09-21 09:05:04.635 xcodebuild[757:4688] [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 Aperture -destination generic/platform=xrOS
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 Aperture -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
  Aperture: /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 'Aperture-product' in project 'Aperture'
        ➜ Explicit dependency on target 'Aperture' in project 'Aperture'
    Target 'Aperture' in project 'Aperture' (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/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.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/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
SwiftDriver Aperture normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Aperture' from project 'Aperture')
    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 Aperture -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.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/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-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/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-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 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-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/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Devices.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift (in target 'Aperture' from project 'Aperture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Devices.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:17:11: error: cannot find type 'NSScreen' in scope
 15 | }
 16 |
 17 | extension NSScreen {
    |           `- error: cannot find type 'NSScreen' in scope
 18 | 	var displayID: CGDirectDisplayID? {
 19 | 		deviceDescription[NSDeviceDescriptionKey(rawValue: "NSScreenNumber")] as? CGDirectDisplayID
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:24:16: error: cannot find type 'NSScreen' in scope
 22 |
 23 | extension SCDisplay {
 24 | 	var nsScreen: NSScreen? {
    |                `- error: cannot find type 'NSScreen' in scope
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
 26 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:23:11: error: 'SCDisplay' is unavailable in visionOS
 21 | }
 22 |
 23 | extension SCDisplay {
    |           `- error: 'SCDisplay' is unavailable in visionOS
 24 | 	var nsScreen: NSScreen? {
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h:96:12: note: 'SCDisplay' has been explicitly marked unavailable here
 94 |
 95 | API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos)
 96 | @interface SCDisplay : NSObject
    |            `- note: 'SCDisplay' has been explicitly marked unavailable here
 97 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
 98 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:7:17: error: cannot find 'CMIOObjectPropertyAddress' in scope
  5 | // Enable access to iOS devices.
  6 | internal func enableDalDevices() {
  7 | 	var property = CMIOObjectPropertyAddress(
    |                 `- error: cannot find 'CMIOObjectPropertyAddress' in scope
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:8:14: error: cannot find 'CMIOObjectPropertySelector' in scope
  6 | internal func enableDalDevices() {
  7 | 	var property = CMIOObjectPropertyAddress(
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
    |              `- error: cannot find 'CMIOObjectPropertySelector' in scope
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:8:41: error: cannot find 'kCMIOHardwarePropertyAllowScreenCaptureDevices' in scope
  6 | internal func enableDalDevices() {
  7 | 	var property = CMIOObjectPropertyAddress(
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
    |                                         `- error: cannot find 'kCMIOHardwarePropertyAllowScreenCaptureDevices' in scope
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:9:11: error: cannot find 'CMIOObjectPropertyScope' in scope
  7 | 	var property = CMIOObjectPropertyAddress(
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
    |           `- error: cannot find 'CMIOObjectPropertyScope' in scope
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
 11 | 	)
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:9:35: error: cannot find 'kCMIOObjectPropertyScopeGlobal' in scope
  7 | 	var property = CMIOObjectPropertyAddress(
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
    |                                   `- error: cannot find 'kCMIOObjectPropertyScopeGlobal' in scope
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
 11 | 	)
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:10:13: error: cannot find 'CMIOObjectPropertyElement' in scope
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
    |             `- error: cannot find 'CMIOObjectPropertyElement' in scope
 11 | 	)
 12 | 	var allow: UInt32 = 1
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:10:39: error: cannot find 'kCMIOObjectPropertyElementMain' in scope
  8 | 		mSelector: CMIOObjectPropertySelector(kCMIOHardwarePropertyAllowScreenCaptureDevices),
  9 | 		mScope: CMIOObjectPropertyScope(kCMIOObjectPropertyScopeGlobal),
 10 | 		mElement: CMIOObjectPropertyElement(kCMIOObjectPropertyElementMain)
    |                                       `- error: cannot find 'kCMIOObjectPropertyElementMain' in scope
 11 | 	)
 12 | 	var allow: UInt32 = 1
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:14:2: error: cannot find 'CMIOObjectSetPropertyData' in scope
 12 | 	var allow: UInt32 = 1
 13 | 	let sizeOfAllow = MemoryLayout<UInt32>.size
 14 | 	CMIOObjectSetPropertyData(CMIOObjectID(kCMIOObjectSystemObject), &property, 0, nil, UInt32(sizeOfAllow), &allow)
    |  `- error: cannot find 'CMIOObjectSetPropertyData' in scope
 15 | }
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:14:28: error: cannot find 'CMIOObjectID' in scope
 12 | 	var allow: UInt32 = 1
 13 | 	let sizeOfAllow = MemoryLayout<UInt32>.size
 14 | 	CMIOObjectSetPropertyData(CMIOObjectID(kCMIOObjectSystemObject), &property, 0, nil, UInt32(sizeOfAllow), &allow)
    |                            `- error: cannot find 'CMIOObjectID' in scope
 15 | }
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:14:41: error: cannot find 'kCMIOObjectSystemObject' in scope
 12 | 	var allow: UInt32 = 1
 13 | 	let sizeOfAllow = MemoryLayout<UInt32>.size
 14 | 	CMIOObjectSetPropertyData(CMIOObjectID(kCMIOObjectSystemObject), &property, 0, nil, UInt32(sizeOfAllow), &allow)
    |                                         `- error: cannot find 'kCMIOObjectSystemObject' in scope
 15 | }
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:25:3: error: cannot find 'NSScreen' in scope
 23 | extension SCDisplay {
 24 | 	var nsScreen: NSScreen? {
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
    |   `- error: cannot find 'NSScreen' in scope
 26 | 	}
 27 |
SwiftEmitModule normal arm64 Emitting\ module\ for\ Aperture (in target 'Aperture' from project 'Aperture')
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:253:23: error: 'SCStream' is only available in visionOS 27.0 or newer
249 |
250 | extension Aperture {
251 | 	final class RecordingSession: NSObject {
    |              `- note: add '@available' attribute to enclosing class
252 | 		/// The stream object for capturing anything on displays
253 | 		private var stream: SCStream?
    |                       `- error: 'SCStream' is only available in visionOS 27.0 or newer
254 | 		private var isStreamRecording = false
255 | 		/// The writer that will combine all the video/audio inputs into the destination file
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:266:37: error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
264 |
265 | 		/// The data output stream for the microphone session
266 | 		private var microphoneDataOutput: AVCaptureAudioDataOutput?
    |                                     `- error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
267 | 		/// The data output stream for the external device session
268 | 		private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:30:12: note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 28 |  */
 29 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 30 | @interface AVCaptureAudioDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 31 | {
 32 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:268:41: error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
266 | 		private var microphoneDataOutput: AVCaptureAudioDataOutput?
267 | 		/// The data output stream for the external device session
268 | 		private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
    |                                         `- error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
269 |
270 | 		/// The microphone capturing session for versions before macOS 15
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:30:12: note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 28 |  */
 29 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 30 | @interface AVCaptureAudioDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 31 | {
 32 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:575:101: error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
529 | }
530 |
531 | extension Aperture.RecordingSession {
    | `- note: add '@available' attribute to enclosing extension
532 | 	private func getAssetWriter(target: Aperture.Target, options: Aperture.RecordingOptions) throws -> AVAssetWriter {
533 | 		let fileType: AVFileType
    :
573 | 	}
574 |
575 | 	private func initOutput(target: Aperture.Target, options: Aperture.RecordingOptions, streamConfig: SCStreamConfiguration) async throws {
    |               |                                                                                     `- error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
    |               `- note: add '@available' attribute to enclosing instance method
576 | 		let assetWriter = try getAssetWriter(target: target, options: options)
577 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:856:31: error: 'SCStream' is only available in visionOS 27.0 or newer
853 | }
854 |
855 | extension Aperture.RecordingSession: SCStreamDelegate {
    | `- note: add '@available' attribute to enclosing extension
856 | 	public func stream(_ stream: SCStream, didStopWithError error: any Error) {
    |              |                `- error: 'SCStream' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
857 | 		recordError(error: .unknown(error))
858 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:862:31: error: 'SCStream' is only available in visionOS 27.0 or newer
859 | }
860 |
861 | extension Aperture.RecordingSession: SCStreamOutput {
    | `- note: add '@available' attribute to enclosing extension
862 | 	public func stream(_ stream: SCStream, didOutputSampleBuffer sampleBuffer: CMSampleBuffer, of type: SCStreamOutputType) {
    |              |                `- error: 'SCStream' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
863 | 		guard !isPaused, sampleBuffer.isValid else {
864 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:862:102: error: 'SCStreamOutputType' is only available in visionOS 27.0 or newer
859 | }
860 |
861 | extension Aperture.RecordingSession: SCStreamOutput {
    | `- note: add '@available' attribute to enclosing extension
862 | 	public func stream(_ stream: SCStream, didOutputSampleBuffer sampleBuffer: CMSampleBuffer, of type: SCStreamOutputType) {
    |              |                                                                                       `- error: 'SCStreamOutputType' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
863 | 		guard !isPaused, sampleBuffer.isValid else {
864 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:921:38: error: 'AVCaptureAudioDataOutputSampleBufferDelegate' is unavailable in visionOS
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
    |                                      `- error: 'AVCaptureAudioDataOutputSampleBufferDelegate' is unavailable in visionOS
922 | 	public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
923 | 		guard !isPaused else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:128:11: note: 'AVCaptureAudioDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
126 |  */
127 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
128 | @protocol AVCaptureAudioDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureAudioDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
129 |
130 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:17:11: error: cannot find type 'NSScreen' in scope
 15 | }
 16 |
 17 | extension NSScreen {
    |           `- error: cannot find type 'NSScreen' in scope
 18 | 	var displayID: CGDirectDisplayID? {
 19 | 		deviceDescription[NSDeviceDescriptionKey(rawValue: "NSScreenNumber")] as? CGDirectDisplayID
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:24:16: error: cannot find type 'NSScreen' in scope
 22 |
 23 | extension SCDisplay {
 24 | 	var nsScreen: NSScreen? {
    |                `- error: cannot find type 'NSScreen' in scope
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
 26 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:23:11: error: 'SCDisplay' is unavailable in visionOS
 21 | }
 22 |
 23 | extension SCDisplay {
    |           `- error: 'SCDisplay' is unavailable in visionOS
 24 | 	var nsScreen: NSScreen? {
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h:96:12: note: 'SCDisplay' has been explicitly marked unavailable here
 94 |
 95 | API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos)
 96 | @interface SCDisplay : NSObject
    |            `- note: 'SCDisplay' has been explicitly marked unavailable here
 97 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
 98 | /*!
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/Aperture/Aperture.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import ScreenCaptureKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Modules/ScreenCaptureKit.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import ScreenCaptureKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Modules/ScreenCaptureKit.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.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/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Aperture -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.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/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.abi.json
SwiftCompile normal arm64 (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift (in target 'Aperture' from project 'Aperture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift:5:2: error: cannot find 'CGMainDisplayID' in scope
  3 |
  4 | internal func initializeCGS() {
  5 | 	CGMainDisplayID()
    |  `- error: cannot find 'CGMainDisplayID' in scope
  6 | }
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift:15:19: error: 'SCShareableContent' is unavailable in visionOS
 13 | 		get async {
 14 | 			do {
 15 | 				_ = try await SCShareableContent.current
    |                   `- error: 'SCShareableContent' is unavailable in visionOS
 16 | 				return true
 17 | 			} catch {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h:146:12: note: 'SCShareableContent' has been explicitly marked unavailable here
144 |
145 | API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos)
146 | @interface SCShareableContent : NSObject
    |            `- note: 'SCShareableContent' has been explicitly marked unavailable here
147 | /*!
148 | @abstract getShareableContentWithCompletionHandler:completionHandler
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift:130:12: error: 'proRes422' is unavailable in visionOS
128 | 			return .hevc
129 | 		case .proRes422:
130 | 			return .proRes422
    |            `- error: 'proRes422' is unavailable in visionOS
131 | 		case .proRes4444:
132 | 			return .proRes4444
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h:49:36: note: 'proRes422' has been explicitly marked unavailable here
 47 | 	AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeAppleProRes4444 /* @"ap4h" */         API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
 48 | 	AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeAppleProRes4444XQ /* @"ap4x" */       API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
 49 | 	AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeAppleProRes422 /* @"apcn" */          API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
    |                                    `- note: 'proRes422' has been explicitly marked unavailable here
 50 | 	AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeAppleProRes422HQ /* @"apch" */		API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
 51 | 	AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeAppleProRes422LT /* @"apcs" */		API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
SwiftCompile normal arm64 Compiling\ Aperture.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift (in target 'Aperture' from project 'Aperture')
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:253:23: error: 'SCStream' is only available in visionOS 27.0 or newer
249 |
250 | extension Aperture {
251 | 	final class RecordingSession: NSObject {
    |              `- note: add '@available' attribute to enclosing class
252 | 		/// The stream object for capturing anything on displays
253 | 		private var stream: SCStream?
    |                       `- error: 'SCStream' is only available in visionOS 27.0 or newer
254 | 		private var isStreamRecording = false
255 | 		/// The writer that will combine all the video/audio inputs into the destination file
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:266:37: error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
264 |
265 | 		/// The data output stream for the microphone session
266 | 		private var microphoneDataOutput: AVCaptureAudioDataOutput?
    |                                     `- error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
267 | 		/// The data output stream for the external device session
268 | 		private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:30:12: note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 28 |  */
 29 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 30 | @interface AVCaptureAudioDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 31 | {
 32 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:268:41: error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
266 | 		private var microphoneDataOutput: AVCaptureAudioDataOutput?
267 | 		/// The data output stream for the external device session
268 | 		private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
    |                                         `- error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
269 |
270 | 		/// The microphone capturing session for versions before macOS 15
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:30:12: note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 28 |  */
 29 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 30 | @interface AVCaptureAudioDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
 31 | {
 32 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:575:101: error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
529 | }
530 |
531 | extension Aperture.RecordingSession {
    | `- note: add '@available' attribute to enclosing extension
532 | 	private func getAssetWriter(target: Aperture.Target, options: Aperture.RecordingOptions) throws -> AVAssetWriter {
533 | 		let fileType: AVFileType
    :
573 | 	}
574 |
575 | 	private func initOutput(target: Aperture.Target, options: Aperture.RecordingOptions, streamConfig: SCStreamConfiguration) async throws {
    |               |                                                                                     `- error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
    |               `- note: add '@available' attribute to enclosing instance method
576 | 		let assetWriter = try getAssetWriter(target: target, options: options)
577 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:856:31: error: 'SCStream' is only available in visionOS 27.0 or newer
853 | }
854 |
855 | extension Aperture.RecordingSession: SCStreamDelegate {
    | `- note: add '@available' attribute to enclosing extension
856 | 	public func stream(_ stream: SCStream, didStopWithError error: any Error) {
    |              |                `- error: 'SCStream' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
857 | 		recordError(error: .unknown(error))
858 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:862:31: error: 'SCStream' is only available in visionOS 27.0 or newer
859 | }
860 |
861 | extension Aperture.RecordingSession: SCStreamOutput {
    | `- note: add '@available' attribute to enclosing extension
862 | 	public func stream(_ stream: SCStream, didOutputSampleBuffer sampleBuffer: CMSampleBuffer, of type: SCStreamOutputType) {
    |              |                `- error: 'SCStream' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
863 | 		guard !isPaused, sampleBuffer.isValid else {
864 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:862:102: error: 'SCStreamOutputType' is only available in visionOS 27.0 or newer
859 | }
860 |
861 | extension Aperture.RecordingSession: SCStreamOutput {
    | `- note: add '@available' attribute to enclosing extension
862 | 	public func stream(_ stream: SCStream, didOutputSampleBuffer sampleBuffer: CMSampleBuffer, of type: SCStreamOutputType) {
    |              |                                                                                       `- error: 'SCStreamOutputType' is only available in visionOS 27.0 or newer
    |              `- note: add '@available' attribute to enclosing instance method
863 | 		guard !isPaused, sampleBuffer.isValid else {
864 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:921:38: error: 'AVCaptureAudioDataOutputSampleBufferDelegate' is unavailable in visionOS
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
    |                                      `- error: 'AVCaptureAudioDataOutputSampleBufferDelegate' is unavailable in visionOS
922 | 	public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
923 | 		guard !isPaused else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:128:11: note: 'AVCaptureAudioDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
126 |  */
127 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
128 | @protocol AVCaptureAudioDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureAudioDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
129 |
130 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:320:23: error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
249 |
250 | extension Aperture {
251 | 	final class RecordingSession: NSObject {
    |              `- note: add '@available' attribute to enclosing class
252 | 		/// The stream object for capturing anything on displays
253 | 		private var stream: SCStream?
    :
301 | 		var onError: ((Error) -> Void)?
302 |
303 | 		func start(
    |        `- note: add '@available' attribute to enclosing instance method
304 | 			target: Target,
305 | 			options: RecordingOptions
    :
318 | 			}
319 |
320 | 			let streamConfig = SCStreamConfiguration()
    |                       |- error: 'SCStreamConfiguration' is only available in visionOS 27.0 or newer
    |                       `- note: add 'if #available' version check
321 |
322 | 			streamConfig.queueDepth = 6
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:322:17: error: 'queueDepth' is unavailable in visionOS
320 | 			let streamConfig = SCStreamConfiguration()
321 |
322 | 			streamConfig.queueDepth = 6
    |                 `- error: 'queueDepth' is unavailable in visionOS
323 |
324 | 			switch options.videoCodec {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCStream.h:299:40: note: 'queueDepth' has been explicitly marked unavailable here
297 |  @abstract SCStreamProperty that specifies the number of frames to keep in the queue.  If not set the default value is 8 frames.  Specifying more frames uses more memory, but may allow you to process frame data without stalling the display stream and should not exceed 8 frames.
298 |  */
299 | @property(nonatomic, assign) NSInteger queueDepth API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos);
    |                                        `- note: 'queueDepth' has been explicitly marked unavailable here
300 |
301 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Aperture.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-21 09:05:05.556 xcodebuild[758:4712] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ Aperture (in target 'Aperture' from project 'Aperture')
	SwiftCompile normal arm64 (in target 'Aperture' from project 'Aperture')
	Building workspace Aperture with scheme Aperture
(3 failures)
BUILD FAILURE 6.4 visionOS