The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Aperture, reference main (7591bb), with Swift 6.4 for iOS using Xcode 27.0 on 21 Sep 2026 13:05:59 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=iOS

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:         iOS
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:05:07.182 xcodebuild[529:3041] [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:48.634 xcodebuild[648:4149] [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=iOS
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=iOS
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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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: cd92c7cd017083fc0ea7b2ffa426c72d
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/cd92c7cd017083fc0ea7b2ffa426c72d.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/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/ModuleCache.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
    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-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/Aperture-t.build/Aperture.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/Aperture-t.build/Aperture.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/Aperture-t.build/Aperture.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/Aperture-t.build/Objects-normal/arm64/Aperture.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/Aperture-t.build/Objects-normal/arm64/Aperture.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/Aperture-t.build/Objects-normal/arm64/Aperture-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/Aperture-t.build/Objects-normal/arm64/Aperture.LinkFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/Aperture.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/Aperture-t.build/Aperture.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos
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-iphoneos/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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -target arm64-apple-ios15.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-iphoneos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/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/DeveloperToolsSupport-AUYQ7RZGQ59TXNGR56E2ZGE17.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-A68EWFTK1KMCWXEVQVUVX32IF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-9M60LQ19IG7KF2I6MAZT1EE2L.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-BEJ25RSXHVJMS8GY54A7TIDQC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-ELWSSDP0MKO9UN7OCGHYENU4N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-46VMPHZN3071T5WUKTVKV81O6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-DS3M26O02MEUZY8PORVO63UN8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMediaIO-6YOYC8SK0ZXN6YZA9PU5ATW9A.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-A3OTZIBNLUK4KRPK79SR9VALR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-9ZM475TB9FF7V697OJNYX6RO9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-353X4HCQ4QM1XN1RGUYE5DJXQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-6AS4X33TU1806YATN4YELVHNM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-DBOBRBKI8YXN3X7HCIRAXFELN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-BR17857KX1560DFAJ8X0RLP2X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-3VRVITBSRYCNS1X3HOZPXQS3E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-4SPNE64SFJA0QV142KR6FB8H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-5HH7TKWQY3C2P6USS0J5RO1BK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-4H7GQGME5X7WUG5O55QKSXPG0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-BWQ9HHUEF00PLTWBF6Y3RFT1Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-CLJVNIOHLPNAVPMY1PCE07PC6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-M7DSWA69W6IRMFV5G3UL303L.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-F02YQXAV70SBQYNR1TCILSZQC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-BI81F3DSM7GNALREB2L4UAO3K.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-DI8CY2CM6ND6C9DF4BMO8B2Y4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-4OVT5NEPGSOC5S7WJ8A4CI9HQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-B11KXH0CHRPAR6DL0V15OUWX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-39R6K1ZW4M0CXKJ1WMJZK8M2C.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-24KM5066VOM199SLPK0FMLPYP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-ATYRC6ZTNZOFUFVI4AZT0N36L.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-7901ZPGJYLUDNLYCSVBTOCJ2R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-6RZ7WG7C70RNLQ7W9TEHN64U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/dnssd-2HMC2ZPZHRV7WTQL52S1JXICJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-2B8LCRX5U2HGX5DUXAJMAUYF5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-D19NGWGGCIMHTFO5YUINIK4A7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-CKHY0HEWI1S67QSGB5QKT2KK1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-1SD6JR1OD1L9VFTHCRUEAA4HT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-5TNF2EJXR20ST0PBDR1AWITTL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-38LZ2U8T2TAJNP8SDQ1CJJE3F.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-2VUW91YZGH0XJJO80VUQL1L8W.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-1A84M7V1QOXIBMN0W05H3CVWO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-7UJ9MLJ6XI3NZT2FHSJYBCGXM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-91Z2U50YQ9DUO5YI1T6XL5QLM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Network-3EQWF3D2LQQA3CHUNALR2OEV3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/FileProvider-CTM92XO97O83GMGPZ80IAZ2MH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-BJV1JRVLK0A4KO4XJY098MPDJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-2Y2KJ3BWNZVNX5SGRT9OZY58X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-9FDDTQ4F448NASNBJ73LL08CW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-4FSJLRO1OMLINRFU9E5FDJ6LG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-F2IYO4PZDTT6W3BB17OMMFU8H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-ETZE23103L23AFRV5RIY98B8R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-9Z1GGK9D5GWZAPSJ6EB6CF1LC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-2IH8BX8EAI7QJWH8Q91L467O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-8DXCI8OECK24P5C5R5YJCPY6S.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-CA8WF2CE1MBR989EWQ1QHKSM7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-BAZNP8JOBB5DGLB3JJRQE38CC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-BD444BXGOOIA7L0V53QX85MNI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-6R0N0LGQ7JHCUNYMW2UQWI7N8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-2DZ2IJBFDYZ2K88YOFG23YY5D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVRouting-7DYLKQYFELND3QUHUFAXVEHL7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AudioToolbox-9TNWLCUL701Z59L15MQN2P5HX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-E9UFJY6R1E7D280SQ6U747G2Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-9UJJUBLTF80Q66OBIQIGNMH63.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-21I9NDJ5BALJVG03DUUN2CO83.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-F1OP8LOTHMIPKHX92XFOG88LS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-4IHGQVC232A50LDRYLP2TOVKU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-4RQ9X0AQHR9QCPZW2HYVJZKLF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/VideoToolbox-5ZB5VMUME2GSAJLXARS4UPJ8G.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-6FLU0V1VD06L498EGP5G72M36.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MediaToolbox-97JNZXVPIBQYKJXRI0DG9SLB8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-VI413NSJWB5Y7QFX1PY597WP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFoundation-BAX01WL6PB4QGPQMCMJSQ4G8G.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ScreenCaptureKit-74EOXGQKU8HA2963TLRHR58SB.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 iOS 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 iOS 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:575:101: error: 'SCStreamConfiguration' is only available in iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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/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 iOS
 21 | }
 22 |
 23 | extension SCDisplay {
    |           `- error: 'SCDisplay' is unavailable in iOS
 24 | 	var nsScreen: NSScreen? {
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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-ios15.0 -disable-cross-import-overlay-search -swift-module-cross-import ScreenCaptureKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.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-iphoneos/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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-ios27.0 -target-sdk-version 27.0 -target-sdk-name iphoneos27.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-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/Aperture-t.build/Objects-normal/arm64/Aperture.abi.json
SwiftCompile normal arm64 Compiling\ Aperture.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift (in target 'Aperture' from project 'Aperture')
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
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:253:23: error: 'SCStream' is only available in iOS 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 iOS 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:575:101: error: 'SCStreamConfiguration' is only available in iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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:320:23: error: 'SCStreamConfiguration' is only available in iOS 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 iOS 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 iOS
320 | 			let streamConfig = SCStreamConfiguration()
321 |
322 | 			streamConfig.queueDepth = 6
    |                 `- error: 'queueDepth' is unavailable in iOS
323 |
324 | 			switch options.videoCodec {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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 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 iOS
 21 | }
 22 |
 23 | extension SCDisplay {
    |           `- error: 'SCDisplay' is unavailable in iOS
 24 | 	var nsScreen: NSScreen? {
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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\ 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 |
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-21 09:05:50.204 xcodebuild[649:4196] [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:56.546 xcodebuild[740:4581] [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:57.741 xcodebuild[748:4652] [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=iOS
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=iOS
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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.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-iphoneos/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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -target arm64-apple-ios15.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-iphoneos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/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
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 iOS 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 iOS 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:575:101: error: 'SCStreamConfiguration' is only available in iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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/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 iOS
 21 | }
 22 |
 23 | extension SCDisplay {
    |           `- error: 'SCDisplay' is unavailable in iOS
 24 | 	var nsScreen: NSScreen? {
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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-ios15.0 -disable-cross-import-overlay-search -swift-module-cross-import ScreenCaptureKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.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-iphoneos/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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-iphoneos/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-iphoneos/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-ios27.0 -target-sdk-version 27.0 -target-sdk-name iphoneos27.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-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/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-iphoneos/Aperture-t.build/Objects-normal/arm64/Aperture.abi.json
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 iOS
 21 | }
 22 |
 23 | extension SCDisplay {
    |           `- error: 'SCDisplay' is unavailable in iOS
 24 | 	var nsScreen: NSScreen? {
 25 | 		NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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 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 iOS 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 iOS 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:575:101: error: 'SCStreamConfiguration' is only available in iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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 iOS 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:320:23: error: 'SCStreamConfiguration' is only available in iOS 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 iOS 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 iOS
320 | 			let streamConfig = SCStreamConfiguration()
321 |
322 | 			streamConfig.queueDepth = 6
    |                 `- error: 'queueDepth' is unavailable in iOS
323 |
324 | 			switch options.videoCodec {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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
SwiftCompile normal arm64 Compiling\ Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift (in target 'Aperture' from project 'Aperture')
/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 |
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
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-21 09:05:58.711 xcodebuild[749:4678] [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)
BUILD FAILURE 6.4 iOS