Build Information
Failed to build ScanKit, reference 1.0.2 (0dbca3), with Swift 6.4 for tvOS using Xcode 27.0 on 19 Sep 2026 05:06:03 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 ScanKit -destination generic/platform=tvOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/git-shawn/SwiftUI-ScanKit.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/git-shawn/SwiftUI-ScanKit
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 0dbca34 Fix Orientation & Animation
Cloned https://github.com/git-shawn/SwiftUI-ScanKit.git
Revision (git rev-parse @):
0dbca347a3e794b7a6c27b97af57a40b72385192
SUCCESS checkout https://github.com/git-shawn/SwiftUI-ScanKit.git at 1.0.2
========================================
Build
========================================
Selected platform: tvOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/git-shawn/SwiftUI-ScanKit.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:
ScanKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: ScanKit
2026-09-19 01:05:20.796 xcodebuild[529:3034] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "ScanKit",
"name" : "ScanKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "14.0"
}
],
"products" : [
{
"name" : "ScanKit",
"targets" : [
"ScanKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScanKitTests",
"module_type" : "SwiftTarget",
"name" : "ScanKitTests",
"path" : "Tests/ScanKitTests",
"sources" : [
"ScanKitTests.swift"
],
"target_dependencies" : [
"ScanKit"
],
"type" : "test"
},
{
"c99name" : "ScanKit",
"module_type" : "SwiftTarget",
"name" : "ScanKit",
"path" : "Sources/ScanKit",
"product_memberships" : [
"ScanKit"
],
"sources" : [
"NSScanKitPreview.swift",
"ScanKit.swift",
"ScanKitCamera.swift",
"UIScanKitPreview.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
{
"workspace" : {
"name" : "ScanKit",
"schemes" : [
"ScanKit"
]
}
}
2026-09-19 01:05:52.881 xcodebuild[626:3841] [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 ScanKit -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 ScanKit -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
ScanKit: /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 'ScanKit-product' in project 'ScanKit'
➜ Explicit dependency on target 'ScanKit' in project 'ScanKit'
Target 'ScanKit' in project 'ScanKit' (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: 62ff0695bdaa2fbeb276ef871a35b82e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/62ff0695bdaa2fbeb276ef871a35b82e.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/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/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/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/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/ScanKit.build/Debug-appletvos/ScanKit-t.build/ScanKit.DependencyStaticMetadataFileList (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/ScanKit.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/ScanKit.modulemap (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/ScanKit.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/ScanKit.DependencyMetadataFileList (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/ScanKit.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit_const_extract_protocols.json (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.LinkFileList (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.SwiftConstValuesFileList (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-OutputFileMap.json (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.SwiftFileList (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.SwiftFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/ScanKit.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/ScanKit.modulemap (in target 'ScanKit' from project 'ScanKit')
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/ScanKit.build/Debug-appletvos/ScanKit-t.build/ScanKit.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos
SwiftDriver ScanKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScanKit' from project 'ScanKit')
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 ScanKit -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.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 -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit_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/ScanKit.build/Debug-appletvos/ScanKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-AHRDH5EKLY6D04C5E42F3VCQI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-B1X8RI63V48AJRTH2RK6JAARV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-BO2OCAUYVAXDRVQWQ8ISKGNUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-8X2KEPL7CTRPS40TUB9APHPK6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-8N4EXJ4RUJTR8K9OO3CMOH1EP.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_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/ptrcheck-2AZ6B5IBYD3RRRTFWN2ONASY3.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/_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/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_stdint-6NFTB6IBKS143IVPGT1EKB7HO.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/Compression-CK8LRVLPQRNV8BOHP9VO03DTO.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/XPC-6O2DJFT3QUJ7QKTD3SNUB6PCR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-7TPJ7ENDC4L1A1ESHYI9TXS0D.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/CoreGraphics-CWSP3J98S2658BYCVL6RP99T3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-2CUR2VK9S3S3WPFXPNXNUWYGN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-E7EH96HAL3G83QSWLT7VWYIP4.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/ImageIO-88D4CLEBD4CLWQKT78PZ6H1O8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-59NY7PABM0I4V978161FOC04A.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-DYMPHH3PH8AX9I1FHA4VFJ675.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/OSLog-7OT6HHTMY0ZFEQJ095LJZ6NLC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-95CC8U42ZA9STP5K6GP9ZVJS5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-E9ZW5TH066WIJWH9080RC5NG4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-B5AU9VM9Y7NU79RLMH13Z4IFM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-23HL6T8YUJM8DF3NKDJAU0CM7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-6ZFJ1AK4H8IBGEBMYQBWGBYLK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVRouting-53KTSRU06N7KHZMUFWVUAHAVC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-37JIYZ2GWDA1L166PP1D9JKAF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-ETSJ65FELPWR8WH8G49R1DF2E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-2KYBS7IML1SD788M91YV7Q0CC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-4NY99CNDU9WUNUYEIXSS1QFGE.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/QuartzCore-DJSYAWKXFGVSAK5CQMOB3JSR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreML-75C4WKKUFEDFO82HFICNMOQN0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accelerate-1T5BZVGJ83Q7L5MFSULVR87AS.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/SwiftUICore-543QU5V2NHKUFCYFJDKUJ7NYG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-1TKWN7VC2X6N3ITMRVA2G0EB2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Vision-63AEDUANSPHJBI3O24COCQAX2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/VideoToolbox-9D68N9ZVOUSE0ZFYNU39RYT33.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/SwiftUI-7BV1YDT6IZWW6B8OC6ENV0Y0F.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScanKit (in target 'ScanKit' from project 'ScanKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:35:34: error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:37:35: error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
| `- error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
38 | weak private var videoOutput: AVCaptureVideoDataOutput?
39 | private var sessionQueue: DispatchQueue = DispatchQueue(label: "ScanKitCameraQueue")
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:38:35: error: 'AVCaptureVideoDataOutput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
38 | weak private var videoOutput: AVCaptureVideoDataOutput?
| `- error: 'AVCaptureVideoDataOutput' is only available in tvOS 17.0 or newer
39 | private var sessionQueue: DispatchQueue = DispatchQueue(label: "ScanKitCameraQueue")
40 |
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:44:37: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
42 |
43 | /// Results of a comprehensive capture device discovery session.
44 | private var allCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
45 | #if os(iOS)
46 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInTrueDepthCamera, .builtInDualCamera, .builtInDualWideCamera, .builtInWideAngleCamera, .builtInDualWideCamera], mediaType: .video, position: .unspecified).devices
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:53:39: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
51 |
52 | /// The results of `allCaptureDevices` reduced to only those positioned at `.front`.
53 | private var frontCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
54 | allCaptureDevices
55 | .filter { $0.position == .front }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:59:38: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
57 |
58 | /// The results of `allCaptureDevices` reduced to only those positioned at `.back`.
59 | private var backCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
60 | allCaptureDevices
61 | .filter { $0.position == .back }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:64:34: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
62 | }
63 |
64 | private var captureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
65 | var devices = [AVCaptureDevice]()
66 | #if os(macOS) || (os(iOS) && targetEnvironment(macCatalyst))
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:80:43: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
78 |
79 | /// All capture devices, reduced from `captureDevices`, that are both available and not suspended.
80 | private var availableCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
81 | captureDevices
82 | .filter( { $0.isConnected } )
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:87:32: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
85 |
86 | /// The capture device in use.
87 | private var captureDevice: AVCaptureDevice? {
| `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
88 | didSet {
89 | guard let captureDevice = captureDevice else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:203:65: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
201 | }
202 |
203 | private func updateSessionForCaptureDevice(_ captureDevice: AVCaptureDevice) {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
204 | guard isCaptureSessionConfigured else { return }
205 |
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:270:41: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
268 | /// - Parameter device: A capture device to get the input of.
269 | /// - Returns: An associated `AVCaptureDeviceInput` if any, else `nil`.
270 | private func deviceInputFor(device: AVCaptureDevice?) -> AVCaptureDeviceInput? {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
271 | guard let validDevice = device else { return nil }
272 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:270:62: error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
268 | /// - Parameter device: A capture device to get the input of.
269 | /// - Returns: An associated `AVCaptureDeviceInput` if any, else `nil`.
270 | private func deviceInputFor(device: AVCaptureDevice?) -> AVCaptureDeviceInput? {
| | `- error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
271 | guard let validDevice = device else { return nil }
272 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:350:28: error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
348 |
349 | /// The preview layer with a graviety of `resizeAspectFill`.
350 | lazy var previewLayer: AVCaptureVideoPreviewLayer = {
| `- error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
351 | let preview = AVCaptureVideoPreviewLayer(session: self.captureSession)
352 | preview.videoGravity = .resizeAspectFill
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:351:23: error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
349 | /// The preview layer with a graviety of `resizeAspectFill`.
350 | lazy var previewLayer: AVCaptureVideoPreviewLayer = {
351 | let preview = AVCaptureVideoPreviewLayer(session: self.captureSession)
| |- error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
| `- note: add 'if #available' version check
352 | preview.videoGravity = .resizeAspectFill
353 | return preview
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:376:41: error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
374 |
375 | /// A method of `AVCaptureVideoDataOutputSampleBufferDelegate` that, for the purposes of this class, processes `Vision` requests.
376 | 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
377 | // Only process every tenth frame when scanning is true
378 | visionIterator += 1
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:376:115: error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
374 |
375 | /// A method of `AVCaptureVideoDataOutputSampleBufferDelegate` that, for the purposes of this class, processes `Vision` requests.
376 | 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
377 | // Only process every tenth frame when scanning is true
378 | visionIterator += 1
Failed frontend command:
SwiftCompile normal arm64 (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/NSScanKitPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/UIScanKitPreview.swift -target arm64-apple-tvos15.0 -disable-cross-import-overlay-search -swift-module-cross-import Vision /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Vision.framework/Modules/Vision.swiftcrossimport/FoundationModels.swiftoverlay -swift-module-cross-import Vision /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/Vision.framework/Modules/Vision.swiftcrossimport/FoundationModels.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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-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 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/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/ScanKit.build/Debug-appletvos/ScanKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScanKit -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit_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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.abi.json
SwiftCompile normal arm64 Compiling\ ScanKitCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift (in target 'ScanKit' from project 'ScanKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:35:34: error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:37:35: error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
| `- error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
38 | weak private var videoOutput: AVCaptureVideoDataOutput?
39 | private var sessionQueue: DispatchQueue = DispatchQueue(label: "ScanKitCameraQueue")
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:38:35: error: 'AVCaptureVideoDataOutput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
38 | weak private var videoOutput: AVCaptureVideoDataOutput?
| `- error: 'AVCaptureVideoDataOutput' is only available in tvOS 17.0 or newer
39 | private var sessionQueue: DispatchQueue = DispatchQueue(label: "ScanKitCameraQueue")
40 |
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:44:37: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
42 |
43 | /// Results of a comprehensive capture device discovery session.
44 | private var allCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
45 | #if os(iOS)
46 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInTrueDepthCamera, .builtInDualCamera, .builtInDualWideCamera, .builtInWideAngleCamera, .builtInDualWideCamera], mediaType: .video, position: .unspecified).devices
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:53:39: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
51 |
52 | /// The results of `allCaptureDevices` reduced to only those positioned at `.front`.
53 | private var frontCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
54 | allCaptureDevices
55 | .filter { $0.position == .front }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:59:38: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
57 |
58 | /// The results of `allCaptureDevices` reduced to only those positioned at `.back`.
59 | private var backCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
60 | allCaptureDevices
61 | .filter { $0.position == .back }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:64:34: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
62 | }
63 |
64 | private var captureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
65 | var devices = [AVCaptureDevice]()
66 | #if os(macOS) || (os(iOS) && targetEnvironment(macCatalyst))
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:80:43: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
78 |
79 | /// All capture devices, reduced from `captureDevices`, that are both available and not suspended.
80 | private var availableCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
81 | captureDevices
82 | .filter( { $0.isConnected } )
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:87:32: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
85 |
86 | /// The capture device in use.
87 | private var captureDevice: AVCaptureDevice? {
| `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
88 | didSet {
89 | guard let captureDevice = captureDevice else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:203:65: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
201 | }
202 |
203 | private func updateSessionForCaptureDevice(_ captureDevice: AVCaptureDevice) {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
204 | guard isCaptureSessionConfigured else { return }
205 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScanKitCamera.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:270:41: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
268 | /// - Parameter device: A capture device to get the input of.
269 | /// - Returns: An associated `AVCaptureDeviceInput` if any, else `nil`.
270 | private func deviceInputFor(device: AVCaptureDevice?) -> AVCaptureDeviceInput? {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
271 | guard let validDevice = device else { return nil }
272 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:270:62: error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
268 | /// - Parameter device: A capture device to get the input of.
269 | /// - Returns: An associated `AVCaptureDeviceInput` if any, else `nil`.
270 | private func deviceInputFor(device: AVCaptureDevice?) -> AVCaptureDeviceInput? {
| | `- error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
271 | guard let validDevice = device else { return nil }
272 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:350:28: error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
348 |
349 | /// The preview layer with a graviety of `resizeAspectFill`.
350 | lazy var previewLayer: AVCaptureVideoPreviewLayer = {
| `- error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
351 | let preview = AVCaptureVideoPreviewLayer(session: self.captureSession)
352 | preview.videoGravity = .resizeAspectFill
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:351:23: error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
349 | /// The preview layer with a graviety of `resizeAspectFill`.
350 | lazy var previewLayer: AVCaptureVideoPreviewLayer = {
351 | let preview = AVCaptureVideoPreviewLayer(session: self.captureSession)
| |- error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
| `- note: add 'if #available' version check
352 | preview.videoGravity = .resizeAspectFill
353 | return preview
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:376:41: error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
374 |
375 | /// A method of `AVCaptureVideoDataOutputSampleBufferDelegate` that, for the purposes of this class, processes `Vision` requests.
376 | 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
377 | // Only process every tenth frame when scanning is true
378 | visionIterator += 1
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:376:115: error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
374 |
375 | /// A method of `AVCaptureVideoDataOutputSampleBufferDelegate` that, for the purposes of this class, processes `Vision` requests.
376 | 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
377 | // Only process every tenth frame when scanning is true
378 | visionIterator += 1
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:48:9: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
42 |
43 | /// Results of a comprehensive capture device discovery session.
44 | private var allCaptureDevices: [AVCaptureDevice] {
| `- note: add '@available' attribute to enclosing property
45 | #if os(iOS)
46 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInTrueDepthCamera, .builtInDualCamera, .builtInDualWideCamera, .builtInWideAngleCamera, .builtInDualWideCamera], mediaType: .video, position: .unspecified).devices
47 | #else
48 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .externalUnknown], mediaType: .video, position: .unspecified).devices
| |- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add 'if #available' version check
49 | #endif
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:48:57: error: 'builtInWideAngleCamera' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
42 |
43 | /// Results of a comprehensive capture device discovery session.
44 | private var allCaptureDevices: [AVCaptureDevice] {
| `- note: add '@available' attribute to enclosing property
45 | #if os(iOS)
46 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInTrueDepthCamera, .builtInDualCamera, .builtInDualWideCamera, .builtInWideAngleCamera, .builtInDualWideCamera], mediaType: .video, position: .unspecified).devices
47 | #else
48 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .externalUnknown], mediaType: .video, position: .unspecified).devices
| |- error: 'builtInWideAngleCamera' is only available in tvOS 17.0 or newer
| `- note: add 'if #available' version check
49 | #endif
50 | }
SwiftCompile normal arm64 Compiling\ NSScanKitPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/NSScanKitPreview.swift (in target 'ScanKit' from project 'ScanKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/NSScanKitPreview.swift (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSScanKitPreview.swift
SwiftCompile normal arm64 Compiling\ UIScanKitPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/UIScanKitPreview.swift (in target 'ScanKit' from project 'ScanKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/UIScanKitPreview.swift (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIScanKitPreview.swift
SwiftCompile normal arm64 Compiling\ ScanKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKit.swift (in target 'ScanKit' from project 'ScanKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKit.swift (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScanKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKit.swift:79:21: error: cannot find 'ScanKitPreview' in scope
77 | // If iOS15+ we'll watch for changes in scanning with a Task.
78 | if #available(iOS 15.0, macOS 12.0, *) {
79 | ScanKitPreview(camera: camera)
| `- error: cannot find 'ScanKitPreview' in scope
80 | .task(id: scanning) {
81 | camera.isScanning = scanning
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKit.swift:94:21: error: cannot find 'ScanKitPreview' in scope
92 | // Otherwise, we have to initiate the result stream onAppear and re-evaluate it during changes to scanning.
93 | } else {
94 | ScanKitPreview(camera: camera)
| `- error: cannot find 'ScanKitPreview' in scope
95 | .onAppear {
96 | if scanning {
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-19 01:05:54.438 xcodebuild[627:3890] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'ScanKit' from project 'ScanKit')
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScanKit (in target 'ScanKit' from project 'ScanKit')
Building workspace ScanKit with scheme ScanKit
(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:
ScanKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: ScanKit
2026-09-19 01:06:00.520 xcodebuild[741:4429] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "ScanKit",
"name" : "ScanKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "14.0"
}
],
"products" : [
{
"name" : "ScanKit",
"targets" : [
"ScanKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScanKitTests",
"module_type" : "SwiftTarget",
"name" : "ScanKitTests",
"path" : "Tests/ScanKitTests",
"sources" : [
"ScanKitTests.swift"
],
"target_dependencies" : [
"ScanKit"
],
"type" : "test"
},
{
"c99name" : "ScanKit",
"module_type" : "SwiftTarget",
"name" : "ScanKit",
"path" : "Sources/ScanKit",
"product_memberships" : [
"ScanKit"
],
"sources" : [
"NSScanKitPreview.swift",
"ScanKit.swift",
"ScanKitCamera.swift",
"UIScanKitPreview.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
{
"workspace" : {
"name" : "ScanKit",
"schemes" : [
"ScanKit"
]
}
}
2026-09-19 01:06:01.805 xcodebuild[749:4502] [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 ScanKit -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 ScanKit -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
ScanKit: /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 'ScanKit-product' in project 'ScanKit'
➜ Explicit dependency on target 'ScanKit' in project 'ScanKit'
Target 'ScanKit' in project 'ScanKit' (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 ScanKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScanKit' from project 'ScanKit')
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 ScanKit -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.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 -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit_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/ScanKit.build/Debug-appletvos/ScanKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScanKit (in target 'ScanKit' from project 'ScanKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:35:34: error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:37:35: error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
| `- error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
38 | weak private var videoOutput: AVCaptureVideoDataOutput?
39 | private var sessionQueue: DispatchQueue = DispatchQueue(label: "ScanKitCameraQueue")
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:38:35: error: 'AVCaptureVideoDataOutput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
38 | weak private var videoOutput: AVCaptureVideoDataOutput?
| `- error: 'AVCaptureVideoDataOutput' is only available in tvOS 17.0 or newer
39 | private var sessionQueue: DispatchQueue = DispatchQueue(label: "ScanKitCameraQueue")
40 |
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:44:37: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
42 |
43 | /// Results of a comprehensive capture device discovery session.
44 | private var allCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
45 | #if os(iOS)
46 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInTrueDepthCamera, .builtInDualCamera, .builtInDualWideCamera, .builtInWideAngleCamera, .builtInDualWideCamera], mediaType: .video, position: .unspecified).devices
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:53:39: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
51 |
52 | /// The results of `allCaptureDevices` reduced to only those positioned at `.front`.
53 | private var frontCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
54 | allCaptureDevices
55 | .filter { $0.position == .front }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:59:38: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
57 |
58 | /// The results of `allCaptureDevices` reduced to only those positioned at `.back`.
59 | private var backCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
60 | allCaptureDevices
61 | .filter { $0.position == .back }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:64:34: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
62 | }
63 |
64 | private var captureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
65 | var devices = [AVCaptureDevice]()
66 | #if os(macOS) || (os(iOS) && targetEnvironment(macCatalyst))
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:80:43: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
78 |
79 | /// All capture devices, reduced from `captureDevices`, that are both available and not suspended.
80 | private var availableCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
81 | captureDevices
82 | .filter( { $0.isConnected } )
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:87:32: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
85 |
86 | /// The capture device in use.
87 | private var captureDevice: AVCaptureDevice? {
| `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
88 | didSet {
89 | guard let captureDevice = captureDevice else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:203:65: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
201 | }
202 |
203 | private func updateSessionForCaptureDevice(_ captureDevice: AVCaptureDevice) {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
204 | guard isCaptureSessionConfigured else { return }
205 |
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:270:41: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
268 | /// - Parameter device: A capture device to get the input of.
269 | /// - Returns: An associated `AVCaptureDeviceInput` if any, else `nil`.
270 | private func deviceInputFor(device: AVCaptureDevice?) -> AVCaptureDeviceInput? {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
271 | guard let validDevice = device else { return nil }
272 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:270:62: error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
268 | /// - Parameter device: A capture device to get the input of.
269 | /// - Returns: An associated `AVCaptureDeviceInput` if any, else `nil`.
270 | private func deviceInputFor(device: AVCaptureDevice?) -> AVCaptureDeviceInput? {
| | `- error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
271 | guard let validDevice = device else { return nil }
272 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:350:28: error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
348 |
349 | /// The preview layer with a graviety of `resizeAspectFill`.
350 | lazy var previewLayer: AVCaptureVideoPreviewLayer = {
| `- error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
351 | let preview = AVCaptureVideoPreviewLayer(session: self.captureSession)
352 | preview.videoGravity = .resizeAspectFill
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:351:23: error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
349 | /// The preview layer with a graviety of `resizeAspectFill`.
350 | lazy var previewLayer: AVCaptureVideoPreviewLayer = {
351 | let preview = AVCaptureVideoPreviewLayer(session: self.captureSession)
| |- error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
| `- note: add 'if #available' version check
352 | preview.videoGravity = .resizeAspectFill
353 | return preview
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:376:41: error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
374 |
375 | /// A method of `AVCaptureVideoDataOutputSampleBufferDelegate` that, for the purposes of this class, processes `Vision` requests.
376 | 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
377 | // Only process every tenth frame when scanning is true
378 | visionIterator += 1
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:376:115: error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
374 |
375 | /// A method of `AVCaptureVideoDataOutputSampleBufferDelegate` that, for the purposes of this class, processes `Vision` requests.
376 | 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
377 | // Only process every tenth frame when scanning is true
378 | visionIterator += 1
Failed frontend command:
SwiftCompile normal arm64 (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/NSScanKitPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/UIScanKitPreview.swift -target arm64-apple-tvos15.0 -disable-cross-import-overlay-search -swift-module-cross-import Vision /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Vision.framework/Modules/Vision.swiftcrossimport/FoundationModels.swiftoverlay -swift-module-cross-import Vision /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/Vision.framework/Modules/Vision.swiftcrossimport/FoundationModels.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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-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 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/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/ScanKit.build/Debug-appletvos/ScanKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScanKit -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit_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/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScanKit.build/Debug-appletvos/ScanKit-t.build/Objects-normal/arm64/ScanKit.abi.json
SwiftCompile normal arm64 Compiling\ ScanKitCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift (in target 'ScanKit' from project 'ScanKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:35:34: error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
| `- error: 'AVCaptureSession' is only available in tvOS 17.0 or newer
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:37:35: error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
| `- error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
38 | weak private var videoOutput: AVCaptureVideoDataOutput?
39 | private var sessionQueue: DispatchQueue = DispatchQueue(label: "ScanKitCameraQueue")
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:38:35: error: 'AVCaptureVideoDataOutput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
37 | weak private var deviceInput: AVCaptureDeviceInput?
38 | weak private var videoOutput: AVCaptureVideoDataOutput?
| `- error: 'AVCaptureVideoDataOutput' is only available in tvOS 17.0 or newer
39 | private var sessionQueue: DispatchQueue = DispatchQueue(label: "ScanKitCameraQueue")
40 |
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:44:37: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
42 |
43 | /// Results of a comprehensive capture device discovery session.
44 | private var allCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
45 | #if os(iOS)
46 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInTrueDepthCamera, .builtInDualCamera, .builtInDualWideCamera, .builtInWideAngleCamera, .builtInDualWideCamera], mediaType: .video, position: .unspecified).devices
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:53:39: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
51 |
52 | /// The results of `allCaptureDevices` reduced to only those positioned at `.front`.
53 | private var frontCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
54 | allCaptureDevices
55 | .filter { $0.position == .front }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:59:38: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
57 |
58 | /// The results of `allCaptureDevices` reduced to only those positioned at `.back`.
59 | private var backCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
60 | allCaptureDevices
61 | .filter { $0.position == .back }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:64:34: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
62 | }
63 |
64 | private var captureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
65 | var devices = [AVCaptureDevice]()
66 | #if os(macOS) || (os(iOS) && targetEnvironment(macCatalyst))
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:80:43: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
78 |
79 | /// All capture devices, reduced from `captureDevices`, that are both available and not suspended.
80 | private var availableCaptureDevices: [AVCaptureDevice] {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing property
81 | captureDevices
82 | .filter( { $0.isConnected } )
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:87:32: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
85 |
86 | /// The capture device in use.
87 | private var captureDevice: AVCaptureDevice? {
| `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
88 | didSet {
89 | guard let captureDevice = captureDevice else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:203:65: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
201 | }
202 |
203 | private func updateSessionForCaptureDevice(_ captureDevice: AVCaptureDevice) {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
204 | guard isCaptureSessionConfigured else { return }
205 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScanKitCamera.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:270:41: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
268 | /// - Parameter device: A capture device to get the input of.
269 | /// - Returns: An associated `AVCaptureDeviceInput` if any, else `nil`.
270 | private func deviceInputFor(device: AVCaptureDevice?) -> AVCaptureDeviceInput? {
| | `- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
271 | guard let validDevice = device else { return nil }
272 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:270:62: error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
268 | /// - Parameter device: A capture device to get the input of.
269 | /// - Returns: An associated `AVCaptureDeviceInput` if any, else `nil`.
270 | private func deviceInputFor(device: AVCaptureDevice?) -> AVCaptureDeviceInput? {
| | `- error: 'AVCaptureDeviceInput' is only available in tvOS 17.0 or newer
| `- note: add '@available' attribute to enclosing instance method
271 | guard let validDevice = device else { return nil }
272 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:350:28: error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
348 |
349 | /// The preview layer with a graviety of `resizeAspectFill`.
350 | lazy var previewLayer: AVCaptureVideoPreviewLayer = {
| `- error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
351 | let preview = AVCaptureVideoPreviewLayer(session: self.captureSession)
352 | preview.videoGravity = .resizeAspectFill
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:351:23: error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
349 | /// The preview layer with a graviety of `resizeAspectFill`.
350 | lazy var previewLayer: AVCaptureVideoPreviewLayer = {
351 | let preview = AVCaptureVideoPreviewLayer(session: self.captureSession)
| |- error: 'AVCaptureVideoPreviewLayer' is only available in tvOS 17.0 or newer
| `- note: add 'if #available' version check
352 | preview.videoGravity = .resizeAspectFill
353 | return preview
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:376:41: error: 'AVCaptureOutput' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
374 |
375 | /// A method of `AVCaptureVideoDataOutputSampleBufferDelegate` that, for the purposes of this class, processes `Vision` requests.
376 | 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
377 | // Only process every tenth frame when scanning is true
378 | visionIterator += 1
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:376:115: error: 'AVCaptureConnection' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
374 |
375 | /// A method of `AVCaptureVideoDataOutputSampleBufferDelegate` that, for the purposes of this class, processes `Vision` requests.
376 | 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
377 | // Only process every tenth frame when scanning is true
378 | visionIterator += 1
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:48:9: error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
42 |
43 | /// Results of a comprehensive capture device discovery session.
44 | private var allCaptureDevices: [AVCaptureDevice] {
| `- note: add '@available' attribute to enclosing property
45 | #if os(iOS)
46 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInTrueDepthCamera, .builtInDualCamera, .builtInDualWideCamera, .builtInWideAngleCamera, .builtInDualWideCamera], mediaType: .video, position: .unspecified).devices
47 | #else
48 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .externalUnknown], mediaType: .video, position: .unspecified).devices
| |- error: 'AVCaptureDevice' is only available in tvOS 17.0 or newer
| `- note: add 'if #available' version check
49 | #endif
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:48:57: error: 'builtInWideAngleCamera' is only available in tvOS 17.0 or newer
32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
33 |
34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
| `- note: add '@available' attribute to enclosing class
35 | private let captureSession = AVCaptureSession()
36 | private var isCaptureSessionConfigured: Bool = false
:
42 |
43 | /// Results of a comprehensive capture device discovery session.
44 | private var allCaptureDevices: [AVCaptureDevice] {
| `- note: add '@available' attribute to enclosing property
45 | #if os(iOS)
46 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInTrueDepthCamera, .builtInDualCamera, .builtInDualWideCamera, .builtInWideAngleCamera, .builtInDualWideCamera], mediaType: .video, position: .unspecified).devices
47 | #else
48 | AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .externalUnknown], mediaType: .video, position: .unspecified).devices
| |- error: 'builtInWideAngleCamera' is only available in tvOS 17.0 or newer
| `- note: add 'if #available' version check
49 | #endif
50 | }
SwiftCompile normal arm64 Compiling\ NSScanKitPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/NSScanKitPreview.swift (in target 'ScanKit' from project 'ScanKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/NSScanKitPreview.swift (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSScanKitPreview.swift
SwiftCompile normal arm64 Compiling\ ScanKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKit.swift (in target 'ScanKit' from project 'ScanKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKit.swift:79:21: error: cannot find 'ScanKitPreview' in scope
77 | // If iOS15+ we'll watch for changes in scanning with a Task.
78 | if #available(iOS 15.0, macOS 12.0, *) {
79 | ScanKitPreview(camera: camera)
| `- error: cannot find 'ScanKitPreview' in scope
80 | .task(id: scanning) {
81 | camera.isScanning = scanning
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKit.swift:94:21: error: cannot find 'ScanKitPreview' in scope
92 | // Otherwise, we have to initiate the result stream onAppear and re-evaluate it during changes to scanning.
93 | } else {
94 | ScanKitPreview(camera: camera)
| `- error: cannot find 'ScanKitPreview' in scope
95 | .onAppear {
96 | if scanning {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKit.swift (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScanKit.swift
SwiftCompile normal arm64 Compiling\ UIScanKitPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/UIScanKitPreview.swift (in target 'ScanKit' from project 'ScanKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScanKit/UIScanKitPreview.swift (in target 'ScanKit' from project 'ScanKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIScanKitPreview.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-19 01:06:02.819 xcodebuild[750:4530] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'ScanKit' from project 'ScanKit')
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScanKit (in target 'ScanKit' from project 'ScanKit')
Building workspace ScanKit with scheme ScanKit
(3 failures)
BUILD FAILURE 6.4 tvOS