Build Information
Failed to build SwiftCameraKit, reference 1.0.0 (d2e33a), with Swift 6.4 for visionOS using Xcode 27.0 on 22 Sep 2026 07:35:47 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 SwiftCameraKit -destination generic/platform=xrOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicolaischneider/SwiftCameraKit.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nicolaischneider/SwiftCameraKit
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at d2e33ab fixed posdpec
Cloned https://github.com/nicolaischneider/SwiftCameraKit.git
Revision (git rev-parse @):
d2e33ab9eb3aa4a2f3cae092b3de42798c75aa51
SUCCESS checkout https://github.com/nicolaischneider/SwiftCameraKit.git at 1.0.0
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/nicolaischneider/SwiftCameraKit.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
Resolve Package Graph
Resolved source packages:
SwiftCameraKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftCameraKit
2026-09-22 03:34:53.683 xcodebuild[529:3034] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCameraKit",
"name" : "SwiftCameraKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftCameraKit",
"targets" : [
"SwiftCameraKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftCameraKit",
"module_type" : "SwiftTarget",
"name" : "SwiftCameraKit",
"path" : "Sources/SwiftCameraKit",
"product_memberships" : [
"SwiftCameraKit"
],
"sources" : [
"Camera/CameraState/CameraMode.swift",
"Camera/CameraState/CameraOutput.swift",
"Camera/CameraState/CaptureSessionState.swift",
"Camera/CameraState/FlashMode.swift",
"Camera/CameraState/MediaMode.swift",
"Camera/CameraState/RecordingVideo.swift",
"Camera/CameraState/SwiftCameraKitError.swift",
"Camera/Configs/SwiftCameraKitConfig.swift",
"Camera/Controls/SwiftCameraKit+CameraControls.swift",
"Camera/Controls/SwiftCameraKit+CameraSetup.swift",
"Camera/Photo/SwiftCameraKit+Photo.swift",
"Camera/Photo/SwiftCameraKit+PhotoOutput.swift",
"Camera/SwiftCameraKit+Reset.swift",
"Camera/SwiftCameraKit+Setup.swift",
"Camera/SwiftCameraKit.swift",
"Camera/Video/SwiftCameraKit+Playback.swift",
"Camera/Video/SwiftCameraKit+Video.swift",
"Camera/Video/SwiftCameraKit+VideoOutput.swift",
"Extensions/LoggerExtension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "SwiftCameraKit",
"schemes" : [
"SwiftCameraKit"
]
}
}
2026-09-22 03:35:34.649 xcodebuild[668:4274] [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 SwiftCameraKit -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SwiftCameraKit -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
SwiftCameraKit: /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 'SwiftCameraKit-product' in project 'SwiftCameraKit'
➜ Explicit dependency on target 'SwiftCameraKit' in project 'SwiftCameraKit'
Target 'SwiftCameraKit' in project 'SwiftCameraKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: abd7141cc03fc068e45afb00a7b1fa6b
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/abd7141cc03fc068e45afb00a7b1fa6b.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
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
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/SwiftCameraKit.modulemap (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/SwiftCameraKit.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/SwiftCameraKit.DependencyStaticMetadataFileList (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/SwiftCameraKit.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/SwiftCameraKit.DependencyMetadataFileList (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/SwiftCameraKit.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.SwiftFileList (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.LinkFileList (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.SwiftConstValuesFileList (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-OutputFileMap.json (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit_const_extract_protocols.json (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit_const_extract_protocols.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/SwiftCameraKit.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/SwiftCameraKit.modulemap (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
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/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/SwiftCameraKit.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver SwiftCameraKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
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 SwiftCameraKit -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-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/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-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/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-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/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-CDA349K2K4US766844K8E0PVA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-46GOQP8J1QTHLYQSJW81T8UZ3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-5BU2ADS7JXQMYENKQHW9X8XOU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-1Q8IQP6M38UWSGZ95UCEY2M44.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-6WKHNW5S40U2QGHXXGETUDIRA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-1WBA714DZSVUL5JQDJ08CLKZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-CI4H5RO9IYFFWQ2COB512Q2S9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-5NQ9Z1GV07GBSRQGAQCGXGVRI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-C8XHKSHX96D5YYALNM4W70Z0O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-BXA97MNLI4BB0HF5I8MJE403D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-5RGRVV2TZ6WC4WZW5IXF8NQ04.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-ENTECK156YEWITZRRBTOCE4KR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ExtensionFoundation-E7KNHPOM6BLHXC69S4MS8K7BO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-425JDMN5HPM3D0UEI8LEHP6NM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-BPYSMHWI520EQRL2HW519ZY7Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-2GT67HHHHK5CF1V1S31LH0PU2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-8OR6T47OOYJA90ZBO3N1USDE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-AYM0BHR77VKMWZCO2T0XGV2HF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-1VUZPM79PNCAHXVBERD53WRSF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-BC5IJI3YI34RQ61ZNVDRDZ6RN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-9ZHN6JKBS40BBA81RQMV8H0IC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-11B64KJD36B3YOHBR1BBXBJY8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-60P5LVNQO3ESRRM5DCJ05PFNK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-9XXAB17Y6E4BBPQADD61NZ23.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-3XTHY7HWV6RF3KXKYQVHUBUXK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-26TIBFYCEJZVP216ZZAU1X8KN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-692CJ8BG6RE5H04487EJJOVXW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-4U1VXMWIZD80E7PRUQF2G7P9X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-CLT3466HKC22GCKAWSCNG0H7T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-5E0I2846LO3ZE24CSVR2O57TI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/dnssd-CCUV1M8EULNEQJUXO7L0PJAL4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-AVLTZVCXBU2TO75JCN4AGU8XJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-EP5EU7FNGP4VOA3EDM18P1KHO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-1004XEJ3IXOOAU0KL58SM3D0K.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-8TH2M8WJIQMET4SADWX0N8372.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-45UXYEQRN95KG6BF2CW0QIYK9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-5MI70N1VLDQSWTX4COWLMSIRO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-BFUJ177R223UT2ZI327ZTZY91.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-CXS3C78T5TQDGLEGXIBJ04WJ4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-8GON1KVEKRN3NOQI8RETBRWJP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-6F9TY5TEPCCZ1K2KYM4GMEGHD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-5CC6COR9KJYI1UBL7CSHLU2OG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-8TBYAKHCX6UC8QQSS7BD8GQK5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-8IIV1V1FPNAPA4LY1Y23LOM2N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-8GQGFVARUE99D8VJX3TINY0VP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/FileProvider-C9I28SI56F2SEVH1BCWTKGODO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-7L19IC4ZH9BPYLVTD8IIFWN9R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-BNGT87TS0GMBFF7TY70HHB69.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-BANTQ3WXXGKZJYC0LLB3MD9K0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-5FE9U89GVFF9A7X7AGO2R8ENI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-E5KMWDZEKS4QW9RO1KBRDEXV6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-AOVGLUWEAN6CG2UZFNESGSP6C.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Network-EQPZZF3W6BWG89K0PY9NZO3T0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-8G2XC01RPQ5HYIZE6JNUT864I.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-1DR4J4YDVDGAYQTZ0FKZ1PU09.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-1SN37095DAPVJ068LLP9TBDQX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-EKNUM9P3PRIBHZK1ZBD6BA2T7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-56BKSYXNVAP91BYZRWAKQZKGI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AudioToolbox-2K3S8EA590EB3GMH6D6784BWZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-10LV922UPGE28QX2SOIO7ALIZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CloudKit-8H34CCWTKF0HWDZN9I1SWPFRC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVRouting-55P8FRNK50AFZOMMB2LBBOX33.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-E12HJSJSLO0YKWYBES11UKJ02.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-D1IBHC28BRHWLNUG1Q75G5YN0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-12T8WVKUNCL1N7VXH87MM4YOB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-8WF1P230U10QM666EQMNV7OF1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-6OBBMA39VFD4CB6SG2PE41FAP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MediaToolbox-1J5U29ERBPNPI1HKEJHXOP8EV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-E8GATWFYYBEBB41O9N0LRRGYC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/VideoToolbox-7I4MDYIPJ4IWU1ZSL4JE3I7M6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-2D2PMAAE45TMO6S28UCGCO5BR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFoundation-DFCX8GQJWVA3CZBITWEHAZEFX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Photos-UP8QA3XPPN8VSNC6O5KK62BK.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftCameraKit (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:8:50: error: 'Preset' is unavailable in visionOS
6 |
7 | /// Photo quality preset
8 | let photoSessionPreset: AVCaptureSession.Preset
| `- error: 'Preset' is unavailable in visionOS
9 |
10 | /// Boolean indicating whether high quality photos should be taken
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:14:50: error: 'Preset' is unavailable in visionOS
12 |
13 | public init(
14 | photoSessionPreset: AVCaptureSession.Preset = .photo,
| `- error: 'Preset' is unavailable in visionOS
15 | highQualityPhotos: Bool = true
16 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:14:60: error: 'photo' is unavailable in visionOS
12 |
13 | public init(
14 | photoSessionPreset: AVCaptureSession.Preset = .photo,
| `- error: 'photo' is unavailable in visionOS
15 | highQualityPhotos: Bool = true
16 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:31:41: note: 'photo' has been explicitly marked unavailable here
29 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetPhoto for full resolution photo quality output.
30 | */
31 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetPhoto API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'photo' has been explicitly marked unavailable here
32 |
33 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:26:50: error: 'Preset' is unavailable in visionOS
24 |
25 | /// Video recording quality preset
26 | let videoSessionPreset: AVCaptureSession.Preset
| `- error: 'Preset' is unavailable in visionOS
27 | /// Maximum video recording duration in seconds
28 | let maxVideoRecordingDuration: Int
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:33:50: error: 'Preset' is unavailable in visionOS
31 |
32 | public init(
33 | videoSessionPreset: AVCaptureSession.Preset = .high,
| `- error: 'Preset' is unavailable in visionOS
34 | maxVideoRecordingDuration: Int = 30,
35 | videoGravity: AVLayerVideoGravity = .resizeAspectFill,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:33:60: error: 'high' is unavailable in visionOS
31 |
32 | public init(
33 | videoSessionPreset: AVCaptureSession.Preset = .high,
| `- error: 'high' is unavailable in visionOS
34 | maxVideoRecordingDuration: Int = 30,
35 | videoGravity: AVLayerVideoGravity = .resizeAspectFill,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:41:41: note: 'high' has been explicitly marked unavailable here
39 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetHigh to achieve high quality video and audio output. AVCaptureSessionPresetHigh is the default sessionPreset value.
40 | */
41 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetHigh API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'high' has been explicitly marked unavailable here
42 |
43 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:39: error: 'AVCapturePhotoOutput' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:93: error: 'AVCapturePhoto' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhoto' is unavailable in visionOS
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 | */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
| `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:17: error: cannot override 'photoOutput' which has been marked unavailable
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: cannot override 'photoOutput' which has been marked unavailable
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 | This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 | */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:5:27: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
3 | import os
4 |
5 | extension SwiftCameraKit: AVCapturePhotoCaptureDelegate {
| `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
988 | */
989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
| `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
991 |
992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift:83:22: error: 'AVCapturePhotoOutput' is unavailable in visionOS
81 | var frontCamera: AVCaptureDevice?
82 | var currentCamera: AVCaptureDevice?
83 | var photoOutput: AVCapturePhotoOutput?
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
84 | var cameraPreviewLayer: AVCaptureVideoPreviewLayer?
85 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift:84:29: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
82 | var currentCamera: AVCaptureDevice?
83 | var photoOutput: AVCapturePhotoOutput?
84 | var cameraPreviewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
85 |
86 | // front camera flash for video
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
31 | */
32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
33 | @interface AVCaptureVideoPreviewLayer : CALayer
| `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
34 | {
35 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift:90:26: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
88 |
89 | // For video recording
90 | var movieFileOutput: AVCaptureMovieFileOutput?
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
91 | var recordingTimer: Timer?
92 | var currentRecordingDuration: Int = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:405:12: note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
403 | */
404 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
405 | @interface AVCaptureMovieFileOutput : AVCaptureFileOutput
| `- note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
406 | {
407 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift:8:38: error: 'AVCaptureFileOutput' is unavailable in visionOS
6 | extension SwiftCameraKit: AVCaptureFileOutputRecordingDelegate {
7 |
8 | public func fileOutput(_ output: AVCaptureFileOutput, didStartRecordingTo fileURL: URL, from connections: [AVCaptureConnection]) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
9 | // Handle recording started
10 | DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:36:12: note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
34 | */
35 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
36 | @interface AVCaptureFileOutput : AVCaptureOutput
| `- note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
37 | {
38 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift:15:38: error: 'AVCaptureFileOutput' is unavailable in visionOS
13 | }
14 |
15 | public func fileOutput(_ output: AVCaptureFileOutput, didFinishRecordingTo outputFileURL: URL, from connections: [AVCaptureConnection], error: Error?) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
16 | if let error = error {
17 | LogManager.swiftCameraKit.addLog("Error recording video: \(error.localizedDescription)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:36:12: note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
34 | */
35 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
36 | @interface AVCaptureFileOutput : AVCaptureOutput
| `- note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
37 | {
38 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift:6:27: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
4 |
5 | // MARK: - AVCaptureFileOutputRecordingDelegate
6 | extension SwiftCameraKit: AVCaptureFileOutputRecordingDelegate {
| `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
7 |
8 | public func fileOutput(_ output: AVCaptureFileOutput, didStartRecordingTo fileURL: URL, from connections: [AVCaptureConnection]) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:206:11: note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
204 | */
205 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
206 | @protocol AVCaptureFileOutputRecordingDelegate <NSObject>
| `- note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
207 |
208 | @optional
Failed frontend command:
SwiftCompile normal arm64 (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
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/SwiftCameraKit/Camera/CameraState/CameraMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CameraOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CaptureSessionState.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/FlashMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/MediaMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/RecordingVideo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/SwiftCameraKitError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraControls.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Reset.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Setup.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Playback.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Extensions/LoggerExtension.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftCameraKit -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.abi.json
SwiftCompile normal arm64 Compiling\ LoggerExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Extensions/LoggerExtension.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Extensions/LoggerExtension.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LoggerExtension.swift
SwiftCompile normal arm64 Compiling\ SwiftCameraKitError.swift,\ SwiftCameraKitConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/SwiftCameraKitError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/SwiftCameraKitError.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKitError.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKitConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:8:50: error: 'Preset' is unavailable in visionOS
6 |
7 | /// Photo quality preset
8 | let photoSessionPreset: AVCaptureSession.Preset
| `- error: 'Preset' is unavailable in visionOS
9 |
10 | /// Boolean indicating whether high quality photos should be taken
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:14:50: error: 'Preset' is unavailable in visionOS
12 |
13 | public init(
14 | photoSessionPreset: AVCaptureSession.Preset = .photo,
| `- error: 'Preset' is unavailable in visionOS
15 | highQualityPhotos: Bool = true
16 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:14:60: error: 'photo' is unavailable in visionOS
12 |
13 | public init(
14 | photoSessionPreset: AVCaptureSession.Preset = .photo,
| `- error: 'photo' is unavailable in visionOS
15 | highQualityPhotos: Bool = true
16 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:31:41: note: 'photo' has been explicitly marked unavailable here
29 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetPhoto for full resolution photo quality output.
30 | */
31 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetPhoto API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'photo' has been explicitly marked unavailable here
32 |
33 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:26:50: error: 'Preset' is unavailable in visionOS
24 |
25 | /// Video recording quality preset
26 | let videoSessionPreset: AVCaptureSession.Preset
| `- error: 'Preset' is unavailable in visionOS
27 | /// Maximum video recording duration in seconds
28 | let maxVideoRecordingDuration: Int
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:33:50: error: 'Preset' is unavailable in visionOS
31 |
32 | public init(
33 | videoSessionPreset: AVCaptureSession.Preset = .high,
| `- error: 'Preset' is unavailable in visionOS
34 | maxVideoRecordingDuration: Int = 30,
35 | videoGravity: AVLayerVideoGravity = .resizeAspectFill,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
SwiftCompile normal arm64 Compiling\ SwiftCameraKit+Photo.swift,\ SwiftCameraKit+PhotoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift:45:29: error: 'connection' is unavailable in visionOS
43 |
44 | // Immediately pause the preview layer animation
45 | cameraPreviewLayer?.connection?.isEnabled = false
| `- error: 'connection' is unavailable in visionOS
46 |
47 | let settings = AVCapturePhotoSettings()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 | When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 | */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift:45:41: error: 'isEnabled' is unavailable in visionOS
43 |
44 | // Immediately pause the preview layer animation
45 | cameraPreviewLayer?.connection?.isEnabled = false
| `- error: 'isEnabled' is unavailable in visionOS
46 |
47 | let settings = AVCapturePhotoSettings()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1009:45: note: 'isEnabled' has been explicitly marked unavailable here
1007 | The value of this property is a BOOL that determines whether the receiver's output should consume data from its connected inputPorts when a session is running. Clients can set this property to stop the flow of data to a given output during capture. The default value is YES.
1008 | */
1009 | @property(nonatomic, getter=isEnabled) BOOL enabled API_UNAVAILABLE(visionos);
| `- note: 'isEnabled' has been explicitly marked unavailable here
1010 |
1011 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift:47:24: error: 'AVCapturePhotoSettings' is unavailable in visionOS
45 | cameraPreviewLayer?.connection?.isEnabled = false
46 |
47 | let settings = AVCapturePhotoSettings()
| `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
48 |
49 | // Configure photo settings for best quality
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 | */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
| `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift:51:22: error: 'isHighResolutionPhotoEnabled' is unavailable in visionOS
49 | // Configure photo settings for best quality
50 | if configs.photoSetting.highQualityPhotos {
51 | settings.isHighResolutionPhotoEnabled = true
| `- error: 'isHighResolutionPhotoEnabled' is unavailable in visionOS
52 | settings.photoQualityPrioritization = .quality
53 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1446:64: note: 'isHighResolutionPhotoEnabled' has been explicitly marked unavailable here
1444 | Starting in iOS 14.5 if you disable geometric distortion correction, the high resolution photo emitted by AVCapturePhotoOutput may be is smaller depending on the format.
1445 | */
1446 | @property(nonatomic, getter=isHighResolutionPhotoEnabled) BOOL highResolutionPhotoEnabled API_DEPRECATED("Use maxPhotoDimensions instead.", macos(10.15, 13.0), ios(10.0, 16.0), macCatalyst(14.0, 16.0)) API_UNAVAILABLE(tvos, visionos);
| `- note: 'isHighResolutionPhotoEnabled' has been explicitly marked unavailable here
1447 |
1448 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift:52:22: error: 'photoQualityPrioritization' is unavailable in visionOS
50 | if configs.photoSetting.highQualityPhotos {
51 | settings.isHighResolutionPhotoEnabled = true
52 | settings.photoQualityPrioritization = .quality
| `- error: 'photoQualityPrioritization' is unavailable in visionOS
53 | }
54 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1382:58: note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1380 | Default value is AVCapturePhotoQualityPrioritizationBalanced. The AVCapturePhotoOutput is capable of applying a variety of techniques to improve photo quality (reduce noise, preserve detail in low light, freeze motion, etc), depending on the source device's activeFormat. Some of these techniques can take significant processing time before the photo is returned to your delegate callback. The photoQualityPrioritization property allows you to specify your preferred quality vs speed of delivery. By default, speed and quality are considered to be of equal importance. When you specify AVCapturePhotoQualityPrioritizationSpeed, you indicate that speed should be prioritized at the expense of quality. Likewise, when you choose AVCapturePhotoQualityPrioritizationQuality, you signal your willingness to prioritize the very best quality at the expense of speed, and your readiness to wait (perhaps significantly) longer for the photo to be returned to your delegate.
1381 | */
1382 | @property(nonatomic) AVCapturePhotoQualityPrioritization photoQualityPrioritization API_AVAILABLE(macos(13.0), ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1383 |
1384 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:17: error: cannot override 'photoOutput' which has been marked unavailable
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: cannot override 'photoOutput' which has been marked unavailable
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 | This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 | */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:39: error: 'AVCapturePhotoOutput' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:93: error: 'AVCapturePhoto' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhoto' is unavailable in visionOS
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 | */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
| `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:5:27: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
3 | import os
4 |
5 | extension SwiftCameraKit: AVCapturePhotoCaptureDelegate {
| `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
988 | */
989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
| `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
991 |
992 | @optional
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+Photo.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+PhotoOutput.swift
SwiftCompile normal arm64 Compiling\ MediaMode.swift,\ RecordingVideo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/MediaMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/RecordingVideo.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/MediaMode.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MediaMode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/RecordingVideo.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RecordingVideo.swift
SwiftCompile normal arm64 Compiling\ SwiftCameraKit.swift,\ SwiftCameraKit+Playback.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Playback.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift:83:22: error: 'AVCapturePhotoOutput' is unavailable in visionOS
81 | var frontCamera: AVCaptureDevice?
82 | var currentCamera: AVCaptureDevice?
83 | var photoOutput: AVCapturePhotoOutput?
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
84 | var cameraPreviewLayer: AVCaptureVideoPreviewLayer?
85 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift:84:29: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
82 | var currentCamera: AVCaptureDevice?
83 | var photoOutput: AVCapturePhotoOutput?
84 | var cameraPreviewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
85 |
86 | // front camera flash for video
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
31 | */
32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
33 | @interface AVCaptureVideoPreviewLayer : CALayer
| `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
34 | {
35 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift:90:26: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
88 |
89 | // For video recording
90 | var movieFileOutput: AVCaptureMovieFileOutput?
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
91 | var recordingTimer: Timer?
92 | var currentRecordingDuration: Int = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:405:12: note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
403 | */
404 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
405 | @interface AVCaptureMovieFileOutput : AVCaptureFileOutput
| `- note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
406 | {
407 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:14:60: error: 'photo' is unavailable in visionOS
12 |
13 | public init(
14 | photoSessionPreset: AVCaptureSession.Preset = .photo,
| `- error: 'photo' is unavailable in visionOS
15 | highQualityPhotos: Bool = true
16 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:31:41: note: 'photo' has been explicitly marked unavailable here
29 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetPhoto for full resolution photo quality output.
30 | */
31 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetPhoto API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'photo' has been explicitly marked unavailable here
32 |
33 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Playback.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+Playback.swift
SwiftCompile normal arm64 Compiling\ SwiftCameraKit+CameraControls.swift,\ SwiftCameraKit+CameraSetup.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraControls.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraControls.swift:53:29: error: 'sessionPreset' is unavailable in visionOS
51 | switch mediaMode {
52 | case .photo:
53 | captureSession?.sessionPreset = configs.photoSetting.photoSessionPreset
| `- error: 'sessionPreset' is unavailable in visionOS
54 |
55 | case .video:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
164 | The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
165 | */
166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
| `- note: 'sessionPreset' has been explicitly marked unavailable here
167 |
168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraControls.swift:56:29: error: 'sessionPreset' is unavailable in visionOS
54 |
55 | case .video:
56 | captureSession?.sessionPreset = configs.videoSettings.videoSessionPreset
| `- error: 'sessionPreset' is unavailable in visionOS
57 | }
58 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
164 | The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
165 | */
166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
| `- note: 'sessionPreset' has been explicitly marked unavailable here
167 |
168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift:142:29: error: 'connection' is unavailable in visionOS
140 | /// blocking the UI.
141 | public func restartCaptureSession() {
142 | cameraPreviewLayer?.connection?.isEnabled = true
| `- error: 'connection' is unavailable in visionOS
143 | cleanupVideoPlayback()
144 | DispatchQueue.global(qos: .background).async { [weak self] in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 | When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 | */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift:142:41: error: 'isEnabled' is unavailable in visionOS
140 | /// blocking the UI.
141 | public func restartCaptureSession() {
142 | cameraPreviewLayer?.connection?.isEnabled = true
| `- error: 'isEnabled' is unavailable in visionOS
143 | cleanupVideoPlayback()
144 | DispatchQueue.global(qos: .background).async { [weak self] in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1009:45: note: 'isEnabled' has been explicitly marked unavailable here
1007 | The value of this property is a BOOL that determines whether the receiver's output should consume data from its connected inputPorts when a session is running. Clients can set this property to stop the flow of data to a given output during capture. The default value is YES.
1008 | */
1009 | @property(nonatomic, getter=isEnabled) BOOL enabled API_UNAVAILABLE(visionos);
| `- note: 'isEnabled' has been explicitly marked unavailable here
1010 |
1011 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift:170:25: error: 'sessionPreset' is unavailable in visionOS
168 | // Start off with photo session
169 | captureSession = AVCaptureSession()
170 | captureSession?.sessionPreset = configs.photoSetting.photoSessionPreset
| `- error: 'sessionPreset' is unavailable in visionOS
171 | captureSession?.beginConfiguration()
172 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
164 | The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
165 | */
166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
| `- note: 'sessionPreset' has been explicitly marked unavailable here
167 |
168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift:174:43: error: 'DeviceType' is only available in visionOS 2.1 or newer
2 | import AVFoundation
3 |
4 | extension SwiftCameraKit {
| `- note: add '@available' attribute to enclosing extension
5 |
6 | // MARK: - Camera and Audio Authorization
:
162 | }
163 |
164 | private func configureCaptureSession() {
| `- note: add '@available' attribute to enclosing instance method
165 |
166 | LogManager.swiftCameraKit.addLog("Configuring capture session...")
:
172 |
173 | // Support all common iOS device cameras
174 | let deviceTypes: [AVCaptureDevice.DeviceType] = [
| |- error: 'DeviceType' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
175 | .builtInWideAngleCamera,
176 | .builtInDualCamera,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift:175:14: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
2 | import AVFoundation
3 |
4 | extension SwiftCameraKit {
| `- note: add '@available' attribute to enclosing extension
5 |
6 | // MARK: - Camera and Audio Authorization
:
162 | }
163 |
164 | private func configureCaptureSession() {
| `- note: add '@available' attribute to enclosing instance method
165 |
166 | LogManager.swiftCameraKit.addLog("Configuring capture session...")
:
173 | // Support all common iOS device cameras
174 | let deviceTypes: [AVCaptureDevice.DeviceType] = [
175 | .builtInWideAngleCamera,
| |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
176 | .builtInDualCamera,
177 | .builtInDualWideCamera, // Added for iPhone 11 and similar
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraControls.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+CameraControls.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+CameraSetup.swift
SwiftCompile normal arm64 Compiling\ CaptureSessionState.swift,\ FlashMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CaptureSessionState.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/FlashMode.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CaptureSessionState.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CaptureSessionState.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/FlashMode.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FlashMode.swift
SwiftCompile normal arm64 Compiling\ SwiftCameraKit+Video.swift,\ SwiftCameraKit+VideoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+Video.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+VideoOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift:52:33: error: 'isEnabled' is unavailable in visionOS
50 | // Verify that audio is enabled for the connection
51 | if let audioConnection = movieFileOutput.connection(with: .audio) {
52 | if !audioConnection.isEnabled {
| `- error: 'isEnabled' is unavailable in visionOS
53 | LogManager.swiftCameraKit.addLog("Audio connection was disabled, enabling now")
54 | audioConnection.isEnabled = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1009:45: note: 'isEnabled' has been explicitly marked unavailable here
1007 | The value of this property is a BOOL that determines whether the receiver's output should consume data from its connected inputPorts when a session is running. Clients can set this property to stop the flow of data to a given output during capture. The default value is YES.
1008 | */
1009 | @property(nonatomic, getter=isEnabled) BOOL enabled API_UNAVAILABLE(visionos);
| `- note: 'isEnabled' has been explicitly marked unavailable here
1010 |
1011 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift:54:33: error: 'isEnabled' is unavailable in visionOS
52 | if !audioConnection.isEnabled {
53 | LogManager.swiftCameraKit.addLog("Audio connection was disabled, enabling now")
54 | audioConnection.isEnabled = true
| `- error: 'isEnabled' is unavailable in visionOS
55 | }
56 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1009:45: note: 'isEnabled' has been explicitly marked unavailable here
1007 | The value of this property is a BOOL that determines whether the receiver's output should consume data from its connected inputPorts when a session is running. Clients can set this property to stop the flow of data to a given output during capture. The default value is YES.
1008 | */
1009 | @property(nonatomic, getter=isEnabled) BOOL enabled API_UNAVAILABLE(visionos);
| `- note: 'isEnabled' has been explicitly marked unavailable here
1010 |
1011 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift:116:44: error: 'default(for:)' is only available in visionOS 2.1 or newer
3 | import os
4 |
5 | extension SwiftCameraKit {
| `- note: add '@available' attribute to enclosing extension
6 |
7 | // MARK: - Video Recording
:
107 | }
108 |
109 | private func setTorchForVideo(on: Bool) {
| `- note: add '@available' attribute to enclosing instance method
110 |
111 | guard cameraMode == .back else {
:
114 | }
115 |
116 | guard let device = AVCaptureDevice.default(for: .video),
| |- error: 'default(for:)' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
117 | device.hasTorch,
118 | device.isTorchAvailable else {
SwiftCompile normal arm64 Compiling\ SwiftCameraKit+Reset.swift,\ SwiftCameraKit+Setup.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Reset.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Setup.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Reset.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+Reset.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Setup.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+Setup.swift
SwiftCompile normal arm64 Compiling\ CameraMode.swift,\ CameraOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CameraMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CameraOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CameraMode.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraMode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CameraOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraOutput.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-22 03:35:36.250 xcodebuild[669:4316] [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 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftCameraKit (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
Building workspace SwiftCameraKit with scheme SwiftCameraKit
(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:
SwiftCameraKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftCameraKit
2026-09-22 03:35:43.748 xcodebuild[776:4742] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCameraKit",
"name" : "SwiftCameraKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftCameraKit",
"targets" : [
"SwiftCameraKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftCameraKit",
"module_type" : "SwiftTarget",
"name" : "SwiftCameraKit",
"path" : "Sources/SwiftCameraKit",
"product_memberships" : [
"SwiftCameraKit"
],
"sources" : [
"Camera/CameraState/CameraMode.swift",
"Camera/CameraState/CameraOutput.swift",
"Camera/CameraState/CaptureSessionState.swift",
"Camera/CameraState/FlashMode.swift",
"Camera/CameraState/MediaMode.swift",
"Camera/CameraState/RecordingVideo.swift",
"Camera/CameraState/SwiftCameraKitError.swift",
"Camera/Configs/SwiftCameraKitConfig.swift",
"Camera/Controls/SwiftCameraKit+CameraControls.swift",
"Camera/Controls/SwiftCameraKit+CameraSetup.swift",
"Camera/Photo/SwiftCameraKit+Photo.swift",
"Camera/Photo/SwiftCameraKit+PhotoOutput.swift",
"Camera/SwiftCameraKit+Reset.swift",
"Camera/SwiftCameraKit+Setup.swift",
"Camera/SwiftCameraKit.swift",
"Camera/Video/SwiftCameraKit+Playback.swift",
"Camera/Video/SwiftCameraKit+Video.swift",
"Camera/Video/SwiftCameraKit+VideoOutput.swift",
"Extensions/LoggerExtension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "SwiftCameraKit",
"schemes" : [
"SwiftCameraKit"
]
}
}
2026-09-22 03:35:45.010 xcodebuild[784:4808] [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 SwiftCameraKit -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SwiftCameraKit -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
SwiftCameraKit: /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 'SwiftCameraKit-product' in project 'SwiftCameraKit'
➜ Explicit dependency on target 'SwiftCameraKit' in project 'SwiftCameraKit'
Target 'SwiftCameraKit' in project 'SwiftCameraKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
SwiftDriver SwiftCameraKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
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 SwiftCameraKit -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-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/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-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/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-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/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ CameraMode.swift,\ CameraOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CameraMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CameraOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CameraMode.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraMode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CameraOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraOutput.swift
SwiftCompile normal arm64 Compiling\ MediaMode.swift,\ RecordingVideo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/MediaMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/RecordingVideo.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/MediaMode.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MediaMode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/RecordingVideo.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RecordingVideo.swift
SwiftCompile normal arm64 Compiling\ SwiftCameraKitError.swift,\ SwiftCameraKitConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/SwiftCameraKitError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:8:50: error: 'Preset' is unavailable in visionOS
6 |
7 | /// Photo quality preset
8 | let photoSessionPreset: AVCaptureSession.Preset
| `- error: 'Preset' is unavailable in visionOS
9 |
10 | /// Boolean indicating whether high quality photos should be taken
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:14:50: error: 'Preset' is unavailable in visionOS
12 |
13 | public init(
14 | photoSessionPreset: AVCaptureSession.Preset = .photo,
| `- error: 'Preset' is unavailable in visionOS
15 | highQualityPhotos: Bool = true
16 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:14:60: error: 'photo' is unavailable in visionOS
12 |
13 | public init(
14 | photoSessionPreset: AVCaptureSession.Preset = .photo,
| `- error: 'photo' is unavailable in visionOS
15 | highQualityPhotos: Bool = true
16 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:31:41: note: 'photo' has been explicitly marked unavailable here
29 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetPhoto for full resolution photo quality output.
30 | */
31 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetPhoto API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'photo' has been explicitly marked unavailable here
32 |
33 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:26:50: error: 'Preset' is unavailable in visionOS
24 |
25 | /// Video recording quality preset
26 | let videoSessionPreset: AVCaptureSession.Preset
| `- error: 'Preset' is unavailable in visionOS
27 | /// Maximum video recording duration in seconds
28 | let maxVideoRecordingDuration: Int
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:33:50: error: 'Preset' is unavailable in visionOS
31 |
32 | public init(
33 | videoSessionPreset: AVCaptureSession.Preset = .high,
| `- error: 'Preset' is unavailable in visionOS
34 | maxVideoRecordingDuration: Int = 30,
35 | videoGravity: AVLayerVideoGravity = .resizeAspectFill,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/SwiftCameraKitError.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKitError.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKitConfig.swift
SwiftCompile normal arm64 Compiling\ CaptureSessionState.swift,\ FlashMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CaptureSessionState.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/FlashMode.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CaptureSessionState.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CaptureSessionState.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/FlashMode.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FlashMode.swift
SwiftCompile normal arm64 Compiling\ SwiftCameraKit+CameraControls.swift,\ SwiftCameraKit+CameraSetup.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraControls.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraControls.swift:53:29: error: 'sessionPreset' is unavailable in visionOS
51 | switch mediaMode {
52 | case .photo:
53 | captureSession?.sessionPreset = configs.photoSetting.photoSessionPreset
| `- error: 'sessionPreset' is unavailable in visionOS
54 |
55 | case .video:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
164 | The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
165 | */
166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
| `- note: 'sessionPreset' has been explicitly marked unavailable here
167 |
168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraControls.swift:56:29: error: 'sessionPreset' is unavailable in visionOS
54 |
55 | case .video:
56 | captureSession?.sessionPreset = configs.videoSettings.videoSessionPreset
| `- error: 'sessionPreset' is unavailable in visionOS
57 | }
58 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
164 | The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
165 | */
166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
| `- note: 'sessionPreset' has been explicitly marked unavailable here
167 |
168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift:142:29: error: 'connection' is unavailable in visionOS
140 | /// blocking the UI.
141 | public func restartCaptureSession() {
142 | cameraPreviewLayer?.connection?.isEnabled = true
| `- error: 'connection' is unavailable in visionOS
143 | cleanupVideoPlayback()
144 | DispatchQueue.global(qos: .background).async { [weak self] in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 | When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 | */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift:142:41: error: 'isEnabled' is unavailable in visionOS
140 | /// blocking the UI.
141 | public func restartCaptureSession() {
142 | cameraPreviewLayer?.connection?.isEnabled = true
| `- error: 'isEnabled' is unavailable in visionOS
143 | cleanupVideoPlayback()
144 | DispatchQueue.global(qos: .background).async { [weak self] in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1009:45: note: 'isEnabled' has been explicitly marked unavailable here
1007 | The value of this property is a BOOL that determines whether the receiver's output should consume data from its connected inputPorts when a session is running. Clients can set this property to stop the flow of data to a given output during capture. The default value is YES.
1008 | */
1009 | @property(nonatomic, getter=isEnabled) BOOL enabled API_UNAVAILABLE(visionos);
| `- note: 'isEnabled' has been explicitly marked unavailable here
1010 |
1011 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift:170:25: error: 'sessionPreset' is unavailable in visionOS
168 | // Start off with photo session
169 | captureSession = AVCaptureSession()
170 | captureSession?.sessionPreset = configs.photoSetting.photoSessionPreset
| `- error: 'sessionPreset' is unavailable in visionOS
171 | captureSession?.beginConfiguration()
172 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
164 | The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
165 | */
166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
| `- note: 'sessionPreset' has been explicitly marked unavailable here
167 |
168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift:174:43: error: 'DeviceType' is only available in visionOS 2.1 or newer
2 | import AVFoundation
3 |
4 | extension SwiftCameraKit {
| `- note: add '@available' attribute to enclosing extension
5 |
6 | // MARK: - Camera and Audio Authorization
:
162 | }
163 |
164 | private func configureCaptureSession() {
| `- note: add '@available' attribute to enclosing instance method
165 |
166 | LogManager.swiftCameraKit.addLog("Configuring capture session...")
:
172 |
173 | // Support all common iOS device cameras
174 | let deviceTypes: [AVCaptureDevice.DeviceType] = [
| |- error: 'DeviceType' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
175 | .builtInWideAngleCamera,
176 | .builtInDualCamera,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift:175:14: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
2 | import AVFoundation
3 |
4 | extension SwiftCameraKit {
| `- note: add '@available' attribute to enclosing extension
5 |
6 | // MARK: - Camera and Audio Authorization
:
162 | }
163 |
164 | private func configureCaptureSession() {
| `- note: add '@available' attribute to enclosing instance method
165 |
166 | LogManager.swiftCameraKit.addLog("Configuring capture session...")
:
173 | // Support all common iOS device cameras
174 | let deviceTypes: [AVCaptureDevice.DeviceType] = [
175 | .builtInWideAngleCamera,
| |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
176 | .builtInDualCamera,
177 | .builtInDualWideCamera, // Added for iPhone 11 and similar
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraControls.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+CameraControls.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+CameraSetup.swift
SwiftCompile normal arm64 Compiling\ SwiftCameraKit+Photo.swift,\ SwiftCameraKit+PhotoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift:45:29: error: 'connection' is unavailable in visionOS
43 |
44 | // Immediately pause the preview layer animation
45 | cameraPreviewLayer?.connection?.isEnabled = false
| `- error: 'connection' is unavailable in visionOS
46 |
47 | let settings = AVCapturePhotoSettings()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 | When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 | */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift:45:41: error: 'isEnabled' is unavailable in visionOS
43 |
44 | // Immediately pause the preview layer animation
45 | cameraPreviewLayer?.connection?.isEnabled = false
| `- error: 'isEnabled' is unavailable in visionOS
46 |
47 | let settings = AVCapturePhotoSettings()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1009:45: note: 'isEnabled' has been explicitly marked unavailable here
1007 | The value of this property is a BOOL that determines whether the receiver's output should consume data from its connected inputPorts when a session is running. Clients can set this property to stop the flow of data to a given output during capture. The default value is YES.
1008 | */
1009 | @property(nonatomic, getter=isEnabled) BOOL enabled API_UNAVAILABLE(visionos);
| `- note: 'isEnabled' has been explicitly marked unavailable here
1010 |
1011 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift:47:24: error: 'AVCapturePhotoSettings' is unavailable in visionOS
45 | cameraPreviewLayer?.connection?.isEnabled = false
46 |
47 | let settings = AVCapturePhotoSettings()
| `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
48 |
49 | // Configure photo settings for best quality
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 | */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
| `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift:51:22: error: 'isHighResolutionPhotoEnabled' is unavailable in visionOS
49 | // Configure photo settings for best quality
50 | if configs.photoSetting.highQualityPhotos {
51 | settings.isHighResolutionPhotoEnabled = true
| `- error: 'isHighResolutionPhotoEnabled' is unavailable in visionOS
52 | settings.photoQualityPrioritization = .quality
53 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1446:64: note: 'isHighResolutionPhotoEnabled' has been explicitly marked unavailable here
1444 | Starting in iOS 14.5 if you disable geometric distortion correction, the high resolution photo emitted by AVCapturePhotoOutput may be is smaller depending on the format.
1445 | */
1446 | @property(nonatomic, getter=isHighResolutionPhotoEnabled) BOOL highResolutionPhotoEnabled API_DEPRECATED("Use maxPhotoDimensions instead.", macos(10.15, 13.0), ios(10.0, 16.0), macCatalyst(14.0, 16.0)) API_UNAVAILABLE(tvos, visionos);
| `- note: 'isHighResolutionPhotoEnabled' has been explicitly marked unavailable here
1447 |
1448 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift:52:22: error: 'photoQualityPrioritization' is unavailable in visionOS
50 | if configs.photoSetting.highQualityPhotos {
51 | settings.isHighResolutionPhotoEnabled = true
52 | settings.photoQualityPrioritization = .quality
| `- error: 'photoQualityPrioritization' is unavailable in visionOS
53 | }
54 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1382:58: note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1380 | Default value is AVCapturePhotoQualityPrioritizationBalanced. The AVCapturePhotoOutput is capable of applying a variety of techniques to improve photo quality (reduce noise, preserve detail in low light, freeze motion, etc), depending on the source device's activeFormat. Some of these techniques can take significant processing time before the photo is returned to your delegate callback. The photoQualityPrioritization property allows you to specify your preferred quality vs speed of delivery. By default, speed and quality are considered to be of equal importance. When you specify AVCapturePhotoQualityPrioritizationSpeed, you indicate that speed should be prioritized at the expense of quality. Likewise, when you choose AVCapturePhotoQualityPrioritizationQuality, you signal your willingness to prioritize the very best quality at the expense of speed, and your readiness to wait (perhaps significantly) longer for the photo to be returned to your delegate.
1381 | */
1382 | @property(nonatomic) AVCapturePhotoQualityPrioritization photoQualityPrioritization API_AVAILABLE(macos(13.0), ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1383 |
1384 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:17: error: cannot override 'photoOutput' which has been marked unavailable
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: cannot override 'photoOutput' which has been marked unavailable
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 | This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 | */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:39: error: 'AVCapturePhotoOutput' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:93: error: 'AVCapturePhoto' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhoto' is unavailable in visionOS
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 | */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
| `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:5:27: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
3 | import os
4 |
5 | extension SwiftCameraKit: AVCapturePhotoCaptureDelegate {
| `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
988 | */
989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
| `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
991 |
992 | @optional
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+Photo.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+PhotoOutput.swift
SwiftCompile normal arm64 Compiling\ SwiftCameraKit+Reset.swift,\ SwiftCameraKit+Setup.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Reset.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Setup.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Reset.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+Reset.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Setup.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+Setup.swift
SwiftCompile normal arm64 Compiling\ SwiftCameraKit+Video.swift,\ SwiftCameraKit+VideoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift:52:33: error: 'isEnabled' is unavailable in visionOS
50 | // Verify that audio is enabled for the connection
51 | if let audioConnection = movieFileOutput.connection(with: .audio) {
52 | if !audioConnection.isEnabled {
| `- error: 'isEnabled' is unavailable in visionOS
53 | LogManager.swiftCameraKit.addLog("Audio connection was disabled, enabling now")
54 | audioConnection.isEnabled = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1009:45: note: 'isEnabled' has been explicitly marked unavailable here
1007 | The value of this property is a BOOL that determines whether the receiver's output should consume data from its connected inputPorts when a session is running. Clients can set this property to stop the flow of data to a given output during capture. The default value is YES.
1008 | */
1009 | @property(nonatomic, getter=isEnabled) BOOL enabled API_UNAVAILABLE(visionos);
| `- note: 'isEnabled' has been explicitly marked unavailable here
1010 |
1011 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift:54:33: error: 'isEnabled' is unavailable in visionOS
52 | if !audioConnection.isEnabled {
53 | LogManager.swiftCameraKit.addLog("Audio connection was disabled, enabling now")
54 | audioConnection.isEnabled = true
| `- error: 'isEnabled' is unavailable in visionOS
55 | }
56 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1009:45: note: 'isEnabled' has been explicitly marked unavailable here
1007 | The value of this property is a BOOL that determines whether the receiver's output should consume data from its connected inputPorts when a session is running. Clients can set this property to stop the flow of data to a given output during capture. The default value is YES.
1008 | */
1009 | @property(nonatomic, getter=isEnabled) BOOL enabled API_UNAVAILABLE(visionos);
| `- note: 'isEnabled' has been explicitly marked unavailable here
1010 |
1011 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift:116:44: error: 'default(for:)' is only available in visionOS 2.1 or newer
3 | import os
4 |
5 | extension SwiftCameraKit {
| `- note: add '@available' attribute to enclosing extension
6 |
7 | // MARK: - Video Recording
:
107 | }
108 |
109 | private func setTorchForVideo(on: Bool) {
| `- note: add '@available' attribute to enclosing instance method
110 |
111 | guard cameraMode == .back else {
:
114 | }
115 |
116 | guard let device = AVCaptureDevice.default(for: .video),
| |- error: 'default(for:)' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
117 | device.hasTorch,
118 | device.isTorchAvailable else {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+Video.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+VideoOutput.swift
SwiftCompile normal arm64 Compiling\ LoggerExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Extensions/LoggerExtension.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Extensions/LoggerExtension.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LoggerExtension.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftCameraKit (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:8:50: error: 'Preset' is unavailable in visionOS
6 |
7 | /// Photo quality preset
8 | let photoSessionPreset: AVCaptureSession.Preset
| `- error: 'Preset' is unavailable in visionOS
9 |
10 | /// Boolean indicating whether high quality photos should be taken
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:14:50: error: 'Preset' is unavailable in visionOS
12 |
13 | public init(
14 | photoSessionPreset: AVCaptureSession.Preset = .photo,
| `- error: 'Preset' is unavailable in visionOS
15 | highQualityPhotos: Bool = true
16 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:14:60: error: 'photo' is unavailable in visionOS
12 |
13 | public init(
14 | photoSessionPreset: AVCaptureSession.Preset = .photo,
| `- error: 'photo' is unavailable in visionOS
15 | highQualityPhotos: Bool = true
16 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:31:41: note: 'photo' has been explicitly marked unavailable here
29 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetPhoto for full resolution photo quality output.
30 | */
31 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetPhoto API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'photo' has been explicitly marked unavailable here
32 |
33 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:26:50: error: 'Preset' is unavailable in visionOS
24 |
25 | /// Video recording quality preset
26 | let videoSessionPreset: AVCaptureSession.Preset
| `- error: 'Preset' is unavailable in visionOS
27 | /// Maximum video recording duration in seconds
28 | let maxVideoRecordingDuration: Int
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:33:50: error: 'Preset' is unavailable in visionOS
31 |
32 | public init(
33 | videoSessionPreset: AVCaptureSession.Preset = .high,
| `- error: 'Preset' is unavailable in visionOS
34 | maxVideoRecordingDuration: Int = 30,
35 | videoGravity: AVLayerVideoGravity = .resizeAspectFill,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
19 | Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
20 | */
21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'Preset' has been explicitly marked unavailable here
22 |
23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift:33:60: error: 'high' is unavailable in visionOS
31 |
32 | public init(
33 | videoSessionPreset: AVCaptureSession.Preset = .high,
| `- error: 'high' is unavailable in visionOS
34 | maxVideoRecordingDuration: Int = 30,
35 | videoGravity: AVLayerVideoGravity = .resizeAspectFill,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:41:41: note: 'high' has been explicitly marked unavailable here
39 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetHigh to achieve high quality video and audio output. AVCaptureSessionPresetHigh is the default sessionPreset value.
40 | */
41 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetHigh API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'high' has been explicitly marked unavailable here
42 |
43 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:39: error: 'AVCapturePhotoOutput' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:93: error: 'AVCapturePhoto' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhoto' is unavailable in visionOS
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 | */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
| `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:8:17: error: cannot override 'photoOutput' which has been marked unavailable
6 |
7 | /// This method gets called once the photo is captured
8 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: cannot override 'photoOutput' which has been marked unavailable
9 |
10 | LogManager.swiftCameraKit.addLog("Photo captured and processed...")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 | This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 | */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift:5:27: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
3 | import os
4 |
5 | extension SwiftCameraKit: AVCapturePhotoCaptureDelegate {
| `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
6 |
7 | /// This method gets called once the photo is captured
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
988 | */
989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
| `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
991 |
992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift:83:22: error: 'AVCapturePhotoOutput' is unavailable in visionOS
81 | var frontCamera: AVCaptureDevice?
82 | var currentCamera: AVCaptureDevice?
83 | var photoOutput: AVCapturePhotoOutput?
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
84 | var cameraPreviewLayer: AVCaptureVideoPreviewLayer?
85 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift:84:29: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
82 | var currentCamera: AVCaptureDevice?
83 | var photoOutput: AVCapturePhotoOutput?
84 | var cameraPreviewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
85 |
86 | // front camera flash for video
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
31 | */
32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
33 | @interface AVCaptureVideoPreviewLayer : CALayer
| `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
34 | {
35 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift:90:26: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
88 |
89 | // For video recording
90 | var movieFileOutput: AVCaptureMovieFileOutput?
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
91 | var recordingTimer: Timer?
92 | var currentRecordingDuration: Int = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:405:12: note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
403 | */
404 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
405 | @interface AVCaptureMovieFileOutput : AVCaptureFileOutput
| `- note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
406 | {
407 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift:8:38: error: 'AVCaptureFileOutput' is unavailable in visionOS
6 | extension SwiftCameraKit: AVCaptureFileOutputRecordingDelegate {
7 |
8 | public func fileOutput(_ output: AVCaptureFileOutput, didStartRecordingTo fileURL: URL, from connections: [AVCaptureConnection]) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
9 | // Handle recording started
10 | DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:36:12: note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
34 | */
35 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
36 | @interface AVCaptureFileOutput : AVCaptureOutput
| `- note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
37 | {
38 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift:15:38: error: 'AVCaptureFileOutput' is unavailable in visionOS
13 | }
14 |
15 | public func fileOutput(_ output: AVCaptureFileOutput, didFinishRecordingTo outputFileURL: URL, from connections: [AVCaptureConnection], error: Error?) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
16 | if let error = error {
17 | LogManager.swiftCameraKit.addLog("Error recording video: \(error.localizedDescription)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:36:12: note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
34 | */
35 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
36 | @interface AVCaptureFileOutput : AVCaptureOutput
| `- note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
37 | {
38 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift:6:27: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
4 |
5 | // MARK: - AVCaptureFileOutputRecordingDelegate
6 | extension SwiftCameraKit: AVCaptureFileOutputRecordingDelegate {
| `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
7 |
8 | public func fileOutput(_ output: AVCaptureFileOutput, didStartRecordingTo fileURL: URL, from connections: [AVCaptureConnection]) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:206:11: note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
204 | */
205 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
206 | @protocol AVCaptureFileOutputRecordingDelegate <NSObject>
| `- note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
207 |
208 | @optional
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CameraMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CameraOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/CaptureSessionState.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/FlashMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/MediaMode.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/RecordingVideo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/CameraState/SwiftCameraKitError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Configs/SwiftCameraKitConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraControls.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Controls/SwiftCameraKit+CameraSetup.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+Photo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Photo/SwiftCameraKit+PhotoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Reset.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit+Setup.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Playback.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Video.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+VideoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Extensions/LoggerExtension.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftCameraKit -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCameraKit.build/Debug-xros/SwiftCameraKit-t.build/Objects-normal/arm64/SwiftCameraKit.abi.json
SwiftCompile normal arm64 (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SwiftCameraKit.swift,\ SwiftCameraKit+Playback.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Playback.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/SwiftCameraKit.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCameraKit/Camera/Video/SwiftCameraKit+Playback.swift (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCameraKit+Playback.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-22 03:35:45.950 xcodebuild[785:4834] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftCameraKit (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
SwiftCompile normal arm64 (in target 'SwiftCameraKit' from project 'SwiftCameraKit')
Building workspace SwiftCameraKit with scheme SwiftCameraKit
(3 failures)
BUILD FAILURE 6.4 visionOS