Build Information
Failed to build CameraManager, reference master (660d7b), with Swift 6.4 for visionOS using Xcode 27.0 on 16 Sep 2026 23:30:03 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme CameraManager -destination generic/platform=xrOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/imaginary-cloud/CameraManager.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/imaginary-cloud/CameraManager
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 660d7b8 Update README.md
Cloned https://github.com/imaginary-cloud/CameraManager.git
Revision (git rev-parse @):
660d7b8326f43ab1721620cd4729b3928c8a767b
SUCCESS checkout https://github.com/imaginary-cloud/CameraManager.git at master
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/imaginary-cloud/CameraManager.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
resolved source packages:
{
"dependencies" : [
],
"manifest_display_name" : "CameraManager",
"name" : "CameraManager",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
}
],
"products" : [
{
"name" : "CameraManager",
"targets" : [
"CameraManager"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CameraManager",
"module_type" : "SwiftTarget",
"name" : "CameraManager",
"path" : "Sources",
"product_memberships" : [
"CameraManager"
],
"sources" : [
"CameraManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
{
"project" : {
"configurations" : [
"Debug",
"Release"
],
"name" : "CameraManager",
"schemes" : [
"camera",
"CameraManager"
],
"targets" : [
"camera",
"CameraManager"
]
}
}
{
"workspace" : {
"name" : "CameraManager",
"schemes" : [
"CameraManager"
]
}
}
2026-09-16 19:29:50.291 xcodebuild[662:4217] [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 CameraManager -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 CameraManager -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
CameraManager: /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 'CameraManager-product' in project 'CameraManager'
➜ Explicit dependency on target 'CameraManager' in project 'CameraManager'
Target 'CameraManager' in project 'CameraManager' (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: 721a1c58cef0082c9ae4bf34736f6499
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/721a1c58cef0082c9ae4bf34736f6499.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/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/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/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/CameraManager.build/Debug-xros/CameraManager-t.build/CameraManager.modulemap (in target 'CameraManager' from project 'CameraManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/CameraManager.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/CameraManager.DependencyMetadataFileList (in target 'CameraManager' from project 'CameraManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/CameraManager.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/CameraManager.DependencyStaticMetadataFileList (in target 'CameraManager' from project 'CameraManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/CameraManager.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager_const_extract_protocols.json (in target 'CameraManager' from project 'CameraManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.SwiftConstValuesFileList (in target 'CameraManager' from project 'CameraManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.SwiftFileList (in target 'CameraManager' from project 'CameraManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.LinkFileList (in target 'CameraManager' from project 'CameraManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-OutputFileMap.json (in target 'CameraManager' from project 'CameraManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/CameraManager.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/CameraManager.modulemap (in target 'CameraManager' from project 'CameraManager')
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/CameraManager.build/Debug-xros/CameraManager-t.build/CameraManager.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver CameraManager normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CameraManager' from project 'CameraManager')
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 CameraManager -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager_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/CameraManager.build/Debug-xros/CameraManager-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-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/_SwiftConcurrencyShims-C8XHKSHX96D5YYALNM4W70Z0O.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/ptrcheck-BXA97MNLI4BB0HF5I8MJE403D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-1WBA714DZSVUL5JQDJ08CLKZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_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_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_float-6WKHNW5S40U2QGHXXGETUDIRA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-CI4H5RO9IYFFWQ2COB512Q2S9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-5RGRVV2TZ6WC4WZW5IXF8NQ04.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-425JDMN5HPM3D0UEI8LEHP6NM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-ENTECK156YEWITZRRBTOCE4KR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ExtensionFoundation-E7KNHPOM6BLHXC69S4MS8K7BO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-BPYSMHWI520EQRL2HW519ZY7Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-8OR6T47OOYJA90ZBO3N1USDE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-2GT67HHHHK5CF1V1S31LH0PU2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-AYM0BHR77VKMWZCO2T0XGV2HF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-9ZHN6JKBS40BBA81RQMV8H0IC.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/_Builtin_stdatomic-1VUZPM79PNCAHXVBERD53WRSF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-11B64KJD36B3YOHBR1BBXBJY8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-60P5LVNQO3ESRRM5DCJ05PFNK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-9XXAB17Y6E4BBPQADD61NZ23.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-3XTHY7HWV6RF3KXKYQVHUBUXK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-26TIBFYCEJZVP216ZZAU1X8KN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-692CJ8BG6RE5H04487EJJOVXW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-4U1VXMWIZD80E7PRUQF2G7P9X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/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/XPC-EP5EU7FNGP4VOA3EDM18P1KHO.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/os-1004XEJ3IXOOAU0KL58SM3D0K.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-5MI70N1VLDQSWTX4COWLMSIRO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-45UXYEQRN95KG6BF2CW0QIYK9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-8TH2M8WJIQMET4SADWX0N8372.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreServices-E5J3ISJP36PGDWYO5RAH4PILU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-BFUJ177R223UT2ZI327ZTZY91.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MobileCoreServices-AADI7E3RIPQSOP5W22F0QWXV6.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/ImageIO-5CC6COR9KJYI1UBL7CSHLU2OG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-6F9TY5TEPCCZ1K2KYM4GMEGHD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-1DR4J4YDVDGAYQTZ0FKZ1PU09.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-8IIV1V1FPNAPA4LY1Y23LOM2N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/FileProvider-C9I28SI56F2SEVH1BCWTKGODO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-5FE9U89GVFF9A7X7AGO2R8ENI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Network-EQPZZF3W6BWG89K0PY9NZO3T0.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/Symbols-8G2XC01RPQ5HYIZE6JNUT864I.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-BNGT87TS0GMBFF7TY70HHB69.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-BANTQ3WXXGKZJYC0LLB3MD9K0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-7L19IC4ZH9BPYLVTD8IIFWN9R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-8GQGFVARUE99D8VJX3TINY0VP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-8TBYAKHCX6UC8QQSS7BD8GQK5.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/AVRouting-55P8FRNK50AFZOMMB2LBBOX33.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-1SN37095DAPVJ068LLP9TBDQX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/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/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/VideoToolbox-7I4MDYIPJ4IWU1ZSL4JE3I7M6.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/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
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/PhotosUI-E5WB09E1GRF8YGSFMSVS9LWFB.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ CameraManager (in target 'CameraManager' from project 'CameraManager')
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:138:53: error: 'keyWindow' is unavailable in visionOS
136 | alertController.addAction(UIAlertAction(title: "OK", style: UIAlertAction.Style.default, handler: { (_) -> Void in }))
137 |
138 | if let topController = UIApplication.shared.keyWindow?.rootViewController {
| `- error: 'keyWindow' is unavailable in visionOS
139 | topController.present(alertController, animated: true, completion: nil)
140 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:108:51: note: 'keyWindow' has been explicitly marked unavailable here
106 | - (void)sendEvent:(UIEvent *)event;
107 |
108 | @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos);
| `- note: 'keyWindow' has been explicitly marked unavailable here
109 | @property(nonatomic,readonly) NSArray<__kindof UIWindow *> *windows API_DEPRECATED("Use UIWindowScene.windows on a relevant window scene instead", ios(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
110 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:143:53: error: 'Preset' is unavailable in visionOS
141 | }
142 |
143 | open func canSetPreset(preset: AVCaptureSession.Preset) -> Bool? {
| `- error: 'Preset' is unavailable in visionOS
144 | if let validCaptureSession = captureSession {
145 | return validCaptureSession.canSetSessionPreset(preset)
/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/CameraManager.swift:279:52: error: 'Preset' is unavailable in visionOS
277 |
278 | /// Property to change camera output quality.
279 | open var cameraOutputQuality: AVCaptureSession.Preset = .high {
| `- error: 'Preset' is unavailable in visionOS
280 | didSet {
281 | if cameraIsSetup && cameraOutputQuality != oldValue {
/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/CameraManager.swift:279:62: error: 'high' is unavailable in visionOS
277 |
278 | /// Property to change camera output quality.
279 | open var cameraOutputQuality: AVCaptureSession.Preset = .high {
| `- error: 'high' is unavailable in visionOS
280 | didSet {
281 | if cameraIsSetup && cameraOutputQuality != oldValue {
/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/CameraManager.swift:307:41: error: 'FocusMode' is unavailable in visionOS
305 |
306 | /// Property to set focus mode when tap to focus is used (_focusStart).
307 | open var focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
| `- error: 'FocusMode' is unavailable in visionOS
308 |
309 | /// Property to set exposure mode when tap to focus is used (_focusStart).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1156:28: note: 'FocusMode' has been explicitly marked unavailable here
1154 | Indicates that the device should automatically focus when needed.
1155 | */
1156 | typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
| `- note: 'FocusMode' has been explicitly marked unavailable here
1157 | AVCaptureFocusModeLocked = 0,
1158 | AVCaptureFocusModeAutoFocus = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:310:44: error: 'ExposureMode' is unavailable in visionOS
308 |
309 | /// Property to set exposure mode when tap to focus is used (_focusStart).
310 | open var exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure
| `- error: 'ExposureMode' is unavailable in visionOS
311 |
312 | /// Property to set video stabilisation mode during a video record session
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:313:38: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
311 |
312 | /// Property to set video stabilisation mode during a video record session
313 | open var videoStabilisationMode: AVCaptureVideoStabilizationMode = .auto {
| `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
314 | didSet {
315 | if oldValue != videoStabilisationMode {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
| `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 | /// Indicates that video should not be stabilized.
3301 | AVCaptureVideoStabilizationModeOff = 0,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:322:44: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
320 |
321 | // Property to get the stabilization mode currently active
322 | open var activeVideoStabilisationMode: AVCaptureVideoStabilizationMode {
| `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
323 | if let movieOutput = movieOutput {
324 | for connection in movieOutput.connections {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
| `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 | /// Indicates that video should not be stabilized.
3301 | AVCaptureVideoStabilizationModeOff = 0,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:355:25: error: 'default(for:)' is only available in visionOS 2.1 or newer
109 |
110 | /// Class for handling iDevices custom camera usage
111 | open class CameraManager: NSObject, AVCaptureFileOutputRecordingDelegate, UIGestureRecognizerDelegate {
| `- note: add '@available' attribute to enclosing class
112 | // MARK: - Public properties
113 |
:
353 |
354 | fileprivate lazy var mic: AVCaptureDevice? = {
355 | AVCaptureDevice.default(for: AVMediaType.audio)
| |- error: 'default(for:)' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
356 | }()
357 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:358:39: error: 'AVCaptureStillImageOutput' is unavailable in visionOS
356 | }()
357 |
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
| `- error: 'AVCaptureStillImageOutput' is unavailable in visionOS
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h:29:12: note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
27 | */
28 | API_DEPRECATED("Use AVCapturePhotoOutput instead.", macos(10.7, 10.15), ios(4.0, 10.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos)
29 | @interface AVCaptureStillImageOutput : AVCaptureOutput
| `- note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:359:34: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
357 |
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
361 | fileprivate var library: PHPhotoLibrary?
/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/CameraManager.swift:360:35: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
361 | fileprivate var library: PHPhotoLibrary?
362 |
/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/CameraManager.swift:881:31: error: 'AVCaptureFileOutput' is unavailable in visionOS
879 | // MARK: - AVCaptureFileOutputRecordingDelegate
880 |
881 | public func fileOutput(_: AVCaptureFileOutput, didStartRecordingTo _: URL, from _: [AVCaptureConnection]) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
882 | captureSession?.beginConfiguration()
883 | if flashMode != .off {
/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/CameraManager.swift:890:29: error: 'AVCaptureFileOutput' is unavailable in visionOS
888 | }
889 |
890 | open func fileOutput(_: AVCaptureFileOutput, didFinishRecordingTo outputFileURL: URL, from _: [AVCaptureConnection], error: Error?) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
891 | if let error = error {
892 | _show(NSLocalizedString("Unable to save video to the device", comment: ""), message: 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/CameraManager.swift:1172:52: error: 'ExposureMode' is unavailable in visionOS
1170 | // Available modes:
1171 | // .Locked .AutoExpose .ContinuousAutoExposure .Custom
1172 | func _changeExposureMode(mode: AVCaptureDevice.ExposureMode) {
| `- error: 'ExposureMode' is unavailable in visionOS
1173 | let device: AVCaptureDevice?
1174 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1242:43: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
1240 | }
1241 |
1242 | fileprivate func _getMovieOutput() -> AVCaptureMovieFileOutput {
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
1243 | if movieOutput == nil {
1244 | _createMovieOutput()
/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/CameraManager.swift:1286:48: error: 'AVCaptureStillImageOutput' is unavailable in visionOS
1284 | }
1285 |
1286 | fileprivate func _getStillImageOutput() -> AVCaptureStillImageOutput {
| `- error: 'AVCaptureStillImageOutput' is unavailable in visionOS
1287 | if let stillImageOutput = stillImageOutput, let connection = stillImageOutput.connection(with: AVMediaType.video),
1288 | connection.isActive {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h:29:12: note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
27 | */
28 | API_DEPRECATED("Use AVCapturePhotoOutput instead.", macos(10.7, 10.15), ios(4.0, 10.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos)
29 | @interface AVCaptureStillImageOutput : AVCaptureOutput
| `- note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1336:59: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1334 | }
1335 |
1336 | fileprivate func _currentCaptureVideoOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1337 | if deviceOrientation == .faceDown
1338 | || deviceOrientation == .faceUp
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1354:59: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1352 | }
1353 |
1354 | fileprivate func _currentPreviewVideoOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1355 | let orientation = _currentPreviewDeviceOrientation()
1356 | return _videoOrientation(forDeviceOrientation: orientation)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1366:104: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1364 | }
1365 |
1366 | fileprivate func _videoOrientation(forDeviceOrientation deviceOrientation: UIDeviceOrientation) -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1367 | switch deviceOrientation {
1368 | case .landscapeLeft:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1403:69: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1401 | }
1402 |
1403 | fileprivate func _videoOrientationFromStatusBarOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1404 | var orientation: UIInterfaceOrientation?
1405 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1714:21: error: cannot override 'locationManager' which has been marked unavailable
1712 | }
1713 |
1714 | public func locationManager(_: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) {
| `- error: cannot override 'locationManager' which has been marked unavailable
1715 | if status == .authorizedAlways || status == .authorizedWhenInUse {
1716 | locationManager.startUpdatingLocation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:164:1: note: 'locationManager(_:didChangeAuthorization:)' has been explicitly marked unavailable here
162 | * Invoked when the authorization status changes for this application.
163 | */
164 | - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status API_DEPRECATED_WITH_REPLACEMENT("-locationManagerDidChangeAuthorization:", ios(4.2, 14.0), macos(10.7, 11.0), watchos(1.0, 7.0), tvos(9.0, 14.0)) API_UNAVAILABLE(visionos);
| `- note: 'locationManager(_:didChangeAuthorization:)' has been explicitly marked unavailable here
165 |
166 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1893:90: error: 'Preset' is unavailable in visionOS
1891 | }
1892 |
1893 | fileprivate func _updateCameraQualityMode(_ newCameraOutputQuality: AVCaptureSession.Preset) {
| `- error: 'Preset' is unavailable in visionOS
1894 | if let validCaptureSession = captureSession {
1895 | var sessionPreset = newCameraOutputQuality
/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/CameraManager.swift:111:37: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
109 |
110 | /// Class for handling iDevices custom camera usage
111 | open class CameraManager: NSObject, AVCaptureFileOutputRecordingDelegate, UIGestureRecognizerDelegate {
| `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
112 | // MARK: - Public properties
113 |
/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
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:2124:35: error: 'AVCaptureMetadataOutput' is unavailable in visionOS
2122 | Called when a QR code is detected.
2123 | */
2124 | public func metadataOutput(_: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from _: AVCaptureConnection) {
| `- error: 'AVCaptureMetadataOutput' is unavailable in visionOS
2125 | // Check if there is a registered handler.
2126 | guard let handler = qrCodeDetectionHandler
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:2124:88: error: 'AVMetadataObject' is unavailable in visionOS
2122 | Called when a QR code is detected.
2123 | */
2124 | public func metadataOutput(_: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from _: AVCaptureConnection) {
| `- error: 'AVMetadataObject' is unavailable in visionOS
2125 | // Check if there is a registered handler.
2126 | guard let handler = qrCodeDetectionHandler
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:2120:26: error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in visionOS
2118 | }
2119 |
2120 | extension CameraManager: AVCaptureMetadataOutputObjectsDelegate {
| `- error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in visionOS
2121 | /**
2122 | Called when a QR code is detected.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:126:11: note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
124 | */
125 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
126 | @protocol AVCaptureMetadataOutputObjectsDelegate <NSObject>
| `- note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
127 |
128 | @optional
Failed frontend command:
SwiftCompile normal arm64 (in target 'CameraManager' from project 'CameraManager')
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/CameraManager.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 -swift-module-cross-import PhotosUI /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/PhotosUI.framework/Modules/PhotosUI.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import PhotosUI /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/PhotosUI.framework/Modules/PhotosUI.swiftcrossimport/WidgetKit.swiftoverlay -swift-module-cross-import PhotosUI /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Modules/PhotosUI.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import PhotosUI /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Modules/PhotosUI.swiftcrossimport/WidgetKit.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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-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/CameraManager.build/Debug-xros/CameraManager-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CameraManager -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager_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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.abi.json
SwiftCompile normal arm64 Compiling\ CameraManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift (in target 'CameraManager' from project 'CameraManager')
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:138:53: error: 'keyWindow' is unavailable in visionOS
136 | alertController.addAction(UIAlertAction(title: "OK", style: UIAlertAction.Style.default, handler: { (_) -> Void in }))
137 |
138 | if let topController = UIApplication.shared.keyWindow?.rootViewController {
| `- error: 'keyWindow' is unavailable in visionOS
139 | topController.present(alertController, animated: true, completion: nil)
140 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:108:51: note: 'keyWindow' has been explicitly marked unavailable here
106 | - (void)sendEvent:(UIEvent *)event;
107 |
108 | @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos);
| `- note: 'keyWindow' has been explicitly marked unavailable here
109 | @property(nonatomic,readonly) NSArray<__kindof UIWindow *> *windows API_DEPRECATED("Use UIWindowScene.windows on a relevant window scene instead", ios(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
110 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:143:53: error: 'Preset' is unavailable in visionOS
141 | }
142 |
143 | open func canSetPreset(preset: AVCaptureSession.Preset) -> Bool? {
| `- error: 'Preset' is unavailable in visionOS
144 | if let validCaptureSession = captureSession {
145 | return validCaptureSession.canSetSessionPreset(preset)
/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/CameraManager.swift:279:52: error: 'Preset' is unavailable in visionOS
277 |
278 | /// Property to change camera output quality.
279 | open var cameraOutputQuality: AVCaptureSession.Preset = .high {
| `- error: 'Preset' is unavailable in visionOS
280 | didSet {
281 | if cameraIsSetup && cameraOutputQuality != oldValue {
/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/CameraManager.swift:279:62: error: 'high' is unavailable in visionOS
277 |
278 | /// Property to change camera output quality.
279 | open var cameraOutputQuality: AVCaptureSession.Preset = .high {
| `- error: 'high' is unavailable in visionOS
280 | didSet {
281 | if cameraIsSetup && cameraOutputQuality != oldValue {
/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/CameraManager.swift:307:41: error: 'FocusMode' is unavailable in visionOS
305 |
306 | /// Property to set focus mode when tap to focus is used (_focusStart).
307 | open var focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
| `- error: 'FocusMode' is unavailable in visionOS
308 |
309 | /// Property to set exposure mode when tap to focus is used (_focusStart).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1156:28: note: 'FocusMode' has been explicitly marked unavailable here
1154 | Indicates that the device should automatically focus when needed.
1155 | */
1156 | typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
| `- note: 'FocusMode' has been explicitly marked unavailable here
1157 | AVCaptureFocusModeLocked = 0,
1158 | AVCaptureFocusModeAutoFocus = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:310:44: error: 'ExposureMode' is unavailable in visionOS
308 |
309 | /// Property to set exposure mode when tap to focus is used (_focusStart).
310 | open var exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure
| `- error: 'ExposureMode' is unavailable in visionOS
311 |
312 | /// Property to set video stabilisation mode during a video record session
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:313:38: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
311 |
312 | /// Property to set video stabilisation mode during a video record session
313 | open var videoStabilisationMode: AVCaptureVideoStabilizationMode = .auto {
| `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
314 | didSet {
315 | if oldValue != videoStabilisationMode {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
| `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 | /// Indicates that video should not be stabilized.
3301 | AVCaptureVideoStabilizationModeOff = 0,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:322:44: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
320 |
321 | // Property to get the stabilization mode currently active
322 | open var activeVideoStabilisationMode: AVCaptureVideoStabilizationMode {
| `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
323 | if let movieOutput = movieOutput {
324 | for connection in movieOutput.connections {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
| `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 | /// Indicates that video should not be stabilized.
3301 | AVCaptureVideoStabilizationModeOff = 0,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:355:25: error: 'default(for:)' is only available in visionOS 2.1 or newer
109 |
110 | /// Class for handling iDevices custom camera usage
111 | open class CameraManager: NSObject, AVCaptureFileOutputRecordingDelegate, UIGestureRecognizerDelegate {
| `- note: add '@available' attribute to enclosing class
112 | // MARK: - Public properties
113 |
:
353 |
354 | fileprivate lazy var mic: AVCaptureDevice? = {
355 | AVCaptureDevice.default(for: AVMediaType.audio)
| |- error: 'default(for:)' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
356 | }()
357 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:358:39: error: 'AVCaptureStillImageOutput' is unavailable in visionOS
356 | }()
357 |
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
| `- error: 'AVCaptureStillImageOutput' is unavailable in visionOS
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h:29:12: note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
27 | */
28 | API_DEPRECATED("Use AVCapturePhotoOutput instead.", macos(10.7, 10.15), ios(4.0, 10.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos)
29 | @interface AVCaptureStillImageOutput : AVCaptureOutput
| `- note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:359:34: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
357 |
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
361 | fileprivate var library: PHPhotoLibrary?
/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/CameraManager.swift:360:35: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
361 | fileprivate var library: PHPhotoLibrary?
362 |
/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/CameraManager.swift:881:31: error: 'AVCaptureFileOutput' is unavailable in visionOS
879 | // MARK: - AVCaptureFileOutputRecordingDelegate
880 |
881 | public func fileOutput(_: AVCaptureFileOutput, didStartRecordingTo _: URL, from _: [AVCaptureConnection]) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
882 | captureSession?.beginConfiguration()
883 | if flashMode != .off {
/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/CameraManager.swift:890:29: error: 'AVCaptureFileOutput' is unavailable in visionOS
888 | }
889 |
890 | open func fileOutput(_: AVCaptureFileOutput, didFinishRecordingTo outputFileURL: URL, from _: [AVCaptureConnection], error: Error?) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
891 | if let error = error {
892 | _show(NSLocalizedString("Unable to save video to the device", comment: ""), message: 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/CameraManager.swift:1172:52: error: 'ExposureMode' is unavailable in visionOS
1170 | // Available modes:
1171 | // .Locked .AutoExpose .ContinuousAutoExposure .Custom
1172 | func _changeExposureMode(mode: AVCaptureDevice.ExposureMode) {
| `- error: 'ExposureMode' is unavailable in visionOS
1173 | let device: AVCaptureDevice?
1174 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1242:43: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
1240 | }
1241 |
1242 | fileprivate func _getMovieOutput() -> AVCaptureMovieFileOutput {
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
1243 | if movieOutput == nil {
1244 | _createMovieOutput()
/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/CameraManager.swift:1286:48: error: 'AVCaptureStillImageOutput' is unavailable in visionOS
1284 | }
1285 |
1286 | fileprivate func _getStillImageOutput() -> AVCaptureStillImageOutput {
| `- error: 'AVCaptureStillImageOutput' is unavailable in visionOS
1287 | if let stillImageOutput = stillImageOutput, let connection = stillImageOutput.connection(with: AVMediaType.video),
1288 | connection.isActive {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h:29:12: note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
27 | */
28 | API_DEPRECATED("Use AVCapturePhotoOutput instead.", macos(10.7, 10.15), ios(4.0, 10.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos)
29 | @interface AVCaptureStillImageOutput : AVCaptureOutput
| `- note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1336:59: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1334 | }
1335 |
1336 | fileprivate func _currentCaptureVideoOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1337 | if deviceOrientation == .faceDown
1338 | || deviceOrientation == .faceUp
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1354:59: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1352 | }
1353 |
1354 | fileprivate func _currentPreviewVideoOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1355 | let orientation = _currentPreviewDeviceOrientation()
1356 | return _videoOrientation(forDeviceOrientation: orientation)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1366:104: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1364 | }
1365 |
1366 | fileprivate func _videoOrientation(forDeviceOrientation deviceOrientation: UIDeviceOrientation) -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1367 | switch deviceOrientation {
1368 | case .landscapeLeft:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1403:69: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1401 | }
1402 |
1403 | fileprivate func _videoOrientationFromStatusBarOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1404 | var orientation: UIInterfaceOrientation?
1405 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1714:21: error: cannot override 'locationManager' which has been marked unavailable
1712 | }
1713 |
1714 | public func locationManager(_: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) {
| `- error: cannot override 'locationManager' which has been marked unavailable
1715 | if status == .authorizedAlways || status == .authorizedWhenInUse {
1716 | locationManager.startUpdatingLocation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:164:1: note: 'locationManager(_:didChangeAuthorization:)' has been explicitly marked unavailable here
162 | * Invoked when the authorization status changes for this application.
163 | */
164 | - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status API_DEPRECATED_WITH_REPLACEMENT("-locationManagerDidChangeAuthorization:", ios(4.2, 14.0), macos(10.7, 11.0), watchos(1.0, 7.0), tvos(9.0, 14.0)) API_UNAVAILABLE(visionos);
| `- note: 'locationManager(_:didChangeAuthorization:)' has been explicitly marked unavailable here
165 |
166 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1893:90: error: 'Preset' is unavailable in visionOS
1891 | }
1892 |
1893 | fileprivate func _updateCameraQualityMode(_ newCameraOutputQuality: AVCaptureSession.Preset) {
| `- error: 'Preset' is unavailable in visionOS
1894 | if let validCaptureSession = captureSession {
1895 | var sessionPreset = newCameraOutputQuality
/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/CameraManager.swift:111:37: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
109 |
110 | /// Class for handling iDevices custom camera usage
111 | open class CameraManager: NSObject, AVCaptureFileOutputRecordingDelegate, UIGestureRecognizerDelegate {
| `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
112 | // MARK: - Public properties
113 |
/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
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:2124:35: error: 'AVCaptureMetadataOutput' is unavailable in visionOS
2122 | Called when a QR code is detected.
2123 | */
2124 | public func metadataOutput(_: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from _: AVCaptureConnection) {
| `- error: 'AVCaptureMetadataOutput' is unavailable in visionOS
2125 | // Check if there is a registered handler.
2126 | guard let handler = qrCodeDetectionHandler
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift (in target 'CameraManager' from project 'CameraManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:2124:88: error: 'AVMetadataObject' is unavailable in visionOS
2122 | Called when a QR code is detected.
2123 | */
2124 | public func metadataOutput(_: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from _: AVCaptureConnection) {
| `- error: 'AVMetadataObject' is unavailable in visionOS
2125 | // Check if there is a registered handler.
2126 | guard let handler = qrCodeDetectionHandler
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-16 19:29:51.809 xcodebuild[671:4406] [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 'CameraManager' from project 'CameraManager')
SwiftEmitModule normal arm64 Emitting\ module\ for\ CameraManager (in target 'CameraManager' from project 'CameraManager')
Building workspace CameraManager with scheme CameraManager
(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:
CameraManager: /Users/admin/builder/spi-builder-workspace
resolved source packages: CameraManager
2026-09-16 19:29:59.305 xcodebuild[773:4822] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "CameraManager",
"name" : "CameraManager",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
}
],
"products" : [
{
"name" : "CameraManager",
"targets" : [
"CameraManager"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CameraManager",
"module_type" : "SwiftTarget",
"name" : "CameraManager",
"path" : "Sources",
"product_memberships" : [
"CameraManager"
],
"sources" : [
"CameraManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
{
"workspace" : {
"name" : "CameraManager",
"schemes" : [
"CameraManager"
]
}
}
2026-09-16 19:30:00.675 xcodebuild[781:4890] [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 CameraManager -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 CameraManager -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
CameraManager: /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 'CameraManager-product' in project 'CameraManager'
➜ Explicit dependency on target 'CameraManager' in project 'CameraManager'
Target 'CameraManager' in project 'CameraManager' (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 CameraManager normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CameraManager' from project 'CameraManager')
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 CameraManager -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager_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/CameraManager.build/Debug-xros/CameraManager-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ CameraManager (in target 'CameraManager' from project 'CameraManager')
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:138:53: error: 'keyWindow' is unavailable in visionOS
136 | alertController.addAction(UIAlertAction(title: "OK", style: UIAlertAction.Style.default, handler: { (_) -> Void in }))
137 |
138 | if let topController = UIApplication.shared.keyWindow?.rootViewController {
| `- error: 'keyWindow' is unavailable in visionOS
139 | topController.present(alertController, animated: true, completion: nil)
140 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:108:51: note: 'keyWindow' has been explicitly marked unavailable here
106 | - (void)sendEvent:(UIEvent *)event;
107 |
108 | @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos);
| `- note: 'keyWindow' has been explicitly marked unavailable here
109 | @property(nonatomic,readonly) NSArray<__kindof UIWindow *> *windows API_DEPRECATED("Use UIWindowScene.windows on a relevant window scene instead", ios(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
110 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:143:53: error: 'Preset' is unavailable in visionOS
141 | }
142 |
143 | open func canSetPreset(preset: AVCaptureSession.Preset) -> Bool? {
| `- error: 'Preset' is unavailable in visionOS
144 | if let validCaptureSession = captureSession {
145 | return validCaptureSession.canSetSessionPreset(preset)
/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/CameraManager.swift:279:52: error: 'Preset' is unavailable in visionOS
277 |
278 | /// Property to change camera output quality.
279 | open var cameraOutputQuality: AVCaptureSession.Preset = .high {
| `- error: 'Preset' is unavailable in visionOS
280 | didSet {
281 | if cameraIsSetup && cameraOutputQuality != oldValue {
/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/CameraManager.swift:279:62: error: 'high' is unavailable in visionOS
277 |
278 | /// Property to change camera output quality.
279 | open var cameraOutputQuality: AVCaptureSession.Preset = .high {
| `- error: 'high' is unavailable in visionOS
280 | didSet {
281 | if cameraIsSetup && cameraOutputQuality != oldValue {
/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/CameraManager.swift:307:41: error: 'FocusMode' is unavailable in visionOS
305 |
306 | /// Property to set focus mode when tap to focus is used (_focusStart).
307 | open var focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
| `- error: 'FocusMode' is unavailable in visionOS
308 |
309 | /// Property to set exposure mode when tap to focus is used (_focusStart).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1156:28: note: 'FocusMode' has been explicitly marked unavailable here
1154 | Indicates that the device should automatically focus when needed.
1155 | */
1156 | typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
| `- note: 'FocusMode' has been explicitly marked unavailable here
1157 | AVCaptureFocusModeLocked = 0,
1158 | AVCaptureFocusModeAutoFocus = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:310:44: error: 'ExposureMode' is unavailable in visionOS
308 |
309 | /// Property to set exposure mode when tap to focus is used (_focusStart).
310 | open var exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure
| `- error: 'ExposureMode' is unavailable in visionOS
311 |
312 | /// Property to set video stabilisation mode during a video record session
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:313:38: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
311 |
312 | /// Property to set video stabilisation mode during a video record session
313 | open var videoStabilisationMode: AVCaptureVideoStabilizationMode = .auto {
| `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
314 | didSet {
315 | if oldValue != videoStabilisationMode {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
| `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 | /// Indicates that video should not be stabilized.
3301 | AVCaptureVideoStabilizationModeOff = 0,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:322:44: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
320 |
321 | // Property to get the stabilization mode currently active
322 | open var activeVideoStabilisationMode: AVCaptureVideoStabilizationMode {
| `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
323 | if let movieOutput = movieOutput {
324 | for connection in movieOutput.connections {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
| `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 | /// Indicates that video should not be stabilized.
3301 | AVCaptureVideoStabilizationModeOff = 0,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:355:25: error: 'default(for:)' is only available in visionOS 2.1 or newer
109 |
110 | /// Class for handling iDevices custom camera usage
111 | open class CameraManager: NSObject, AVCaptureFileOutputRecordingDelegate, UIGestureRecognizerDelegate {
| `- note: add '@available' attribute to enclosing class
112 | // MARK: - Public properties
113 |
:
353 |
354 | fileprivate lazy var mic: AVCaptureDevice? = {
355 | AVCaptureDevice.default(for: AVMediaType.audio)
| |- error: 'default(for:)' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
356 | }()
357 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:358:39: error: 'AVCaptureStillImageOutput' is unavailable in visionOS
356 | }()
357 |
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
| `- error: 'AVCaptureStillImageOutput' is unavailable in visionOS
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h:29:12: note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
27 | */
28 | API_DEPRECATED("Use AVCapturePhotoOutput instead.", macos(10.7, 10.15), ios(4.0, 10.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos)
29 | @interface AVCaptureStillImageOutput : AVCaptureOutput
| `- note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:359:34: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
357 |
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
361 | fileprivate var library: PHPhotoLibrary?
/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/CameraManager.swift:360:35: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
361 | fileprivate var library: PHPhotoLibrary?
362 |
/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/CameraManager.swift:881:31: error: 'AVCaptureFileOutput' is unavailable in visionOS
879 | // MARK: - AVCaptureFileOutputRecordingDelegate
880 |
881 | public func fileOutput(_: AVCaptureFileOutput, didStartRecordingTo _: URL, from _: [AVCaptureConnection]) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
882 | captureSession?.beginConfiguration()
883 | if flashMode != .off {
/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/CameraManager.swift:890:29: error: 'AVCaptureFileOutput' is unavailable in visionOS
888 | }
889 |
890 | open func fileOutput(_: AVCaptureFileOutput, didFinishRecordingTo outputFileURL: URL, from _: [AVCaptureConnection], error: Error?) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
891 | if let error = error {
892 | _show(NSLocalizedString("Unable to save video to the device", comment: ""), message: 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/CameraManager.swift:1172:52: error: 'ExposureMode' is unavailable in visionOS
1170 | // Available modes:
1171 | // .Locked .AutoExpose .ContinuousAutoExposure .Custom
1172 | func _changeExposureMode(mode: AVCaptureDevice.ExposureMode) {
| `- error: 'ExposureMode' is unavailable in visionOS
1173 | let device: AVCaptureDevice?
1174 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1242:43: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
1240 | }
1241 |
1242 | fileprivate func _getMovieOutput() -> AVCaptureMovieFileOutput {
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
1243 | if movieOutput == nil {
1244 | _createMovieOutput()
/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/CameraManager.swift:1286:48: error: 'AVCaptureStillImageOutput' is unavailable in visionOS
1284 | }
1285 |
1286 | fileprivate func _getStillImageOutput() -> AVCaptureStillImageOutput {
| `- error: 'AVCaptureStillImageOutput' is unavailable in visionOS
1287 | if let stillImageOutput = stillImageOutput, let connection = stillImageOutput.connection(with: AVMediaType.video),
1288 | connection.isActive {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h:29:12: note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
27 | */
28 | API_DEPRECATED("Use AVCapturePhotoOutput instead.", macos(10.7, 10.15), ios(4.0, 10.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos)
29 | @interface AVCaptureStillImageOutput : AVCaptureOutput
| `- note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1336:59: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1334 | }
1335 |
1336 | fileprivate func _currentCaptureVideoOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1337 | if deviceOrientation == .faceDown
1338 | || deviceOrientation == .faceUp
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1354:59: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1352 | }
1353 |
1354 | fileprivate func _currentPreviewVideoOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1355 | let orientation = _currentPreviewDeviceOrientation()
1356 | return _videoOrientation(forDeviceOrientation: orientation)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1366:104: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1364 | }
1365 |
1366 | fileprivate func _videoOrientation(forDeviceOrientation deviceOrientation: UIDeviceOrientation) -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1367 | switch deviceOrientation {
1368 | case .landscapeLeft:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1403:69: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1401 | }
1402 |
1403 | fileprivate func _videoOrientationFromStatusBarOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1404 | var orientation: UIInterfaceOrientation?
1405 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1714:21: error: cannot override 'locationManager' which has been marked unavailable
1712 | }
1713 |
1714 | public func locationManager(_: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) {
| `- error: cannot override 'locationManager' which has been marked unavailable
1715 | if status == .authorizedAlways || status == .authorizedWhenInUse {
1716 | locationManager.startUpdatingLocation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:164:1: note: 'locationManager(_:didChangeAuthorization:)' has been explicitly marked unavailable here
162 | * Invoked when the authorization status changes for this application.
163 | */
164 | - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status API_DEPRECATED_WITH_REPLACEMENT("-locationManagerDidChangeAuthorization:", ios(4.2, 14.0), macos(10.7, 11.0), watchos(1.0, 7.0), tvos(9.0, 14.0)) API_UNAVAILABLE(visionos);
| `- note: 'locationManager(_:didChangeAuthorization:)' has been explicitly marked unavailable here
165 |
166 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1893:90: error: 'Preset' is unavailable in visionOS
1891 | }
1892 |
1893 | fileprivate func _updateCameraQualityMode(_ newCameraOutputQuality: AVCaptureSession.Preset) {
| `- error: 'Preset' is unavailable in visionOS
1894 | if let validCaptureSession = captureSession {
1895 | var sessionPreset = newCameraOutputQuality
/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/CameraManager.swift:111:37: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
109 |
110 | /// Class for handling iDevices custom camera usage
111 | open class CameraManager: NSObject, AVCaptureFileOutputRecordingDelegate, UIGestureRecognizerDelegate {
| `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
112 | // MARK: - Public properties
113 |
/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
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:2124:35: error: 'AVCaptureMetadataOutput' is unavailable in visionOS
2122 | Called when a QR code is detected.
2123 | */
2124 | public func metadataOutput(_: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from _: AVCaptureConnection) {
| `- error: 'AVCaptureMetadataOutput' is unavailable in visionOS
2125 | // Check if there is a registered handler.
2126 | guard let handler = qrCodeDetectionHandler
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:2124:88: error: 'AVMetadataObject' is unavailable in visionOS
2122 | Called when a QR code is detected.
2123 | */
2124 | public func metadataOutput(_: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from _: AVCaptureConnection) {
| `- error: 'AVMetadataObject' is unavailable in visionOS
2125 | // Check if there is a registered handler.
2126 | guard let handler = qrCodeDetectionHandler
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:2120:26: error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in visionOS
2118 | }
2119 |
2120 | extension CameraManager: AVCaptureMetadataOutputObjectsDelegate {
| `- error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in visionOS
2121 | /**
2122 | Called when a QR code is detected.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:126:11: note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
124 | */
125 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
126 | @protocol AVCaptureMetadataOutputObjectsDelegate <NSObject>
| `- note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
127 |
128 | @optional
Failed frontend command:
SwiftCompile normal arm64 (in target 'CameraManager' from project 'CameraManager')
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/CameraManager.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 -swift-module-cross-import PhotosUI /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/PhotosUI.framework/Modules/PhotosUI.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import PhotosUI /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/PhotosUI.framework/Modules/PhotosUI.swiftcrossimport/WidgetKit.swiftoverlay -swift-module-cross-import PhotosUI /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Modules/PhotosUI.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import PhotosUI /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Modules/PhotosUI.swiftcrossimport/WidgetKit.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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-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/CameraManager.build/Debug-xros/CameraManager-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CameraManager -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager_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/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraManager.build/Debug-xros/CameraManager-t.build/Objects-normal/arm64/CameraManager.abi.json
SwiftCompile normal arm64 Compiling\ CameraManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift (in target 'CameraManager' from project 'CameraManager')
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:138:53: error: 'keyWindow' is unavailable in visionOS
136 | alertController.addAction(UIAlertAction(title: "OK", style: UIAlertAction.Style.default, handler: { (_) -> Void in }))
137 |
138 | if let topController = UIApplication.shared.keyWindow?.rootViewController {
| `- error: 'keyWindow' is unavailable in visionOS
139 | topController.present(alertController, animated: true, completion: nil)
140 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:108:51: note: 'keyWindow' has been explicitly marked unavailable here
106 | - (void)sendEvent:(UIEvent *)event;
107 |
108 | @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos);
| `- note: 'keyWindow' has been explicitly marked unavailable here
109 | @property(nonatomic,readonly) NSArray<__kindof UIWindow *> *windows API_DEPRECATED("Use UIWindowScene.windows on a relevant window scene instead", ios(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
110 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:143:53: error: 'Preset' is unavailable in visionOS
141 | }
142 |
143 | open func canSetPreset(preset: AVCaptureSession.Preset) -> Bool? {
| `- error: 'Preset' is unavailable in visionOS
144 | if let validCaptureSession = captureSession {
145 | return validCaptureSession.canSetSessionPreset(preset)
/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/CameraManager.swift:279:52: error: 'Preset' is unavailable in visionOS
277 |
278 | /// Property to change camera output quality.
279 | open var cameraOutputQuality: AVCaptureSession.Preset = .high {
| `- error: 'Preset' is unavailable in visionOS
280 | didSet {
281 | if cameraIsSetup && cameraOutputQuality != oldValue {
/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/CameraManager.swift:279:62: error: 'high' is unavailable in visionOS
277 |
278 | /// Property to change camera output quality.
279 | open var cameraOutputQuality: AVCaptureSession.Preset = .high {
| `- error: 'high' is unavailable in visionOS
280 | didSet {
281 | if cameraIsSetup && cameraOutputQuality != oldValue {
/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/CameraManager.swift:307:41: error: 'FocusMode' is unavailable in visionOS
305 |
306 | /// Property to set focus mode when tap to focus is used (_focusStart).
307 | open var focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
| `- error: 'FocusMode' is unavailable in visionOS
308 |
309 | /// Property to set exposure mode when tap to focus is used (_focusStart).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1156:28: note: 'FocusMode' has been explicitly marked unavailable here
1154 | Indicates that the device should automatically focus when needed.
1155 | */
1156 | typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
| `- note: 'FocusMode' has been explicitly marked unavailable here
1157 | AVCaptureFocusModeLocked = 0,
1158 | AVCaptureFocusModeAutoFocus = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:310:44: error: 'ExposureMode' is unavailable in visionOS
308 |
309 | /// Property to set exposure mode when tap to focus is used (_focusStart).
310 | open var exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure
| `- error: 'ExposureMode' is unavailable in visionOS
311 |
312 | /// Property to set video stabilisation mode during a video record session
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:313:38: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
311 |
312 | /// Property to set video stabilisation mode during a video record session
313 | open var videoStabilisationMode: AVCaptureVideoStabilizationMode = .auto {
| `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
314 | didSet {
315 | if oldValue != videoStabilisationMode {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
| `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 | /// Indicates that video should not be stabilized.
3301 | AVCaptureVideoStabilizationModeOff = 0,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:322:44: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
320 |
321 | // Property to get the stabilization mode currently active
322 | open var activeVideoStabilisationMode: AVCaptureVideoStabilizationMode {
| `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
323 | if let movieOutput = movieOutput {
324 | for connection in movieOutput.connections {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
| `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 | /// Indicates that video should not be stabilized.
3301 | AVCaptureVideoStabilizationModeOff = 0,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:355:25: error: 'default(for:)' is only available in visionOS 2.1 or newer
109 |
110 | /// Class for handling iDevices custom camera usage
111 | open class CameraManager: NSObject, AVCaptureFileOutputRecordingDelegate, UIGestureRecognizerDelegate {
| `- note: add '@available' attribute to enclosing class
112 | // MARK: - Public properties
113 |
:
353 |
354 | fileprivate lazy var mic: AVCaptureDevice? = {
355 | AVCaptureDevice.default(for: AVMediaType.audio)
| |- error: 'default(for:)' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
356 | }()
357 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:358:39: error: 'AVCaptureStillImageOutput' is unavailable in visionOS
356 | }()
357 |
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
| `- error: 'AVCaptureStillImageOutput' is unavailable in visionOS
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h:29:12: note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
27 | */
28 | API_DEPRECATED("Use AVCapturePhotoOutput instead.", macos(10.7, 10.15), ios(4.0, 10.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos)
29 | @interface AVCaptureStillImageOutput : AVCaptureOutput
| `- note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:359:34: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
357 |
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
361 | fileprivate var library: PHPhotoLibrary?
/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/CameraManager.swift:360:35: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
358 | fileprivate var stillImageOutput: AVCaptureStillImageOutput?
359 | fileprivate var movieOutput: AVCaptureMovieFileOutput?
360 | fileprivate var previewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
361 | fileprivate var library: PHPhotoLibrary?
362 |
/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/CameraManager.swift:881:31: error: 'AVCaptureFileOutput' is unavailable in visionOS
879 | // MARK: - AVCaptureFileOutputRecordingDelegate
880 |
881 | public func fileOutput(_: AVCaptureFileOutput, didStartRecordingTo _: URL, from _: [AVCaptureConnection]) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
882 | captureSession?.beginConfiguration()
883 | if flashMode != .off {
/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/CameraManager.swift:890:29: error: 'AVCaptureFileOutput' is unavailable in visionOS
888 | }
889 |
890 | open func fileOutput(_: AVCaptureFileOutput, didFinishRecordingTo outputFileURL: URL, from _: [AVCaptureConnection], error: Error?) {
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
891 | if let error = error {
892 | _show(NSLocalizedString("Unable to save video to the device", comment: ""), message: 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/CameraManager.swift:1172:52: error: 'ExposureMode' is unavailable in visionOS
1170 | // Available modes:
1171 | // .Locked .AutoExpose .ContinuousAutoExposure .Custom
1172 | func _changeExposureMode(mode: AVCaptureDevice.ExposureMode) {
| `- error: 'ExposureMode' is unavailable in visionOS
1173 | let device: AVCaptureDevice?
1174 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1242:43: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
1240 | }
1241 |
1242 | fileprivate func _getMovieOutput() -> AVCaptureMovieFileOutput {
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
1243 | if movieOutput == nil {
1244 | _createMovieOutput()
/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/CameraManager.swift:1286:48: error: 'AVCaptureStillImageOutput' is unavailable in visionOS
1284 | }
1285 |
1286 | fileprivate func _getStillImageOutput() -> AVCaptureStillImageOutput {
| `- error: 'AVCaptureStillImageOutput' is unavailable in visionOS
1287 | if let stillImageOutput = stillImageOutput, let connection = stillImageOutput.connection(with: AVMediaType.video),
1288 | connection.isActive {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h:29:12: note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
27 | */
28 | API_DEPRECATED("Use AVCapturePhotoOutput instead.", macos(10.7, 10.15), ios(4.0, 10.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos)
29 | @interface AVCaptureStillImageOutput : AVCaptureOutput
| `- note: 'AVCaptureStillImageOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1336:59: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1334 | }
1335 |
1336 | fileprivate func _currentCaptureVideoOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1337 | if deviceOrientation == .faceDown
1338 | || deviceOrientation == .faceUp
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1354:59: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1352 | }
1353 |
1354 | fileprivate func _currentPreviewVideoOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1355 | let orientation = _currentPreviewDeviceOrientation()
1356 | return _videoOrientation(forDeviceOrientation: orientation)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1366:104: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1364 | }
1365 |
1366 | fileprivate func _videoOrientation(forDeviceOrientation deviceOrientation: UIDeviceOrientation) -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1367 | switch deviceOrientation {
1368 | case .landscapeLeft:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1403:69: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1401 | }
1402 |
1403 | fileprivate func _videoOrientationFromStatusBarOrientation() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
1404 | var orientation: UIInterfaceOrientation?
1405 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1714:21: error: cannot override 'locationManager' which has been marked unavailable
1712 | }
1713 |
1714 | public func locationManager(_: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) {
| `- error: cannot override 'locationManager' which has been marked unavailable
1715 | if status == .authorizedAlways || status == .authorizedWhenInUse {
1716 | locationManager.startUpdatingLocation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:164:1: note: 'locationManager(_:didChangeAuthorization:)' has been explicitly marked unavailable here
162 | * Invoked when the authorization status changes for this application.
163 | */
164 | - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status API_DEPRECATED_WITH_REPLACEMENT("-locationManagerDidChangeAuthorization:", ios(4.2, 14.0), macos(10.7, 11.0), watchos(1.0, 7.0), tvos(9.0, 14.0)) API_UNAVAILABLE(visionos);
| `- note: 'locationManager(_:didChangeAuthorization:)' has been explicitly marked unavailable here
165 |
166 | /*
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:1893:90: error: 'Preset' is unavailable in visionOS
1891 | }
1892 |
1893 | fileprivate func _updateCameraQualityMode(_ newCameraOutputQuality: AVCaptureSession.Preset) {
| `- error: 'Preset' is unavailable in visionOS
1894 | if let validCaptureSession = captureSession {
1895 | var sessionPreset = newCameraOutputQuality
/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/CameraManager.swift:111:37: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
109 |
110 | /// Class for handling iDevices custom camera usage
111 | open class CameraManager: NSObject, AVCaptureFileOutputRecordingDelegate, UIGestureRecognizerDelegate {
| `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
112 | // MARK: - Public properties
113 |
/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
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:2124:35: error: 'AVCaptureMetadataOutput' is unavailable in visionOS
2122 | Called when a QR code is detected.
2123 | */
2124 | public func metadataOutput(_: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from _: AVCaptureConnection) {
| `- error: 'AVCaptureMetadataOutput' is unavailable in visionOS
2125 | // Check if there is a registered handler.
2126 | guard let handler = qrCodeDetectionHandler
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift (in target 'CameraManager' from project 'CameraManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraManager.swift:2124:88: error: 'AVMetadataObject' is unavailable in visionOS
2122 | Called when a QR code is detected.
2123 | */
2124 | public func metadataOutput(_: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from _: AVCaptureConnection) {
| `- error: 'AVMetadataObject' is unavailable in visionOS
2125 | // Check if there is a registered handler.
2126 | guard let handler = qrCodeDetectionHandler
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
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-16 19:30:01.712 xcodebuild[782:4919] [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 'CameraManager' from project 'CameraManager')
SwiftEmitModule normal arm64 Emitting\ module\ for\ CameraManager (in target 'CameraManager' from project 'CameraManager')
Building workspace CameraManager with scheme CameraManager
(3 failures)
BUILD FAILURE 6.4 visionOS