Build Information
Failed to build Aperture, reference main (7591bb), with Swift 6.4 for tvOS using Xcode 27.0 on 21 Sep 2026 13:05:14 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=tvOSBuild 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: tvOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/wulkano/Aperture.git
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
Aperture: /Users/admin/builder/spi-builder-workspace
resolved source packages: Aperture
2026-09-21 09:04:22.650 xcodebuild[529:3031] [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:03.833 xcodebuild[648:4136] [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=tvOS
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=tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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: b0a462b52a001f58c76b799adfcc5903
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/b0a462b52a001f58c76b799adfcc5903.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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/ExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
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-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/Aperture-t.build/Aperture.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/Aperture-t.build/Aperture.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/Aperture-t.build/Aperture.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/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-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture.SwiftConstValuesFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/Aperture.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/Aperture-t.build/Aperture.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos
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-appletvos/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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.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-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/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-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-BO2OCAUYVAXDRVQWQ8ISKGNUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-BY5PD8KF1L5KF6F4Q69HE3TJ4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-8ZJAYZ85YBOAOP52Y9H6IUNP3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-8X2KEPL7CTRPS40TUB9APHPK6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMediaIO-A9G1HKMIJNTPU6HV68KCYV30D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-AHRDH5EKLY6D04C5E42F3VCQI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-2AZ6B5IBYD3RRRTFWN2ONASY3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-8N4EXJ4RUJTR8K9OO3CMOH1EP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-9ZJZ6FDEZNKTZU8YLPMFT9RAQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-BV2EDDP0MI5QJDDPEEV4D9D3V.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-B1X8RI63V48AJRTH2RK6JAARV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-JOTYMOA1YZCIJ2NON6FQ848O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-7JU2HP127LIT1X9E2V3D8WZ1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-AOGAN1O02NKXRJN5V73AV3V3M.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-7ULT1EUHDHW4OZPSTT33H6QGE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-6NFTB6IBKS143IVPGT1EKB7HO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-8GCAV1YMG5UUGHUID3CA20TCH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-6EVHP7A717OUS5DMC78F79HWO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-3YXHN678NGYM3NL9POJ2HVEIF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-8SR3855WDFHQPR6G9GHOI2C07.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-437O2R2NID4WAQVENR63GR82C.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-6X1IQ3QK9KEVKXOK9Y79EW7J3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-DBSQAVBBPC3D2OMU5ZI2RXMST.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-117QUXEUT3Z7UQCUYWV2UA228.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-EH3F5PJCIZG05NO51CEFSZYPW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-5250FDCE56N8508OR6XUYDKZM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-E2DGZ0SX0TULQHULZRPO6OKNW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-DBUFF7811DKMX7VPBOJPGGF1U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-1QL58A0V50C39KVAIC6C38SHL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-7U8NLEFXSB8BR7PJQGVMF5A4Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-7TPJ7ENDC4L1A1ESHYI9TXS0D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-6O2DJFT3QUJ7QKTD3SNUB6PCR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-3GJI8H0BNAEZPQPQ1V0VVY3FY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-8VMXEKVDA3MHUH9AOTP905DID.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-E7EH96HAL3G83QSWLT7VWYIP4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-2CUR2VK9S3S3WPFXPNXNUWYGN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-CWSP3J98S2658BYCVL6RP99T3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-6IR1XRM0Q9YQZMFW89F3H4V3X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-BSSIP64DIGUKMAYJOG1WPQ78X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-59NY7PABM0I4V978161FOC04A.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-88D4CLEBD4CLWQKT78PZ6H1O8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-37JIYZ2GWDA1L166PP1D9JKAF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-7V4O8DATEQ9F7SDNTCW8YWLG3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-38FJ1CKX9FV2RD97O64Z7QB17.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-B6BODGZ4MQQTY0PBC4SHRP009.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVRouting-53KTSRU06N7KHZMUFWVUAHAVC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-B5AU9VM9Y7NU79RLMH13Z4IFM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-95CC8U42ZA9STP5K6GP9ZVJS5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-6ZFJ1AK4H8IBGEBMYQBWGBYLK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-E9ZW5TH066WIJWH9080RC5NG4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-23HL6T8YUJM8DF3NKDJAU0CM7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-7OT6HHTMY0ZFEQJ095LJZ6NLC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-ETSJ65FELPWR8WH8G49R1DF2E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-4NY99CNDU9WUNUYEIXSS1QFGE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-2KYBS7IML1SD788M91YV7Q0CC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AudioToolbox-BFZSY3NS10U8E5FG2JHTQ7SO8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-YVXXAOMVX0JH2KO1XTTKTY51.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-DPU0PB5X0XLSVA2ETRGI6FJBM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-7S2AFJ8EIY3DUFYLEAX1JR1QV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-4OUKVT03LV547KZJDPPJRJ4F8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-DJSYAWKXFGVSAK5CQMOB3JSR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-543QU5V2NHKUFCYFJDKUJ7NYG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/VideoToolbox-9D68N9ZVOUSE0ZFYNU39RYT33.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-1TKWN7VC2X6N3ITMRVA2G0EB2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-I2OUXVW3JAJP9H9YYQSK67OC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MediaToolbox-4OQJAKJ1UOGLVUHH8TJFAFUX8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFoundation-4DKPNMYIKC5WBJ7VZILY1MMIU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ScreenCaptureKit-5G8RX88QZ41DE7IEY3H1XO6V5.pcm
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 tvOS
21 | }
22 |
23 | extension SCDisplay {
| `- error: 'SCDisplay' is unavailable in tvOS
24 | var nsScreen: NSScreen? {
25 | NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:25:44: error: cannot find 'displayID' in scope
23 | extension SCDisplay {
24 | var nsScreen: NSScreen? {
25 | NSScreen.screens.first { $0.displayID == displayID }
| `- error: cannot find 'displayID' in scope
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:29:17: error: cannot find 'CGDisplayCopyDisplayMode' in scope
27 |
28 | var scaleFactor: Int {
29 | if let mode = CGDisplayCopyDisplayMode(displayID) {
| `- error: cannot find 'CGDisplayCopyDisplayMode' in scope
30 | return mode.pixelWidth / mode.width
31 | }
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 tvOS 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 tvOS 27.0 or newer
254 | private var isStreamRecording = false
255 | /// The writer that will combine all the video/audio inputs into the destination file
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:266:37: error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.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?
:
264 |
265 | /// The data output stream for the microphone session
266 | private var microphoneDataOutput: AVCaptureAudioDataOutput?
| `- error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.0 or newer
267 | /// The data output stream for the external device session
268 | private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:268:41: error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.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?
:
266 | private var microphoneDataOutput: AVCaptureAudioDataOutput?
267 | /// The data output stream for the external device session
268 | private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
| `- error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.0 or newer
269 |
270 | /// The microphone capturing session for versions before macOS 15
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:271:41: error: 'AVCaptureSession' is only available in tvOS 17.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?
:
269 |
270 | /// The microphone capturing session for versions before macOS 15
271 | private var microphoneCaptureSession: AVCaptureSession?
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
272 | /// The external device capturing session
273 | private var externalDeviceCaptureSession: AVCaptureSession?
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:273:45: error: 'AVCaptureSession' is only available in tvOS 17.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?
:
271 | private var microphoneCaptureSession: AVCaptureSession?
272 | /// The external device capturing session
273 | private var externalDeviceCaptureSession: AVCaptureSession?
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
274 |
275 | /// Activity to prevent going to sleep
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:575:101: error: 'SCStreamConfiguration' is only available in tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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:922:38: error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing extension
922 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| | `- error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
923 | guard !isPaused else {
924 | return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:922:112: error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing extension
922 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| | `- error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
923 | guard !isPaused else {
924 | 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 tvOS
21 | }
22 |
23 | extension SCDisplay {
| `- error: 'SCDisplay' is unavailable in tvOS
24 | var nsScreen: NSScreen? {
25 | NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h:96:12: note: 'SCDisplay' has been explicitly marked unavailable here
94 |
95 | API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos)
96 | @interface SCDisplay : NSObject
| `- note: 'SCDisplay' has been explicitly marked unavailable here
97 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
98 | /*!
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift -target arm64-apple-tvos15.0 -disable-cross-import-overlay-search -swift-module-cross-import ScreenCaptureKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.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-appletvos/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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.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-appletvos/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-appletvos/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-appletvos/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-appletvos/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-appletvos/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-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture.abi.json
SwiftCompile normal arm64 (in target 'Aperture' from project 'Aperture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift (in target 'Aperture' from project 'Aperture')
/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
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 tvOS 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 tvOS 27.0 or newer
254 | private var isStreamRecording = false
255 | /// The writer that will combine all the video/audio inputs into the destination file
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:266:37: error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.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?
:
264 |
265 | /// The data output stream for the microphone session
266 | private var microphoneDataOutput: AVCaptureAudioDataOutput?
| `- error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.0 or newer
267 | /// The data output stream for the external device session
268 | private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:268:41: error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.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?
:
266 | private var microphoneDataOutput: AVCaptureAudioDataOutput?
267 | /// The data output stream for the external device session
268 | private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
| `- error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.0 or newer
269 |
270 | /// The microphone capturing session for versions before macOS 15
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:271:41: error: 'AVCaptureSession' is only available in tvOS 17.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?
:
269 |
270 | /// The microphone capturing session for versions before macOS 15
271 | private var microphoneCaptureSession: AVCaptureSession?
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
272 | /// The external device capturing session
273 | private var externalDeviceCaptureSession: AVCaptureSession?
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:273:45: error: 'AVCaptureSession' is only available in tvOS 17.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?
:
271 | private var microphoneCaptureSession: AVCaptureSession?
272 | /// The external device capturing session
273 | private var externalDeviceCaptureSession: AVCaptureSession?
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
274 |
275 | /// Activity to prevent going to sleep
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:575:101: error: 'SCStreamConfiguration' is only available in tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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:922:38: error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing extension
922 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| | `- error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
923 | guard !isPaused else {
924 | return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:922:112: error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing extension
922 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| | `- error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
923 | guard !isPaused else {
924 | return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:320:23: error: 'SCStreamConfiguration' is only available in tvOS 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 tvOS 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 tvOS
320 | let streamConfig = SCStreamConfiguration()
321 |
322 | streamConfig.queueDepth = 6
| `- error: 'queueDepth' is unavailable in tvOS
323 |
324 | switch options.videoCodec {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:326:18: error: 'pixelFormat' is unavailable in tvOS
324 | switch options.videoCodec {
325 | case .h264:
326 | streamConfig.pixelFormat = kCVPixelFormatType_32BGRA
| `- error: 'pixelFormat' is unavailable in tvOS
327 | streamConfig.colorSpaceName = CGColorSpace.sRGB
328 | case .hevc:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCStream.h:254:37: note: 'pixelFormat' has been explicitly marked unavailable here
252 | See https://developer.apple.com/documentation/coregraphics/1455170-cgdisplaystreamcreate
253 | */
254 | @property(nonatomic, assign) OSType pixelFormat API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(visionos, ios, tvos);
| `- note: 'pixelFormat' has been explicitly marked unavailable here
255 |
256 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift (in target 'Aperture' from project 'Aperture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Aperture.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-21 09:05:05.369 xcodebuild[649:4190] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ Aperture (in target 'Aperture' from project 'Aperture')
SwiftCompile normal arm64 (in target 'Aperture' from project 'Aperture')
Building workspace Aperture with scheme Aperture
(3 failures)
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:11.565 xcodebuild[736:4564] [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:12.731 xcodebuild[744:4630] [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=tvOS
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=tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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-appletvos/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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.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-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/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-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Devices.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift (in target 'Aperture' from project 'Aperture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift (in target 'Aperture' from project 'Aperture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Devices.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:17:11: error: cannot find type 'NSScreen' in scope
15 | }
16 |
17 | extension NSScreen {
| `- error: cannot find type 'NSScreen' in scope
18 | var displayID: CGDirectDisplayID? {
19 | deviceDescription[NSDeviceDescriptionKey(rawValue: "NSScreenNumber")] as? CGDirectDisplayID
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:24:16: error: cannot find type 'NSScreen' in scope
22 |
23 | extension SCDisplay {
24 | var nsScreen: NSScreen? {
| `- error: cannot find type 'NSScreen' in scope
25 | NSScreen.screens.first { $0.displayID == displayID }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:23:11: error: 'SCDisplay' is unavailable in tvOS
21 | }
22 |
23 | extension SCDisplay {
| `- error: 'SCDisplay' is unavailable in tvOS
24 | var nsScreen: NSScreen? {
25 | NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS 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 tvOS 27.0 or newer
254 | private var isStreamRecording = false
255 | /// The writer that will combine all the video/audio inputs into the destination file
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:266:37: error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.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?
:
264 |
265 | /// The data output stream for the microphone session
266 | private var microphoneDataOutput: AVCaptureAudioDataOutput?
| `- error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.0 or newer
267 | /// The data output stream for the external device session
268 | private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:268:41: error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.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?
:
266 | private var microphoneDataOutput: AVCaptureAudioDataOutput?
267 | /// The data output stream for the external device session
268 | private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
| `- error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.0 or newer
269 |
270 | /// The microphone capturing session for versions before macOS 15
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:271:41: error: 'AVCaptureSession' is only available in tvOS 17.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?
:
269 |
270 | /// The microphone capturing session for versions before macOS 15
271 | private var microphoneCaptureSession: AVCaptureSession?
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
272 | /// The external device capturing session
273 | private var externalDeviceCaptureSession: AVCaptureSession?
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:273:45: error: 'AVCaptureSession' is only available in tvOS 17.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?
:
271 | private var microphoneCaptureSession: AVCaptureSession?
272 | /// The external device capturing session
273 | private var externalDeviceCaptureSession: AVCaptureSession?
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
274 |
275 | /// Activity to prevent going to sleep
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:575:101: error: 'SCStreamConfiguration' is only available in tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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:922:38: error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing extension
922 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| | `- error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
923 | guard !isPaused else {
924 | return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:922:112: error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing extension
922 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| | `- error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
923 | guard !isPaused else {
924 | return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:320:23: error: 'SCStreamConfiguration' is only available in tvOS 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 tvOS 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 tvOS
320 | let streamConfig = SCStreamConfiguration()
321 |
322 | streamConfig.queueDepth = 6
| `- error: 'queueDepth' is unavailable in tvOS
323 |
324 | switch options.videoCodec {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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
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 tvOS 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 tvOS 27.0 or newer
254 | private var isStreamRecording = false
255 | /// The writer that will combine all the video/audio inputs into the destination file
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:266:37: error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.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?
:
264 |
265 | /// The data output stream for the microphone session
266 | private var microphoneDataOutput: AVCaptureAudioDataOutput?
| `- error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.0 or newer
267 | /// The data output stream for the external device session
268 | private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:268:41: error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.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?
:
266 | private var microphoneDataOutput: AVCaptureAudioDataOutput?
267 | /// The data output stream for the external device session
268 | private var externalDeviceDataOutput: AVCaptureAudioDataOutput?
| `- error: 'AVCaptureAudioDataOutput' is only available in tvOS 17.0 or newer
269 |
270 | /// The microphone capturing session for versions before macOS 15
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:271:41: error: 'AVCaptureSession' is only available in tvOS 17.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?
:
269 |
270 | /// The microphone capturing session for versions before macOS 15
271 | private var microphoneCaptureSession: AVCaptureSession?
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
272 | /// The external device capturing session
273 | private var externalDeviceCaptureSession: AVCaptureSession?
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:273:45: error: 'AVCaptureSession' is only available in tvOS 17.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?
:
271 | private var microphoneCaptureSession: AVCaptureSession?
272 | /// The external device capturing session
273 | private var externalDeviceCaptureSession: AVCaptureSession?
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
274 |
275 | /// Activity to prevent going to sleep
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:575:101: error: 'SCStreamConfiguration' is only available in tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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 tvOS 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:922:38: error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing extension
922 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| | `- error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
923 | guard !isPaused else {
924 | return
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:922:112: error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
919 | }
920 |
921 | extension Aperture.RecordingSession: AVCaptureAudioDataOutputSampleBufferDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing extension
922 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| | `- error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
923 | guard !isPaused else {
924 | 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 tvOS
21 | }
22 |
23 | extension SCDisplay {
| `- error: 'SCDisplay' is unavailable in tvOS
24 | var nsScreen: NSScreen? {
25 | NSScreen.screens.first { $0.displayID == displayID }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h:96:12: note: 'SCDisplay' has been explicitly marked unavailable here
94 |
95 | API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos)
96 | @interface SCDisplay : NSObject
| `- note: 'SCDisplay' has been explicitly marked unavailable here
97 | #if TARGET_OS_OSX || TARGET_OS_MACCATALYST
98 | /*!
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift -target arm64-apple-tvos15.0 -disable-cross-import-overlay-search -swift-module-cross-import ScreenCaptureKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.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-appletvos/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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.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-appletvos/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-appletvos/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-appletvos/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-appletvos/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-appletvos/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-appletvos/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-appletvos/Aperture-t.build/Objects-normal/arm64/Aperture.abi.json
SwiftCompile normal arm64 (in target 'Aperture' from project 'Aperture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift (in target 'Aperture' from project 'Aperture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift (in target 'Aperture' from project 'Aperture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Utilities.swift:5:2: error: cannot find 'CGMainDisplayID' in scope
3 |
4 | internal func initializeCGS() {
5 | CGMainDisplayID()
| `- error: cannot find 'CGMainDisplayID' in scope
6 | }
7 |
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-21 09:05:13.632 xcodebuild[745:4655] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ Aperture (in target 'Aperture' from project 'Aperture')
SwiftCompile normal arm64 (in target 'Aperture' from project 'Aperture')
Building workspace Aperture with scheme Aperture
(3 failures)
BUILD FAILURE 6.4 tvOS