The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Camera-SwiftUI, reference 0.5.0 (a83ad0), with Swift 6.4 for visionOS using Xcode 27.0 on 19 Sep 2026 21:08:04 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 Camera-SwiftUI -destination generic/platform=xrOS

Build Log

WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Camera-SwiftUI.modulemap (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Camera-SwiftUI.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Camera-SwiftUI.DependencyStaticMetadataFileList (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Camera-SwiftUI.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI.SwiftConstValuesFileList (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI.LinkFileList (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-OutputFileMap.json (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/Camera-SwiftUI.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Camera-SwiftUI.modulemap (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Camera-SwiftUI.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver Camera-SwiftUI normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    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 Camera_SwiftUI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI.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 -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI-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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI_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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-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/_AvailabilityInternal-1Q8IQP6M38UWSGZ95UCEY2M44.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-46GOQP8J1QTHLYQSJW81T8UZ3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-BXA97MNLI4BB0HF5I8MJE403D.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/_Builtin_stdbool-5BU2ADS7JXQMYENKQHW9X8XOU.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/ShaderGraph-AW1O397P711WTY8KSK8LZX9YA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-CI4H5RO9IYFFWQ2COB512Q2S9.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_float-6WKHNW5S40U2QGHXXGETUDIRA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-5RGRVV2TZ6WC4WZW5IXF8NQ04.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ExtensionFoundation-E7KNHPOM6BLHXC69S4MS8K7BO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-ENTECK156YEWITZRRBTOCE4KR.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/sys_types-AYM0BHR77VKMWZCO2T0XGV2HF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-2GT67HHHHK5CF1V1S31LH0PU2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_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/_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/ObjectiveC-26TIBFYCEJZVP216ZZAU1X8KN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-3XTHY7HWV6RF3KXKYQVHUBUXK.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/Spatial-5E0I2846LO3ZE24CSVR2O57TI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-CLT3466HKC22GCKAWSCNG0H7T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-EP5EU7FNGP4VOA3EDM18P1KHO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-AVLTZVCXBU2TO75JCN4AGU8XJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/dnssd-CCUV1M8EULNEQJUXO7L0PJAL4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-1004XEJ3IXOOAU0KL58SM3D0K.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-BFUJ177R223UT2ZI327ZTZY91.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-8TH2M8WJIQMET4SADWX0N8372.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/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/UniformTypeIdentifiers-E5KMWDZEKS4QW9RO1KBRDEXV6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-8TBYAKHCX6UC8QQSS7BD8GQK5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-8GQGFVARUE99D8VJX3TINY0VP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/LocalAuthentication-9MSPUJ85OBXBTOD7NJCT1GZ0O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-BANTQ3WXXGKZJYC0LLB3MD9K0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/FileProvider-C9I28SI56F2SEVH1BCWTKGODO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Network-EQPZZF3W6BWG89K0PY9NZO3T0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-7L19IC4ZH9BPYLVTD8IIFWN9R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-5FE9U89GVFF9A7X7AGO2R8ENI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-1DR4J4YDVDGAYQTZ0FKZ1PU09.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-73N6Z547OZUEZ8ADGEC6XRHWN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-8IIV1V1FPNAPA4LY1Y23LOM2N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-AOVGLUWEAN6CG2UZFNESGSP6C.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-1SN37095DAPVJ068LLP9TBDQX.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/Metal-EKNUM9P3PRIBHZK1ZBD6BA2T7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-56BKSYXNVAP91BYZRWAKQZKGI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AudioToolbox-2K3S8EA590EB3GMH6D6784BWZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVRouting-55P8FRNK50AFZOMMB2LBBOX33.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CloudKit-8H34CCWTKF0HWDZN9I1SWPFRC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-10LV922UPGE28QX2SOIO7ALIZ.pcm
SwiftExplicitDependencyCompileModuleFromInterface arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ShaderGraph-URHKVVOFZL5Z.swiftmodule
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-E12HJSJSLO0YKWYBES11UKJ02.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ARKitFoundation-3N77COW7DLP77CM0PWZXSR9BD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-12T8WVKUNCL1N7VXH87MM4YOB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreML-37QYERWC0RQN4IY4377UD0TY1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-D1IBHC28BRHWLNUG1Q75G5YN0.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/UIKit-2D2PMAAE45TMO6S28UCGCO5BR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Vision-DVVG9MQGC3IMTVPTC1691MQ6Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/VideoToolbox-7I4MDYIPJ4IWU1ZSL4JE3I7M6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-E8GATWFYYBEBB41O9N0LRRGYC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MediaToolbox-1J5U29ERBPNPI1HKEJHXOP8EV.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/ARKitCore-307YVPJLQNB66BTBIONHZNP86.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-77PUPXISY3V3TUF5FJEHUQC86.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/GameController-7QL0VMQHE24OWQFUR0UFT89DW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ARKit-27VDPOZ50FG2MJG7OFV6IFQYQ.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ Camera_SwiftUI (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Extensions.swift:13:11: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
11 | import AVFoundation
12 |
13 | extension AVCaptureVideoOrientation {
   |           `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
14 |     init?(deviceOrientation: UIDeviceOrientation) {
15 |         switch deviceOrientation {
/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/Camera-SwiftUI/Service/CameraService+Extensions.swift:35:27: error: 'DiscoverySession' is only available in visionOS 2.1 or newer
33 | }
34 |
35 | extension AVCaptureDevice.DiscoverySession {
   | |                         `- error: 'DiscoverySession' is only available in visionOS 2.1 or newer
   | `- note: add '@available' attribute to enclosing extension
36 |     var uniqueDevicePositionsCount: Int {
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:65:54: error: 'FlashMode' is unavailable in visionOS
 63 |     //    MARK: Observed Properties UI must react to
 64 |
 65 |     @Published public var flashMode: AVCaptureDevice.FlashMode = .off
    |                                                      `- error: 'FlashMode' is unavailable in visionOS
 66 |     @Published public var shouldShowAlertView = false
 67 |     @Published public var shouldShowSpinner = false
/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:967:28: note: 'FlashMode' has been explicitly marked unavailable here
 965 |     Indicates that the flash should be used automatically depending on ambient light conditions.
 966 |  */
 967 | typedef NS_ENUM(NSInteger, AVCaptureFlashMode) {
     |                            `- note: 'FlashMode' has been explicitly marked unavailable here
 968 |     AVCaptureFlashModeOff  = 0,
 969 |     AVCaptureFlashModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:55: error: 'DiscoverySession' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                       `- error: 'DiscoverySession' is only available in visionOS 2.1 or newer
 92 |
 93 |     // MARK: Capturing Photos
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:87: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                       `- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 92 |
 93 |     // MARK: Capturing Photos
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:112: error: 'builtInDualCamera' is unavailable in visionOS
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                                                `- error: 'builtInDualCamera' is unavailable in visionOS
 92 |
 93 |     // MARK: Capturing Photos
/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:593:38: note: 'builtInDualCamera' has been explicitly marked unavailable here
 591 |     Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
 592 |  */
 593 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualCamera API_AVAILABLE(ios(10.2), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInDualCamera' has been explicitly marked unavailable here
 594 |
 595 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:132: error: 'builtInTrueDepthCamera' is unavailable in visionOS
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                                                                    `- error: 'builtInTrueDepthCamera' is unavailable in visionOS
 92 |
 93 |     // MARK: Capturing Photos
/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:634:38: note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
 632 |     A device that consists of two cameras, one YUV and one Infrared. The infrared camera provides high quality depth information that is synchronized and perspective corrected to frames produced by the YUV camera. While the resolution of the depth data and YUV frames may differ, their field of view and aspect ratio always match. Note that devices of this type may only be discovered using an AVCaptureDeviceDiscoverySession or -[AVCaptureDevice defaultDeviceWithDeviceType:mediaType:position:].
 633 |  */
 634 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTrueDepthCamera API_AVAILABLE(ios(11.1), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
 635 |
 636 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:95:23: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 93 |     // MARK: Capturing Photos
 94 |
 95 |     let photoOutput = AVCapturePhotoOutput()
    |                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 96 |
 97 |     var inProgressPhotoCaptureDelegates = [Int64: PhotoCaptureProcessor]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:362:55: error: 'FocusMode' is unavailable in visionOS
360 |     }
361 |
362 |     public func focus(with focusMode: AVCaptureDevice.FocusMode, exposureMode: AVCaptureDevice.ExposureMode, at devicePoint: CGPoint, monitorSubjectAreaChange: Bool) {
    |                                                       `- error: 'FocusMode' is unavailable in visionOS
363 |         sessionQueue.async {
364 |             guard let device = self.videoDeviceInput?.device else { return }
/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/Camera-SwiftUI/Service/CameraService.swift:362:96: error: 'ExposureMode' is unavailable in visionOS
360 |     }
361 |
362 |     public func focus(with focusMode: AVCaptureDevice.FocusMode, exposureMode: AVCaptureDevice.ExposureMode, at devicePoint: CGPoint, monitorSubjectAreaChange: Bool) {
    |                                                                                                `- error: 'ExposureMode' is unavailable in visionOS
363 |         sessionQueue.async {
364 |             guard let device = self.videoDeviceInput?.device else { return }
/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/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:12:46: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 10 |
 11 | class PhotoCaptureProcessor: NSObject {
 12 |     private(set) var requestedPhotoSettings: AVCapturePhotoSettings
    |                                              `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 13 |
 14 |     private let willCapturePhotoAnimation: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:26:39: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 24 |     private var maxPhotoProcessingTime: CMTime?
 25 |
 26 |     init(with requestedPhotoSettings: AVCapturePhotoSettings,
    |                                       `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 27 |          willCapturePhotoAnimation: @escaping () -> Void,
 28 |          completionHandler: @escaping (PhotoCaptureProcessor) -> Void,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:43:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 41 |
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
 45 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:43:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 41 |
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
 45 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:48:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 46 |
 47 |     /// - Tag: WillCapturePhoto
 48 |     func photoOutput(_ output: AVCapturePhotoOutput, willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 49 |         DispatchQueue.main.async {
 50 |             self.willCapturePhotoAnimation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:48:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 46 |
 47 |     /// - Tag: WillCapturePhoto
 48 |     func photoOutput(_ output: AVCapturePhotoOutput, willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 49 |         DispatchQueue.main.async {
 50 |             self.willCapturePhotoAnimation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:86: error: 'AVCapturePhoto' is unavailable in visionOS
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                                                                      `- error: 'AVCapturePhoto' is unavailable in visionOS
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:112:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
110 |
111 |     /// - Tag: DidFinishCapture
112 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
113 |         if let error = error {
114 |             print("Error capturing photo: \(error)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:112:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
110 |
111 |     /// - Tag: DidFinishCapture
112 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings, error: Error?) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
113 |         if let error = error {
114 |             print("Error capturing photo: \(error)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:10: error: cannot override 'photoOutput' which has been marked unavailable
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |          `- error: cannot override 'photoOutput' which has been marked unavailable
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:37:34: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
 35 | }
 36 |
 37 | extension PhotoCaptureProcessor: AVCapturePhotoCaptureDelegate {
    |                                  `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
 38 |     /*
 39 |      This extension adopts all of the AVCapturePhotoCaptureDelegate protocol methods.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift:19:32: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
17 |         }
18 |
19 |         var videoPreviewLayer: AVCaptureVideoPreviewLayer {
   |                                `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
20 |             return layer as! AVCaptureVideoPreviewLayer
21 |         }
/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
Failed frontend command:
SwiftCompile normal arm64 (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    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/Camera-SwiftUI/Service/CameraService+Enums.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/ImageResizer.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI-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 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Camera_SwiftUI -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI_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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI.abi.json
SwiftCompile normal arm64 Compiling\ ImageResizer.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/ImageResizer.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/ImageResizer.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ImageResizer.swift
SwiftCompile normal arm64 Compiling\ CameraService.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:65:54: error: 'FlashMode' is unavailable in visionOS
 63 |     //    MARK: Observed Properties UI must react to
 64 |
 65 |     @Published public var flashMode: AVCaptureDevice.FlashMode = .off
    |                                                      `- error: 'FlashMode' is unavailable in visionOS
 66 |     @Published public var shouldShowAlertView = false
 67 |     @Published public var shouldShowSpinner = false
/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:967:28: note: 'FlashMode' has been explicitly marked unavailable here
 965 |     Indicates that the flash should be used automatically depending on ambient light conditions.
 966 |  */
 967 | typedef NS_ENUM(NSInteger, AVCaptureFlashMode) {
     |                            `- note: 'FlashMode' has been explicitly marked unavailable here
 968 |     AVCaptureFlashModeOff  = 0,
 969 |     AVCaptureFlashModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:55: error: 'DiscoverySession' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                       `- error: 'DiscoverySession' is only available in visionOS 2.1 or newer
 92 |
 93 |     // MARK: Capturing Photos
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:87: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                       `- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 92 |
 93 |     // MARK: Capturing Photos
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:112: error: 'builtInDualCamera' is unavailable in visionOS
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                                                `- error: 'builtInDualCamera' is unavailable in visionOS
 92 |
 93 |     // MARK: Capturing Photos
/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:593:38: note: 'builtInDualCamera' has been explicitly marked unavailable here
 591 |     Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
 592 |  */
 593 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualCamera API_AVAILABLE(ios(10.2), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInDualCamera' has been explicitly marked unavailable here
 594 |
 595 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:132: error: 'builtInTrueDepthCamera' is unavailable in visionOS
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                                                                    `- error: 'builtInTrueDepthCamera' is unavailable in visionOS
 92 |
 93 |     // MARK: Capturing Photos
/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:634:38: note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
 632 |     A device that consists of two cameras, one YUV and one Infrared. The infrared camera provides high quality depth information that is synchronized and perspective corrected to frames produced by the YUV camera. While the resolution of the depth data and YUV frames may differ, their field of view and aspect ratio always match. Note that devices of this type may only be discovered using an AVCaptureDeviceDiscoverySession or -[AVCaptureDevice defaultDeviceWithDeviceType:mediaType:position:].
 633 |  */
 634 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTrueDepthCamera API_AVAILABLE(ios(11.1), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
 635 |
 636 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:95:23: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 93 |     // MARK: Capturing Photos
 94 |
 95 |     let photoOutput = AVCapturePhotoOutput()
    |                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 96 |
 97 |     var inProgressPhotoCaptureDelegates = [Int64: PhotoCaptureProcessor]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:362:55: error: 'FocusMode' is unavailable in visionOS
360 |     }
361 |
362 |     public func focus(with focusMode: AVCaptureDevice.FocusMode, exposureMode: AVCaptureDevice.ExposureMode, at devicePoint: CGPoint, monitorSubjectAreaChange: Bool) {
    |                                                       `- error: 'FocusMode' is unavailable in visionOS
363 |         sessionQueue.async {
364 |             guard let device = self.videoDeviceInput?.device else { return }
/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/Camera-SwiftUI/Service/CameraService.swift:362:96: error: 'ExposureMode' is unavailable in visionOS
360 |     }
361 |
362 |     public func focus(with focusMode: AVCaptureDevice.FocusMode, exposureMode: AVCaptureDevice.ExposureMode, at devicePoint: CGPoint, monitorSubjectAreaChange: Bool) {
    |                                                                                                `- error: 'ExposureMode' is unavailable in visionOS
363 |         sessionQueue.async {
364 |             guard let device = self.videoDeviceInput?.device else { return }
/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,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:193:17: error: 'sessionPreset' is unavailable in visionOS
191 |          Live Photo is not supported when AVCaptureMovieFileOutput is added to the session.
192 |          */
193 |         session.sessionPreset = .photo
    |                 `- error: 'sessionPreset' is unavailable in visionOS
194 |
195 |         // Add video input.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
 164 |     The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
 165 |  */
 166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
     |                                                   `- note: 'sessionPreset' has been explicitly marked unavailable here
 167 |
 168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:193:34: error: 'photo' is unavailable in visionOS
191 |          Live Photo is not supported when AVCaptureMovieFileOutput is added to the session.
192 |          */
193 |         session.sessionPreset = .photo
    |                                  `- error: 'photo' is unavailable in visionOS
194 |
195 |         // Add video input.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:31:41: note: 'photo' has been explicitly marked unavailable here
 29 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetPhoto for full resolution photo quality output.
 30 |  */
 31 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetPhoto API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'photo' has been explicitly marked unavailable here
 32 |
 33 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:199:55: error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
180 |     // Call this on the session queue.
181 |     /// - Tag: ConfigureSession
182 |     private func configureSession() {
    |                  `- note: add '@available' attribute to enclosing instance method
183 |         if setupResult != .success {
184 |             return
    :
197 |             var defaultVideoDevice: AVCaptureDevice?
198 |
199 |             if let backCameraDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .back) {
    |                                                       |- error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
    |                                                       `- note: add 'if #available' version check
200 |                 // If a rear dual camera is not available, default to the rear wide angle camera.
201 |                 defaultVideoDevice = backCameraDevice
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:199:64: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
180 |     // Call this on the session queue.
181 |     /// - Tag: ConfigureSession
182 |     private func configureSession() {
    |                  `- note: add '@available' attribute to enclosing instance method
183 |         if setupResult != .success {
184 |             return
    :
197 |             var defaultVideoDevice: AVCaptureDevice?
198 |
199 |             if let backCameraDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .back) {
    |                                                                |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
    |                                                                `- note: add 'if #available' version check
200 |                 // If a rear dual camera is not available, default to the rear wide angle camera.
201 |                 defaultVideoDevice = backCameraDevice
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:202:63: error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
180 |     // Call this on the session queue.
181 |     /// - Tag: ConfigureSession
182 |     private func configureSession() {
    |                  `- note: add '@available' attribute to enclosing instance method
183 |         if setupResult != .success {
184 |             return
    :
200 |                 // If a rear dual camera is not available, default to the rear wide angle camera.
201 |                 defaultVideoDevice = backCameraDevice
202 |             } else if let frontCameraDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .front) {
    |                                                               |- error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
    |                                                               `- note: add 'if #available' version check
203 |                 // If the rear wide angle camera isn't available, default to the front wide angle camera.
204 |                 defaultVideoDevice = frontCameraDevice
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:202:72: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
180 |     // Call this on the session queue.
181 |     /// - Tag: ConfigureSession
182 |     private func configureSession() {
    |                  `- note: add '@available' attribute to enclosing instance method
183 |         if setupResult != .success {
184 |             return
    :
200 |                 // If a rear dual camera is not available, default to the rear wide angle camera.
201 |                 defaultVideoDevice = backCameraDevice
202 |             } else if let frontCameraDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .front) {
    |                                                                        |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
    |                                                                        `- note: add 'if #available' version check
203 |                 // If the rear wide angle camera isn't available, default to the front wide angle camera.
204 |                 defaultVideoDevice = frontCameraDevice
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:237:25: error: 'isHighResolutionCaptureEnabled' is unavailable in visionOS
235 |             session.addOutput(photoOutput)
236 |
237 |             photoOutput.isHighResolutionCaptureEnabled = true
    |                         `- error: 'isHighResolutionCaptureEnabled' is unavailable in visionOS
238 |             photoOutput.maxPhotoQualityPrioritization = .quality
239 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:536:66: note: 'isHighResolutionCaptureEnabled' has been explicitly marked unavailable here
 534 |     Some AVCaptureDeviceFormats support outputting higher resolution stills than their streaming resolution (See AVCaptureDeviceFormat.highResolutionStillImageDimensions). Under some conditions, AVCaptureSession needs to set up the photo render pipeline differently to support high resolution still image capture. If you intend to take high resolution still images at all, you should set this property to YES before calling -[AVCaptureSession startRunning]. Once you've opted in for high resolution capture, you are free to issue photo capture requests with or without highResolutionCaptureEnabled in the AVCapturePhotoSettings. If you have not set this property to YES and call capturePhotoWithSettings:delegate: with settings.highResolutionCaptureEnabled set to YES, an NSInvalidArgumentException will be thrown.
 535 |  */
 536 | @property(nonatomic, getter=isHighResolutionCaptureEnabled) BOOL highResolutionCaptureEnabled API_DEPRECATED("Use maxPhotoDimensions instead.", macos(10.15, 13.0), ios(10.0, 16.0), macCatalyst(14.0, 16.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                                  `- note: 'isHighResolutionCaptureEnabled' has been explicitly marked unavailable here
 537 |
 538 | /*!
SwiftCompile normal arm64 Compiling\ CameraService+Enums.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Enums.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Enums.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraService+Enums.swift
SwiftCompile normal arm64 Compiling\ CameraPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift:19:32: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
17 |         }
18 |
19 |         var videoPreviewLayer: AVCaptureVideoPreviewLayer {
   |                                `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
20 |             return layer as! AVCaptureVideoPreviewLayer
21 |         }
/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/Camera-SwiftUI/View/CameraPreview.swift:16:13: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
14 |     public class VideoPreviewView: UIView {
15 |         public override class var layerClass: AnyClass {
16 |             AVCaptureVideoPreviewLayer.self
   |             `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
17 |         }
18 |
/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/Camera-SwiftUI/View/CameraPreview.swift:20:30: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
18 |
19 |         var videoPreviewLayer: AVCaptureVideoPreviewLayer {
20 |             return layer as! AVCaptureVideoPreviewLayer
   |                              `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
21 |         }
22 |
/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/Camera-SwiftUI/View/CameraPreview.swift:35:49: error: 'captureDevicePointConverted(fromLayerPoint:)' is unavailable in visionOS
33 |         @objc func focusAndExposeTap(gestureRecognizer: UITapGestureRecognizer) {
34 |             let layerPoint = gestureRecognizer.location(in: gestureRecognizer.view)
35 |             let devicePoint = videoPreviewLayer.captureDevicePointConverted(fromLayerPoint: layerPoint)
   |                                                 `- error: 'captureDevicePointConverted(fromLayerPoint:)' is unavailable in visionOS
36 |
37 |             self.focusView.layer.frame = CGRect(origin: layerPoint, size: CGSize(width: 50, height: 50))
/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:150:1: note: 'captureDevicePointConverted(fromLayerPoint:)' has been explicitly marked unavailable here
148 |     AVCaptureDevice pointOfInterest is expressed as a CGPoint where {0,0} represents the top left of the picture area, and {1,1} represents the bottom right on an unrotated picture. This convenience method converts a point in the coordinate space of the receiver to a point of interest in the coordinate space of the AVCaptureDevice providing input to the receiver. The conversion takes frameSize and videoGravity into consideration.
149 |  */
150 | - (CGPoint)captureDevicePointOfInterestForPoint:(CGPoint)pointInLayer API_AVAILABLE(macos(10.15), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
    | `- note: 'captureDevicePointConverted(fromLayerPoint:)' has been explicitly marked unavailable here
151 |
152 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift:74:38: error: 'connection' is unavailable in visionOS
72 |         viewFinder.videoPreviewLayer.cornerRadius = 0
73 |         viewFinder.videoPreviewLayer.session = session
74 |         viewFinder.videoPreviewLayer.connection?.videoOrientation = .portrait
   |                                      `- error: 'connection' is unavailable in visionOS
75 |         return viewFinder
76 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 |     When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 |  */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
    |                                                               `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraPreview.swift
SwiftCompile normal arm64 Compiling\ CameraService+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Extensions.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Extensions.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraService+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Extensions.swift:13:11: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
11 | import AVFoundation
12 |
13 | extension AVCaptureVideoOrientation {
   |           `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
14 |     init?(deviceOrientation: UIDeviceOrientation) {
15 |         switch deviceOrientation {
/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,
SwiftCompile normal arm64 Compiling\ PhotoCaptureProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:12:46: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 10 |
 11 | class PhotoCaptureProcessor: NSObject {
 12 |     private(set) var requestedPhotoSettings: AVCapturePhotoSettings
    |                                              `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 13 |
 14 |     private let willCapturePhotoAnimation: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:26:39: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 24 |     private var maxPhotoProcessingTime: CMTime?
 25 |
 26 |     init(with requestedPhotoSettings: AVCapturePhotoSettings,
    |                                       `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 27 |          willCapturePhotoAnimation: @escaping () -> Void,
 28 |          completionHandler: @escaping (PhotoCaptureProcessor) -> Void,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:43:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 41 |
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
 45 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:43:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 41 |
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
 45 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:48:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 46 |
 47 |     /// - Tag: WillCapturePhoto
 48 |     func photoOutput(_ output: AVCapturePhotoOutput, willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 49 |         DispatchQueue.main.async {
 50 |             self.willCapturePhotoAnimation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:48:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 46 |
 47 |     /// - Tag: WillCapturePhoto
 48 |     func photoOutput(_ output: AVCapturePhotoOutput, willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 49 |         DispatchQueue.main.async {
 50 |             self.willCapturePhotoAnimation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:86: error: 'AVCapturePhoto' is unavailable in visionOS
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                                                                      `- error: 'AVCapturePhoto' is unavailable in visionOS
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:112:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
110 |
111 |     /// - Tag: DidFinishCapture
112 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
113 |         if let error = error {
114 |             print("Error capturing photo: \(error)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:112:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
110 |
111 |     /// - Tag: DidFinishCapture
112 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings, error: Error?) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
113 |         if let error = error {
114 |             print("Error capturing photo: \(error)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:10: error: cannot override 'photoOutput' which has been marked unavailable
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |          `- error: cannot override 'photoOutput' which has been marked unavailable
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:37:34: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
 35 | }
 36 |
 37 | extension PhotoCaptureProcessor: AVCapturePhotoCaptureDelegate {
    |                                  `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
 38 |     /*
 39 |      This extension adopts all of the AVCapturePhotoCaptureDelegate protocol methods.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:44:51: error: 'photoProcessingTimeRange' is unavailable in visionOS
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
    |                                                   `- error: 'photoProcessingTimeRange' is unavailable in visionOS
 45 |     }
 46 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1945:33: note: 'photoProcessingTimeRange' has been explicitly marked unavailable here
1943 |     Indicates the processing time range you can expect for this photo to be delivered to your delegate. the .start field of the CMTimeRange is zero-based. In other words, if photoProcessingTimeRange.start is equal to .5 seconds, then the minimum processing time for this photo is .5 seconds. The .start field plus the .duration field of the CMTimeRange indicate the max expected processing time for this photo. Consider implementing a UI affordance if the max processing time is uncomfortably long.
1944 |  */
1945 | @property(readonly) CMTimeRange photoProcessingTimeRange API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                 `- note: 'photoProcessingTimeRange' has been explicitly marked unavailable here
1946 |
1947 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:44:101: error: 'photoProcessingTimeRange' is unavailable in visionOS
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
    |                                                                                                     `- error: 'photoProcessingTimeRange' is unavailable in visionOS
 45 |     }
 46 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1945:33: note: 'photoProcessingTimeRange' has been explicitly marked unavailable here
1943 |     Indicates the processing time range you can expect for this photo to be delivered to your delegate. the .start field of the CMTimeRange is zero-based. In other words, if photoProcessingTimeRange.start is equal to .5 seconds, then the minimum processing time for this photo is .5 seconds. The .start field plus the .duration field of the CMTimeRange indicate the max expected processing time for this photo. Consider implementing a UI affordance if the max processing time is uncomfortably long.
1944 |  */
1945 | @property(readonly) CMTimeRange photoProcessingTimeRange API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                 `- note: 'photoProcessingTimeRange' has been explicitly marked unavailable here
1946 |
1947 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:76:31: error: 'fileDataRepresentation()' is unavailable in visionOS
 74 |             print("Error capturing photo: \(error)")
 75 |         } else {
 76 |             photoData = photo.fileDataRepresentation()
    |                               `- error: 'fileDataRepresentation()' is unavailable in visionOS
 77 |
 78 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2168:1: note: 'fileDataRepresentation()' has been explicitly marked unavailable here
2166 |     An NSData containing bits in the file container's format, or nil if the flattening process fails.
2167 |  */
2168 | - (nullable NSData *)fileDataRepresentation API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'fileDataRepresentation()' has been explicitly marked unavailable here
2169 |
2170 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PhotoCaptureProcessor.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-19 17:07:53.818 xcodebuild[652:4197] [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 'Camera-SwiftUI' from project 'Camera-SwiftUI')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ Camera_SwiftUI (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
	Building workspace Camera-SwiftUI with scheme Camera-SwiftUI
(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:
  Camera-SwiftUI: /Users/admin/builder/spi-builder-workspace
resolved source packages: Camera-SwiftUI
2026-09-19 17:08:01.192 xcodebuild[767:4644] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Camera-SwiftUI",
  "name" : "Camera-SwiftUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Camera-SwiftUI",
      "targets" : [
        "Camera-SwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Camera_SwiftUITests",
      "module_type" : "SwiftTarget",
      "name" : "Camera-SwiftUITests",
      "path" : "Tests/Camera-SwiftUITests",
      "sources" : [
        "Camera_SwiftUITests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Camera-SwiftUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Camera_SwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "Camera-SwiftUI",
      "path" : "Sources/Camera-SwiftUI",
      "product_memberships" : [
        "Camera-SwiftUI"
      ],
      "sources" : [
        "Service/CameraService+Enums.swift",
        "Service/CameraService+Extensions.swift",
        "Service/CameraService.swift",
        "Service/ImageResizer.swift",
        "Service/PhotoCaptureProcessor.swift",
        "View/CameraPreview.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
{
  "workspace" : {
    "name" : "Camera-SwiftUI",
    "schemes" : [
      "Camera-SwiftUI"
    ]
  }
}
2026-09-19 17:08:02.423 xcodebuild[775:4713] [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 Camera-SwiftUI -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 Camera-SwiftUI -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
  Camera-SwiftUI: /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 'Camera-SwiftUI-product' in project 'Camera-SwiftUI'
        ➜ Explicit dependency on target 'Camera-SwiftUI' in project 'Camera-SwiftUI'
    Target 'Camera-SwiftUI' in project 'Camera-SwiftUI' (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 Camera-SwiftUI normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    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 Camera_SwiftUI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI.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 -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI-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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI_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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ CameraService+Enums.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Enums.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Enums.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraService+Enums.swift
SwiftCompile normal arm64 Compiling\ CameraService+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Extensions.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Extensions.swift:13:11: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
11 | import AVFoundation
12 |
13 | extension AVCaptureVideoOrientation {
   |           `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
14 |     init?(deviceOrientation: UIDeviceOrientation) {
15 |         switch deviceOrientation {
/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,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Extensions.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraService+Extensions.swift
SwiftCompile normal arm64 Compiling\ CameraService.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:65:54: error: 'FlashMode' is unavailable in visionOS
 63 |     //    MARK: Observed Properties UI must react to
 64 |
 65 |     @Published public var flashMode: AVCaptureDevice.FlashMode = .off
    |                                                      `- error: 'FlashMode' is unavailable in visionOS
 66 |     @Published public var shouldShowAlertView = false
 67 |     @Published public var shouldShowSpinner = false
/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:967:28: note: 'FlashMode' has been explicitly marked unavailable here
 965 |     Indicates that the flash should be used automatically depending on ambient light conditions.
 966 |  */
 967 | typedef NS_ENUM(NSInteger, AVCaptureFlashMode) {
     |                            `- note: 'FlashMode' has been explicitly marked unavailable here
 968 |     AVCaptureFlashModeOff  = 0,
 969 |     AVCaptureFlashModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:55: error: 'DiscoverySession' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                       `- error: 'DiscoverySession' is only available in visionOS 2.1 or newer
 92 |
 93 |     // MARK: Capturing Photos
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:87: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                       `- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 92 |
 93 |     // MARK: Capturing Photos
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:112: error: 'builtInDualCamera' is unavailable in visionOS
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                                                `- error: 'builtInDualCamera' is unavailable in visionOS
 92 |
 93 |     // MARK: Capturing Photos
/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:593:38: note: 'builtInDualCamera' has been explicitly marked unavailable here
 591 |     Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
 592 |  */
 593 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualCamera API_AVAILABLE(ios(10.2), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInDualCamera' has been explicitly marked unavailable here
 594 |
 595 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:132: error: 'builtInTrueDepthCamera' is unavailable in visionOS
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                                                                    `- error: 'builtInTrueDepthCamera' is unavailable in visionOS
 92 |
 93 |     // MARK: Capturing Photos
/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:634:38: note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
 632 |     A device that consists of two cameras, one YUV and one Infrared. The infrared camera provides high quality depth information that is synchronized and perspective corrected to frames produced by the YUV camera. While the resolution of the depth data and YUV frames may differ, their field of view and aspect ratio always match. Note that devices of this type may only be discovered using an AVCaptureDeviceDiscoverySession or -[AVCaptureDevice defaultDeviceWithDeviceType:mediaType:position:].
 633 |  */
 634 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTrueDepthCamera API_AVAILABLE(ios(11.1), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
 635 |
 636 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:95:23: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 93 |     // MARK: Capturing Photos
 94 |
 95 |     let photoOutput = AVCapturePhotoOutput()
    |                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 96 |
 97 |     var inProgressPhotoCaptureDelegates = [Int64: PhotoCaptureProcessor]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:362:55: error: 'FocusMode' is unavailable in visionOS
360 |     }
361 |
362 |     public func focus(with focusMode: AVCaptureDevice.FocusMode, exposureMode: AVCaptureDevice.ExposureMode, at devicePoint: CGPoint, monitorSubjectAreaChange: Bool) {
    |                                                       `- error: 'FocusMode' is unavailable in visionOS
363 |         sessionQueue.async {
364 |             guard let device = self.videoDeviceInput?.device else { return }
/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/Camera-SwiftUI/Service/CameraService.swift:362:96: error: 'ExposureMode' is unavailable in visionOS
360 |     }
361 |
362 |     public func focus(with focusMode: AVCaptureDevice.FocusMode, exposureMode: AVCaptureDevice.ExposureMode, at devicePoint: CGPoint, monitorSubjectAreaChange: Bool) {
    |                                                                                                `- error: 'ExposureMode' is unavailable in visionOS
363 |         sessionQueue.async {
364 |             guard let device = self.videoDeviceInput?.device else { return }
/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/Camera-SwiftUI/Service/CameraService.swift:193:17: error: 'sessionPreset' is unavailable in visionOS
191 |          Live Photo is not supported when AVCaptureMovieFileOutput is added to the session.
192 |          */
193 |         session.sessionPreset = .photo
    |                 `- error: 'sessionPreset' is unavailable in visionOS
194 |
195 |         // Add video input.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
 164 |     The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
 165 |  */
 166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
     |                                                   `- note: 'sessionPreset' has been explicitly marked unavailable here
 167 |
 168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:193:34: error: 'photo' is unavailable in visionOS
191 |          Live Photo is not supported when AVCaptureMovieFileOutput is added to the session.
192 |          */
193 |         session.sessionPreset = .photo
    |                                  `- error: 'photo' is unavailable in visionOS
194 |
195 |         // Add video input.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:31:41: note: 'photo' has been explicitly marked unavailable here
 29 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetPhoto for full resolution photo quality output.
 30 |  */
 31 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetPhoto API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'photo' has been explicitly marked unavailable here
 32 |
 33 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:199:55: error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
180 |     // Call this on the session queue.
181 |     /// - Tag: ConfigureSession
182 |     private func configureSession() {
    |                  `- note: add '@available' attribute to enclosing instance method
183 |         if setupResult != .success {
184 |             return
    :
197 |             var defaultVideoDevice: AVCaptureDevice?
198 |
199 |             if let backCameraDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .back) {
    |                                                       |- error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
    |                                                       `- note: add 'if #available' version check
200 |                 // If a rear dual camera is not available, default to the rear wide angle camera.
201 |                 defaultVideoDevice = backCameraDevice
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:199:64: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
180 |     // Call this on the session queue.
181 |     /// - Tag: ConfigureSession
182 |     private func configureSession() {
    |                  `- note: add '@available' attribute to enclosing instance method
183 |         if setupResult != .success {
184 |             return
    :
197 |             var defaultVideoDevice: AVCaptureDevice?
198 |
199 |             if let backCameraDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .back) {
    |                                                                |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
    |                                                                `- note: add 'if #available' version check
200 |                 // If a rear dual camera is not available, default to the rear wide angle camera.
201 |                 defaultVideoDevice = backCameraDevice
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:202:63: error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
180 |     // Call this on the session queue.
181 |     /// - Tag: ConfigureSession
182 |     private func configureSession() {
    |                  `- note: add '@available' attribute to enclosing instance method
183 |         if setupResult != .success {
184 |             return
    :
200 |                 // If a rear dual camera is not available, default to the rear wide angle camera.
201 |                 defaultVideoDevice = backCameraDevice
202 |             } else if let frontCameraDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .front) {
    |                                                               |- error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
    |                                                               `- note: add 'if #available' version check
203 |                 // If the rear wide angle camera isn't available, default to the front wide angle camera.
204 |                 defaultVideoDevice = frontCameraDevice
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:202:72: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
180 |     // Call this on the session queue.
181 |     /// - Tag: ConfigureSession
182 |     private func configureSession() {
    |                  `- note: add '@available' attribute to enclosing instance method
183 |         if setupResult != .success {
184 |             return
    :
200 |                 // If a rear dual camera is not available, default to the rear wide angle camera.
201 |                 defaultVideoDevice = backCameraDevice
202 |             } else if let frontCameraDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .front) {
    |                                                                        |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
    |                                                                        `- note: add 'if #available' version check
203 |                 // If the rear wide angle camera isn't available, default to the front wide angle camera.
204 |                 defaultVideoDevice = frontCameraDevice
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:237:25: error: 'isHighResolutionCaptureEnabled' is unavailable in visionOS
235 |             session.addOutput(photoOutput)
236 |
237 |             photoOutput.isHighResolutionCaptureEnabled = true
    |                         `- error: 'isHighResolutionCaptureEnabled' is unavailable in visionOS
238 |             photoOutput.maxPhotoQualityPrioritization = .quality
239 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:536:66: note: 'isHighResolutionCaptureEnabled' has been explicitly marked unavailable here
 534 |     Some AVCaptureDeviceFormats support outputting higher resolution stills than their streaming resolution (See AVCaptureDeviceFormat.highResolutionStillImageDimensions). Under some conditions, AVCaptureSession needs to set up the photo render pipeline differently to support high resolution still image capture. If you intend to take high resolution still images at all, you should set this property to YES before calling -[AVCaptureSession startRunning]. Once you've opted in for high resolution capture, you are free to issue photo capture requests with or without highResolutionCaptureEnabled in the AVCapturePhotoSettings. If you have not set this property to YES and call capturePhotoWithSettings:delegate: with settings.highResolutionCaptureEnabled set to YES, an NSInvalidArgumentException will be thrown.
 535 |  */
 536 | @property(nonatomic, getter=isHighResolutionCaptureEnabled) BOOL highResolutionCaptureEnabled API_DEPRECATED("Use maxPhotoDimensions instead.", macos(10.15, 13.0), ios(10.0, 16.0), macCatalyst(14.0, 16.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                                  `- note: 'isHighResolutionCaptureEnabled' has been explicitly marked unavailable here
 537 |
 538 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraService.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ Camera_SwiftUI (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Extensions.swift:13:11: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
11 | import AVFoundation
12 |
13 | extension AVCaptureVideoOrientation {
   |           `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
14 |     init?(deviceOrientation: UIDeviceOrientation) {
15 |         switch deviceOrientation {
/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/Camera-SwiftUI/Service/CameraService+Extensions.swift:35:27: error: 'DiscoverySession' is only available in visionOS 2.1 or newer
33 | }
34 |
35 | extension AVCaptureDevice.DiscoverySession {
   | |                         `- error: 'DiscoverySession' is only available in visionOS 2.1 or newer
   | `- note: add '@available' attribute to enclosing extension
36 |     var uniqueDevicePositionsCount: Int {
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:65:54: error: 'FlashMode' is unavailable in visionOS
 63 |     //    MARK: Observed Properties UI must react to
 64 |
 65 |     @Published public var flashMode: AVCaptureDevice.FlashMode = .off
    |                                                      `- error: 'FlashMode' is unavailable in visionOS
 66 |     @Published public var shouldShowAlertView = false
 67 |     @Published public var shouldShowSpinner = false
/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:967:28: note: 'FlashMode' has been explicitly marked unavailable here
 965 |     Indicates that the flash should be used automatically depending on ambient light conditions.
 966 |  */
 967 | typedef NS_ENUM(NSInteger, AVCaptureFlashMode) {
     |                            `- note: 'FlashMode' has been explicitly marked unavailable here
 968 |     AVCaptureFlashModeOff  = 0,
 969 |     AVCaptureFlashModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:55: error: 'DiscoverySession' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                       `- error: 'DiscoverySession' is only available in visionOS 2.1 or newer
 92 |
 93 |     // MARK: Capturing Photos
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:87: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 58 | }
 59 |
 60 | public class CameraService: NSObject, Identifiable {
    |              `- note: add '@available' attribute to enclosing class
 61 |     typealias PhotoCaptureSessionID = String
 62 |
    :
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                       `- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 92 |
 93 |     // MARK: Capturing Photos
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:112: error: 'builtInDualCamera' is unavailable in visionOS
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                                                `- error: 'builtInDualCamera' is unavailable in visionOS
 92 |
 93 |     // MARK: Capturing Photos
/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:593:38: note: 'builtInDualCamera' has been explicitly marked unavailable here
 591 |     Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
 592 |  */
 593 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualCamera API_AVAILABLE(ios(10.2), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInDualCamera' has been explicitly marked unavailable here
 594 |
 595 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:91:132: error: 'builtInTrueDepthCamera' is unavailable in visionOS
 89 |
 90 |     // MARK: Device Configuration Properties
 91 |     let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInDualCamera, .builtInTrueDepthCamera], mediaType: .video, position: .unspecified)
    |                                                                                                                                    `- error: 'builtInTrueDepthCamera' is unavailable in visionOS
 92 |
 93 |     // MARK: Capturing Photos
/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:634:38: note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
 632 |     A device that consists of two cameras, one YUV and one Infrared. The infrared camera provides high quality depth information that is synchronized and perspective corrected to frames produced by the YUV camera. While the resolution of the depth data and YUV frames may differ, their field of view and aspect ratio always match. Note that devices of this type may only be discovered using an AVCaptureDeviceDiscoverySession or -[AVCaptureDevice defaultDeviceWithDeviceType:mediaType:position:].
 633 |  */
 634 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTrueDepthCamera API_AVAILABLE(ios(11.1), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
 635 |
 636 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:95:23: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 93 |     // MARK: Capturing Photos
 94 |
 95 |     let photoOutput = AVCapturePhotoOutput()
    |                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 96 |
 97 |     var inProgressPhotoCaptureDelegates = [Int64: PhotoCaptureProcessor]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift:362:55: error: 'FocusMode' is unavailable in visionOS
360 |     }
361 |
362 |     public func focus(with focusMode: AVCaptureDevice.FocusMode, exposureMode: AVCaptureDevice.ExposureMode, at devicePoint: CGPoint, monitorSubjectAreaChange: Bool) {
    |                                                       `- error: 'FocusMode' is unavailable in visionOS
363 |         sessionQueue.async {
364 |             guard let device = self.videoDeviceInput?.device else { return }
/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/Camera-SwiftUI/Service/CameraService.swift:362:96: error: 'ExposureMode' is unavailable in visionOS
360 |     }
361 |
362 |     public func focus(with focusMode: AVCaptureDevice.FocusMode, exposureMode: AVCaptureDevice.ExposureMode, at devicePoint: CGPoint, monitorSubjectAreaChange: Bool) {
    |                                                                                                `- error: 'ExposureMode' is unavailable in visionOS
363 |         sessionQueue.async {
364 |             guard let device = self.videoDeviceInput?.device else { return }
/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/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:12:46: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 10 |
 11 | class PhotoCaptureProcessor: NSObject {
 12 |     private(set) var requestedPhotoSettings: AVCapturePhotoSettings
    |                                              `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 13 |
 14 |     private let willCapturePhotoAnimation: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:26:39: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 24 |     private var maxPhotoProcessingTime: CMTime?
 25 |
 26 |     init(with requestedPhotoSettings: AVCapturePhotoSettings,
    |                                       `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 27 |          willCapturePhotoAnimation: @escaping () -> Void,
 28 |          completionHandler: @escaping (PhotoCaptureProcessor) -> Void,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:43:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 41 |
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
 45 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:43:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 41 |
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
 45 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:48:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 46 |
 47 |     /// - Tag: WillCapturePhoto
 48 |     func photoOutput(_ output: AVCapturePhotoOutput, willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 49 |         DispatchQueue.main.async {
 50 |             self.willCapturePhotoAnimation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:48:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 46 |
 47 |     /// - Tag: WillCapturePhoto
 48 |     func photoOutput(_ output: AVCapturePhotoOutput, willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 49 |         DispatchQueue.main.async {
 50 |             self.willCapturePhotoAnimation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:86: error: 'AVCapturePhoto' is unavailable in visionOS
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                                                                      `- error: 'AVCapturePhoto' is unavailable in visionOS
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:112:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
110 |
111 |     /// - Tag: DidFinishCapture
112 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
113 |         if let error = error {
114 |             print("Error capturing photo: \(error)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:112:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
110 |
111 |     /// - Tag: DidFinishCapture
112 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings, error: Error?) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
113 |         if let error = error {
114 |             print("Error capturing photo: \(error)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:10: error: cannot override 'photoOutput' which has been marked unavailable
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |          `- error: cannot override 'photoOutput' which has been marked unavailable
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:37:34: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
 35 | }
 36 |
 37 | extension PhotoCaptureProcessor: AVCapturePhotoCaptureDelegate {
    |                                  `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
 38 |     /*
 39 |      This extension adopts all of the AVCapturePhotoCaptureDelegate protocol methods.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift:19:32: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
17 |         }
18 |
19 |         var videoPreviewLayer: AVCaptureVideoPreviewLayer {
   |                                `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
20 |             return layer as! AVCaptureVideoPreviewLayer
21 |         }
/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
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Enums.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/CameraService.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/ImageResizer.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI-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 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Camera_SwiftUI -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI_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/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera-SwiftUI-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Camera-SwiftUI.build/Debug-xros/Camera-SwiftUI-t.build/Objects-normal/arm64/Camera_SwiftUI.abi.json
SwiftCompile normal arm64 (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ ImageResizer.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/ImageResizer.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/ImageResizer.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ImageResizer.swift
SwiftCompile normal arm64 Compiling\ CameraPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift:19:32: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
17 |         }
18 |
19 |         var videoPreviewLayer: AVCaptureVideoPreviewLayer {
   |                                `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
20 |             return layer as! AVCaptureVideoPreviewLayer
21 |         }
/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/Camera-SwiftUI/View/CameraPreview.swift:16:13: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
14 |     public class VideoPreviewView: UIView {
15 |         public override class var layerClass: AnyClass {
16 |             AVCaptureVideoPreviewLayer.self
   |             `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
17 |         }
18 |
/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/Camera-SwiftUI/View/CameraPreview.swift:20:30: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
18 |
19 |         var videoPreviewLayer: AVCaptureVideoPreviewLayer {
20 |             return layer as! AVCaptureVideoPreviewLayer
   |                              `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
21 |         }
22 |
/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/Camera-SwiftUI/View/CameraPreview.swift:35:49: error: 'captureDevicePointConverted(fromLayerPoint:)' is unavailable in visionOS
33 |         @objc func focusAndExposeTap(gestureRecognizer: UITapGestureRecognizer) {
34 |             let layerPoint = gestureRecognizer.location(in: gestureRecognizer.view)
35 |             let devicePoint = videoPreviewLayer.captureDevicePointConverted(fromLayerPoint: layerPoint)
   |                                                 `- error: 'captureDevicePointConverted(fromLayerPoint:)' is unavailable in visionOS
36 |
37 |             self.focusView.layer.frame = CGRect(origin: layerPoint, size: CGSize(width: 50, height: 50))
/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:150:1: note: 'captureDevicePointConverted(fromLayerPoint:)' has been explicitly marked unavailable here
148 |     AVCaptureDevice pointOfInterest is expressed as a CGPoint where {0,0} represents the top left of the picture area, and {1,1} represents the bottom right on an unrotated picture. This convenience method converts a point in the coordinate space of the receiver to a point of interest in the coordinate space of the AVCaptureDevice providing input to the receiver. The conversion takes frameSize and videoGravity into consideration.
149 |  */
150 | - (CGPoint)captureDevicePointOfInterestForPoint:(CGPoint)pointInLayer API_AVAILABLE(macos(10.15), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
    | `- note: 'captureDevicePointConverted(fromLayerPoint:)' has been explicitly marked unavailable here
151 |
152 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift:74:38: error: 'connection' is unavailable in visionOS
72 |         viewFinder.videoPreviewLayer.cornerRadius = 0
73 |         viewFinder.videoPreviewLayer.session = session
74 |         viewFinder.videoPreviewLayer.connection?.videoOrientation = .portrait
   |                                      `- error: 'connection' is unavailable in visionOS
75 |         return viewFinder
76 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 |     When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 |  */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
    |                                                               `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/View/CameraPreview.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraPreview.swift
SwiftCompile normal arm64 Compiling\ PhotoCaptureProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:12:46: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 10 |
 11 | class PhotoCaptureProcessor: NSObject {
 12 |     private(set) var requestedPhotoSettings: AVCapturePhotoSettings
    |                                              `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 13 |
 14 |     private let willCapturePhotoAnimation: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:26:39: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 24 |     private var maxPhotoProcessingTime: CMTime?
 25 |
 26 |     init(with requestedPhotoSettings: AVCapturePhotoSettings,
    |                                       `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 27 |          willCapturePhotoAnimation: @escaping () -> Void,
 28 |          completionHandler: @escaping (PhotoCaptureProcessor) -> Void,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:43:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 41 |
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
 45 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:43:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 41 |
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
 45 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:48:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 46 |
 47 |     /// - Tag: WillCapturePhoto
 48 |     func photoOutput(_ output: AVCapturePhotoOutput, willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 49 |         DispatchQueue.main.async {
 50 |             self.willCapturePhotoAnimation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:48:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 46 |
 47 |     /// - Tag: WillCapturePhoto
 48 |     func photoOutput(_ output: AVCapturePhotoOutput, willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 49 |         DispatchQueue.main.async {
 50 |             self.willCapturePhotoAnimation()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:86: error: 'AVCapturePhoto' is unavailable in visionOS
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                                                                      `- error: 'AVCapturePhoto' is unavailable in visionOS
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:112:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
110 |
111 |     /// - Tag: DidFinishCapture
112 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
113 |         if let error = error {
114 |             print("Error capturing photo: \(error)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:112:92: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
110 |
111 |     /// - Tag: DidFinishCapture
112 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings, error: Error?) {
    |                                                                                            `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
113 |         if let error = error {
114 |             print("Error capturing photo: \(error)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:67:10: error: cannot override 'photoOutput' which has been marked unavailable
 65 |
 66 |     /// - Tag: DidFinishProcessingPhoto
 67 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |          `- error: cannot override 'photoOutput' which has been marked unavailable
 68 |
 69 |         DispatchQueue.main.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:37:34: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
 35 | }
 36 |
 37 | extension PhotoCaptureProcessor: AVCapturePhotoCaptureDelegate {
    |                                  `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
 38 |     /*
 39 |      This extension adopts all of the AVCapturePhotoCaptureDelegate protocol methods.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:44:51: error: 'photoProcessingTimeRange' is unavailable in visionOS
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
    |                                                   `- error: 'photoProcessingTimeRange' is unavailable in visionOS
 45 |     }
 46 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1945:33: note: 'photoProcessingTimeRange' has been explicitly marked unavailable here
1943 |     Indicates the processing time range you can expect for this photo to be delivered to your delegate. the .start field of the CMTimeRange is zero-based. In other words, if photoProcessingTimeRange.start is equal to .5 seconds, then the minimum processing time for this photo is .5 seconds. The .start field plus the .duration field of the CMTimeRange indicate the max expected processing time for this photo. Consider implementing a UI affordance if the max processing time is uncomfortably long.
1944 |  */
1945 | @property(readonly) CMTimeRange photoProcessingTimeRange API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                 `- note: 'photoProcessingTimeRange' has been explicitly marked unavailable here
1946 |
1947 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:44:101: error: 'photoProcessingTimeRange' is unavailable in visionOS
 42 |     /// - Tag: WillBeginCapture
 43 |     func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
 44 |         maxPhotoProcessingTime = resolvedSettings.photoProcessingTimeRange.start + resolvedSettings.photoProcessingTimeRange.duration
    |                                                                                                     `- error: 'photoProcessingTimeRange' is unavailable in visionOS
 45 |     }
 46 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1945:33: note: 'photoProcessingTimeRange' has been explicitly marked unavailable here
1943 |     Indicates the processing time range you can expect for this photo to be delivered to your delegate. the .start field of the CMTimeRange is zero-based. In other words, if photoProcessingTimeRange.start is equal to .5 seconds, then the minimum processing time for this photo is .5 seconds. The .start field plus the .duration field of the CMTimeRange indicate the max expected processing time for this photo. Consider implementing a UI affordance if the max processing time is uncomfortably long.
1944 |  */
1945 | @property(readonly) CMTimeRange photoProcessingTimeRange API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                 `- note: 'photoProcessingTimeRange' has been explicitly marked unavailable here
1946 |
1947 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift:76:31: error: 'fileDataRepresentation()' is unavailable in visionOS
 74 |             print("Error capturing photo: \(error)")
 75 |         } else {
 76 |             photoData = photo.fileDataRepresentation()
    |                               `- error: 'fileDataRepresentation()' is unavailable in visionOS
 77 |
 78 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2168:1: note: 'fileDataRepresentation()' has been explicitly marked unavailable here
2166 |     An NSData containing bits in the file container's format, or nil if the flattening process fails.
2167 |  */
2168 | - (nullable NSData *)fileDataRepresentation API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'fileDataRepresentation()' has been explicitly marked unavailable here
2169 |
2170 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Camera-SwiftUI/Service/PhotoCaptureProcessor.swift (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PhotoCaptureProcessor.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-19 17:08:03.338 xcodebuild[776:4742] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ Camera_SwiftUI (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
	SwiftCompile normal arm64 (in target 'Camera-SwiftUI' from project 'Camera-SwiftUI')
	Building workspace Camera-SwiftUI with scheme Camera-SwiftUI
(3 failures)
BUILD FAILURE 6.4 visionOS