The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Prism, reference 0.2.0 (5004fe), with Swift 6.4 for visionOS using Xcode 27.0 on 12 Oct 2026 18:36:56 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 Prism-Package -destination generic/platform=xrOS

Build Log

2407 |  */
2408 | @property(nonatomic, readonly, getter=isGeometricDistortionCorrectionSupported) BOOL geometricDistortionCorrectionSupported API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                                                                      `- note: 'isGeometricDistortionCorrectionSupported' has been explicitly marked unavailable here
2409 |
2410 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Configuration.swift:124:62: error: 'isGeometricDistortionCorrectionEnabled' is unavailable in visionOS
122 |         #if !os(macOS)
123 |             guard prm_clearDisabledByPrism(.geometricDistortionCorrection),
124 |                   isGeometricDistortionCorrectionSupported, !isGeometricDistortionCorrectionEnabled
    |                                                              `- error: 'isGeometricDistortionCorrectionEnabled' is unavailable in visionOS
125 |             else { return }
126 |             PRMLog.bestEffort(.session, "restore geometric distortion correction") {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2425:74: note: 'isGeometricDistortionCorrectionEnabled' has been explicitly marked unavailable here
2423 |     When GDC is enabled, AVCaptureVideoDataOutput buffers contain GDC metadata attachments, and AVCaptureMovieFileOutput movies contain GDC metadata which an application supporting ProRes RAW can optionally apply at playback time using the ProRes RAW SDK. To learn more about the ProRes RAW SDK, refer to the Apple ProRes and ProRes RAW Authorized Products article at https://support.apple.com/en-us/118584.
2424 |  */
2425 | @property(nonatomic, getter=isGeometricDistortionCorrectionEnabled) BOOL geometricDistortionCorrectionEnabled API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                                                          `- note: 'isGeometricDistortionCorrectionEnabled' has been explicitly marked unavailable here
2426 |
2427 | @end
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Configuration.swift:127:49: error: 'isGeometricDistortionCorrectionEnabled' is unavailable in visionOS
125 |             else { return }
126 |             PRMLog.bestEffort(.session, "restore geometric distortion correction") {
127 |                 try prm_withConfigurationLock { isGeometricDistortionCorrectionEnabled = true }
    |                                                 `- error: 'isGeometricDistortionCorrectionEnabled' is unavailable in visionOS
128 |             }
129 |         #endif
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2425:74: note: 'isGeometricDistortionCorrectionEnabled' has been explicitly marked unavailable here
2423 |     When GDC is enabled, AVCaptureVideoDataOutput buffers contain GDC metadata attachments, and AVCaptureMovieFileOutput movies contain GDC metadata which an application supporting ProRes RAW can optionally apply at playback time using the ProRes RAW SDK. To learn more about the ProRes RAW SDK, refer to the Apple ProRes and ProRes RAW Authorized Products article at https://support.apple.com/en-us/118584.
2424 |  */
2425 | @property(nonatomic, getter=isGeometricDistortionCorrectionEnabled) BOOL geometricDistortionCorrectionEnabled API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                                                          `- note: 'isGeometricDistortionCorrectionEnabled' has been explicitly marked unavailable here
2426 |
2427 | @end
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Depth.swift:11:23: error: 'supportedDepthDataFormats' is unavailable in visionOS
 9 |     /// depth-supporting format via ``prm_enableDepthFormat()`` first.
10 |     func prm_isActiveFormatDepthCapable() -> Bool {
11 |         !activeFormat.supportedDepthDataFormats.isEmpty
   |                       `- error: 'supportedDepthDataFormats' is unavailable in visionOS
12 |     }
13 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3682:66: note: 'supportedDepthDataFormats' has been explicitly marked unavailable here
3680 |     If no depth data formats are supported by the receiver, an empty array is returned. On virtual devices, the supportedDepthDataFormats list items always match the aspect ratio of their paired video format. When the receiver is set as the device's activeFormat, you may set the device's activeDepthDataFormat to one of these supported depth data formats.
3681 |  */
3682 | @property(nonatomic, readonly) NSArray<AVCaptureDeviceFormat *> *supportedDepthDataFormats API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                                  `- note: 'supportedDepthDataFormats' has been explicitly marked unavailable here
3683 |
3684 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Depth.swift:44:34: error: 'activeDepthDataFormat' is unavailable in visionOS
42 |             // none is currently active.
43 |             targetFormat = activeFormat
44 |             if let depthFormat = activeDepthDataFormat {
   |                                  `- error: 'activeDepthDataFormat' is unavailable in visionOS
45 |                 targetDepthFormat = depthFormat
46 |             } else if let depthFormat = activeFormat.supportedDepthDataFormats.first {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2351:63: note: 'activeDepthDataFormat' has been explicitly marked unavailable here
2349 |     Delivery of depth data to a AVCaptureDepthDataOutput may increase the system load, resulting in a reduced video frame rate for thermal sustainability.
2350 |  */
2351 | @property(nonatomic, retain, nullable) AVCaptureDeviceFormat *activeDepthDataFormat API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                               `- note: 'activeDepthDataFormat' has been explicitly marked unavailable here
2352 |
2353 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Depth.swift:46:54: error: 'supportedDepthDataFormats' is unavailable in visionOS
44 |             if let depthFormat = activeDepthDataFormat {
45 |                 targetDepthFormat = depthFormat
46 |             } else if let depthFormat = activeFormat.supportedDepthDataFormats.first {
   |                                                      `- error: 'supportedDepthDataFormats' is unavailable in visionOS
47 |                 targetDepthFormat = depthFormat
48 |             } else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3682:66: note: 'supportedDepthDataFormats' has been explicitly marked unavailable here
3680 |     If no depth data formats are supported by the receiver, an empty array is returned. On virtual devices, the supportedDepthDataFormats list items always match the aspect ratio of their paired video format. When the receiver is set as the device's activeFormat, you may set the device's activeDepthDataFormat to one of these supported depth data formats.
3681 |  */
3682 | @property(nonatomic, readonly) NSArray<AVCaptureDeviceFormat *> *supportedDepthDataFormats API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                                  `- note: 'supportedDepthDataFormats' has been explicitly marked unavailable here
3683 |
3684 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Depth.swift:55:83: error: 'supportedDepthDataFormats' is unavailable in visionOS
53 |             // a 1080p-class option (largest format ≤ 1920px wide); fall back to the
54 |             // smallest depth-capable format if no sub-4K option exists.
55 |             guard let format = Self.prm_hdClassFormat(from: formats, where: { !$0.supportedDepthDataFormats.isEmpty }),
   |                                                                                   `- error: 'supportedDepthDataFormats' is unavailable in visionOS
56 |                   let depthFormat = format.supportedDepthDataFormats.first
57 |             else { return false }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3682:66: note: 'supportedDepthDataFormats' has been explicitly marked unavailable here
3680 |     If no depth data formats are supported by the receiver, an empty array is returned. On virtual devices, the supportedDepthDataFormats list items always match the aspect ratio of their paired video format. When the receiver is set as the device's activeFormat, you may set the device's activeDepthDataFormat to one of these supported depth data formats.
3681 |  */
3682 | @property(nonatomic, readonly) NSArray<AVCaptureDeviceFormat *> *supportedDepthDataFormats API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                                  `- note: 'supportedDepthDataFormats' has been explicitly marked unavailable here
3683 |
3684 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Depth.swift:56:44: error: 'supportedDepthDataFormats' is unavailable in visionOS
54 |             // smallest depth-capable format if no sub-4K option exists.
55 |             guard let format = Self.prm_hdClassFormat(from: formats, where: { !$0.supportedDepthDataFormats.isEmpty }),
56 |                   let depthFormat = format.supportedDepthDataFormats.first
   |                                            `- error: 'supportedDepthDataFormats' is unavailable in visionOS
57 |             else { return false }
58 |             targetFormat = format
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3682:66: note: 'supportedDepthDataFormats' has been explicitly marked unavailable here
3680 |     If no depth data formats are supported by the receiver, an empty array is returned. On virtual devices, the supportedDepthDataFormats list items always match the aspect ratio of their paired video format. When the receiver is set as the device's activeFormat, you may set the device's activeDepthDataFormat to one of these supported depth data formats.
3681 |  */
3682 | @property(nonatomic, readonly) NSArray<AVCaptureDeviceFormat *> *supportedDepthDataFormats API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                                  `- note: 'supportedDepthDataFormats' has been explicitly marked unavailable here
3683 |
3684 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Depth.swift:74:20: error: 'isGeometricDistortionCorrectionSupported' is unavailable in visionOS
72 |             // (`prm_restoreGeometricDistortionCorrectionIfNeeded()`).
73 |             #if !os(macOS)
74 |                 if isGeometricDistortionCorrectionSupported, isGeometricDistortionCorrectionEnabled {
   |                    `- error: 'isGeometricDistortionCorrectionSupported' is unavailable in visionOS
75 |                     isGeometricDistortionCorrectionEnabled = false
76 |                     prm_noteDisabledByPrism(.geometricDistortionCorrection)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2408:86: note: 'isGeometricDistortionCorrectionSupported' has been explicitly marked unavailable here
2406 |     Some AVCaptureDevices benefit from geometric distortion correction (GDC), such as devices with a very wide field of view. GDC lessens the fisheye effect at the outer edge of the frame at the cost of losing a small amount of vertical and horizontal field of view. When GDC is enabled on the AVCaptureDevice (see geometricDistortionCorrectionEnabled), the corrected image is upscaled to the original image size when needed.  With respect to the AVCaptureDevice.videoZoomFactor API, the full viewable field of view is always represented with a videoZoomFactor of 1.0. Thus, when GDC is enabled, the AVCaptureDevice.activeFormat's field of view at videoZoomFactor = 1.0 will be different than when GDC is disabled. The smaller field of view is reported through the activeFormat's geometricDistortionCorrectedVideoFieldOfView property. Beware though that RAW photo captures never have GDC applied, regardless of the value of AVCaptureDevice.geometricDistortionCorrectionEnabled.
2407 |  */
2408 | @property(nonatomic, readonly, getter=isGeometricDistortionCorrectionSupported) BOOL geometricDistortionCorrectionSupported API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                                                                      `- note: 'isGeometricDistortionCorrectionSupported' has been explicitly marked unavailable here
2409 |
2410 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Depth.swift:74:62: error: 'isGeometricDistortionCorrectionEnabled' is unavailable in visionOS
72 |             // (`prm_restoreGeometricDistortionCorrectionIfNeeded()`).
73 |             #if !os(macOS)
74 |                 if isGeometricDistortionCorrectionSupported, isGeometricDistortionCorrectionEnabled {
   |                                                              `- error: 'isGeometricDistortionCorrectionEnabled' is unavailable in visionOS
75 |                     isGeometricDistortionCorrectionEnabled = false
76 |                     prm_noteDisabledByPrism(.geometricDistortionCorrection)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2425:74: note: 'isGeometricDistortionCorrectionEnabled' has been explicitly marked unavailable here
2423 |     When GDC is enabled, AVCaptureVideoDataOutput buffers contain GDC metadata attachments, and AVCaptureMovieFileOutput movies contain GDC metadata which an application supporting ProRes RAW can optionally apply at playback time using the ProRes RAW SDK. To learn more about the ProRes RAW SDK, refer to the Apple ProRes and ProRes RAW Authorized Products article at https://support.apple.com/en-us/118584.
2424 |  */
2425 | @property(nonatomic, getter=isGeometricDistortionCorrectionEnabled) BOOL geometricDistortionCorrectionEnabled API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                                                          `- note: 'isGeometricDistortionCorrectionEnabled' has been explicitly marked unavailable here
2426 |
2427 | @end
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPortraitReadiness.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMPortraitReadiness.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMRecording.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMRecording.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMVideoRecorder.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMVideoRecorder.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureConnection+Stabilization.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AVCaptureConnection+Stabilization.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Aperture.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AVCaptureDevice+Aperture.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+AspectRatio.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AVCaptureDevice+AspectRatio.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Cinematic.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AVCaptureDevice+Cinematic.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Configuration.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AVCaptureDevice+Configuration.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Depth.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AVCaptureDevice+Depth.swift
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Depth.swift:75:21: error: 'isGeometricDistortionCorrectionEnabled' is unavailable in visionOS
73 |             #if !os(macOS)
74 |                 if isGeometricDistortionCorrectionSupported, isGeometricDistortionCorrectionEnabled {
75 |                     isGeometricDistortionCorrectionEnabled = false
   |                     `- error: 'isGeometricDistortionCorrectionEnabled' is unavailable in visionOS
76 |                     prm_noteDisabledByPrism(.geometricDistortionCorrection)
77 |                 }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2425:74: note: 'isGeometricDistortionCorrectionEnabled' has been explicitly marked unavailable here
2423 |     When GDC is enabled, AVCaptureVideoDataOutput buffers contain GDC metadata attachments, and AVCaptureMovieFileOutput movies contain GDC metadata which an application supporting ProRes RAW can optionally apply at playback time using the ProRes RAW SDK. To learn more about the ProRes RAW SDK, refer to the Apple ProRes and ProRes RAW Authorized Products article at https://support.apple.com/en-us/118584.
2424 |  */
2425 | @property(nonatomic, getter=isGeometricDistortionCorrectionEnabled) BOOL geometricDistortionCorrectionEnabled API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                                                          `- note: 'isGeometricDistortionCorrectionEnabled' has been explicitly marked unavailable here
2426 |
2427 | @end
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Depth.swift:83:16: error: 'activeDepthDataFormat' is unavailable in visionOS
81 |                 activeFormat = targetFormat
82 |             }
83 |             if activeDepthDataFormat !== targetDepthFormat {
   |                `- error: 'activeDepthDataFormat' is unavailable in visionOS
84 |                 activeDepthDataFormat = targetDepthFormat
85 |             }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2351:63: note: 'activeDepthDataFormat' has been explicitly marked unavailable here
2349 |     Delivery of depth data to a AVCaptureDepthDataOutput may increase the system load, resulting in a reduced video frame rate for thermal sustainability.
2350 |  */
2351 | @property(nonatomic, retain, nullable) AVCaptureDeviceFormat *activeDepthDataFormat API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                               `- note: 'activeDepthDataFormat' has been explicitly marked unavailable here
2352 |
2353 | /*!
SwiftCompile normal arm64 Compiling\ PRMLivePhoto.swift,\ PRMNightModeCapture.swift,\ PRMOutputResolver.swift,\ PRMPhoto.swift,\ PRMPhotoCapture+Delegate.swift,\ PRMPhotoCapture+Encoding.swift,\ PRMPhotoCapture.swift,\ PRMPhotoSettings.swift,\ PRMPortraitPhoto.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMLivePhoto.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMNightModeCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMOutputResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhoto.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Delegate.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Encoding.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPortraitPhoto.swift (in target 'PrismCore' from project 'Prism')
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhoto.swift:13:33: error: 'AVCapturePhoto' is unavailable in visionOS
11 |     /// The raw `AVCapturePhoto` reference, retained for advanced consumers (depth, portrait
12 |     /// effects matte, etc.).
13 |     public let underlyingPhoto: AVCapturePhoto
   |                                 `- error: 'AVCapturePhoto' is unavailable in visionOS
14 |
15 |     /// EXIF/TIFF metadata dictionaries extracted from the underlying photo's properties.
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhoto.swift:23:26: error: 'AVCapturePhoto' is unavailable in visionOS
21 |     public init(
22 |         data: Data,
23 |         underlyingPhoto: AVCapturePhoto,
   |                          `- error: 'AVCapturePhoto' is unavailable in visionOS
24 |         metadata: [String: Any],
25 |         timestamp: Date = Date()
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:13:19: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 11 | extension PRMPhotoCapture: AVCapturePhotoCaptureDelegate {
 12 |     public func photoOutput(
 13 |         _ output: AVCapturePhotoOutput,
    |                   `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 14 |         willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings
 15 |     ) {
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:14:47: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 12 |     public func photoOutput(
 13 |         _ output: AVCapturePhotoOutput,
 14 |         willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings
    |                                               `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 15 |     ) {
 16 |         peek(resolvedSettings.uniqueID)?.willCapture?()
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:20:19: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 18 |
 19 |     public func photoOutput(
 20 |         _ output: AVCapturePhotoOutput,
    |                   `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 21 |         didFinishProcessingPhoto photo: AVCapturePhoto,
 22 |         error: (any Error)?
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:21:41: error: 'AVCapturePhoto' is unavailable in visionOS
 19 |     public func photoOutput(
 20 |         _ output: AVCapturePhotoOutput,
 21 |         didFinishProcessingPhoto photo: AVCapturePhoto,
    |                                         `- error: 'AVCapturePhoto' is unavailable in visionOS
 22 |         error: (any Error)?
 23 |     ) {
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:43:19: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 41 |     /// `didFinishCaptureFor`, which carries the resolved settings this callback lacks.
 42 |     public func photoOutput(
 43 |         _ output: AVCapturePhotoOutput,
    |                   `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 44 |         didFinishCapturingDeferredPhotoProxy deferredPhotoProxy: AVCaptureDeferredPhotoProxy?,
 45 |         error: (any Error)?
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:44:66: error: 'AVCaptureDeferredPhotoProxy' is unavailable in visionOS
 42 |     public func photoOutput(
 43 |         _ output: AVCapturePhotoOutput,
 44 |         didFinishCapturingDeferredPhotoProxy deferredPhotoProxy: AVCaptureDeferredPhotoProxy?,
    |                                                                  `- error: 'AVCaptureDeferredPhotoProxy' is unavailable in visionOS
 45 |         error: (any Error)?
 46 |     ) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2343:12: note: 'AVCaptureDeferredPhotoProxy' has been explicitly marked unavailable here
2341 |  */
2342 | API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, visionos) API_UNAVAILABLE(watchos)
2343 | @interface AVCaptureDeferredPhotoProxy : AVCapturePhoto
     |            `- note: 'AVCaptureDeferredPhotoProxy' has been explicitly marked unavailable here
2344 |
2345 | AV_INIT_UNAVAILABLE
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:55:19: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 53 |
 54 |     public func photoOutput(
 55 |         _ output: AVCapturePhotoOutput,
    |                   `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 56 |         didFinishProcessingLivePhotoToMovieFileAt outputFileURL: URL,
 57 |         duration: CMTime,
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:59:27: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 57 |         duration: CMTime,
 58 |         photoDisplayTime: CMTime,
 59 |         resolvedSettings: AVCaptureResolvedPhotoSettings,
    |                           `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 60 |         error: (any Error)?
 61 |     ) {
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:94:19: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 92 |     /// capture AVFoundation abandoned.
 93 |     public func photoOutput(
 94 |         _ output: AVCapturePhotoOutput,
    |                   `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 95 |         didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings,
 96 |         error: (any Error)?
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:95:47: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 93 |     public func photoOutput(
 94 |         _ output: AVCapturePhotoOutput,
 95 |         didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings,
    |                                               `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 96 |         error: (any Error)?
 97 |     ) {
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:122:39: error: 'AVCapturePhoto' is unavailable in visionOS
120 |     /// tens of milliseconds and the lock also guards cancellation and other captures), then
121 |     /// settles under the lock again. Continuations resume after the lock is released.
122 |     private func finishCapture(photo: AVCapturePhoto, error: (any Error)?) {
    |                                       `- error: 'AVCapturePhoto' is unavailable in visionOS
123 |         let id = photo.resolvedSettings.uniqueID
124 |
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:19:17: error: cannot override 'photoOutput' which has been marked unavailable
 17 |     }
 18 |
 19 |     public func photoOutput(
    |                 `- error: cannot override 'photoOutput' which has been marked unavailable
 20 |         _ output: AVCapturePhotoOutput,
 21 |         didFinishProcessingPhoto photo: AVCapturePhoto,
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:42:17: error: cannot override 'photoOutput' which has been marked unavailable
 40 |     /// proxy is a failure with no follow-up; the capture is identified (and failed) in
 41 |     /// `didFinishCaptureFor`, which carries the resolved settings this callback lacks.
 42 |     public func photoOutput(
    |                 `- error: cannot override 'photoOutput' which has been marked unavailable
 43 |         _ output: AVCapturePhotoOutput,
 44 |         didFinishCapturingDeferredPhotoProxy deferredPhotoProxy: AVCaptureDeferredPhotoProxy?,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1071:1: note: 'photoOutput(_:didFinishCapturingDeferredPhotoProxy:error:)' has been explicitly marked unavailable here
1069 |      Delegates are required to implement this method if they opt in for deferred photo processing, otherwise an NSInvalidArgumentException will be thrown from the -[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] method.
1070 | */
1071 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishCapturingDeferredPhotoProxy:(nullable AVCaptureDeferredPhotoProxy *)deferredPhotoProxy error:(nullable NSError *)error NS_SWIFT_NAME(photoOutput(_:didFinishCapturingDeferredPhotoProxy:error:)) API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, visionos) API_UNAVAILABLE(watchos);
     | `- note: 'photoOutput(_:didFinishCapturingDeferredPhotoProxy:error:)' has been explicitly marked unavailable here
1072 |
1073 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:11:28: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
  9 | // empty, a Live Photo whose movie never arrived) is failed there instead of hanging.
 10 |
 11 | extension PRMPhotoCapture: AVCapturePhotoCaptureDelegate {
    |                            `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
 12 |     public func photoOutput(
 13 |         _ output: AVCapturePhotoOutput,
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Encoding.swift:18:36: error: 'AVCapturePhoto' is unavailable in visionOS
 16 |     /// auto-AE values into a bracket capture's EXIF on iPhone 14 Pro+, Apple dev-forum
 17 |     /// 120427). Falls back to the unpatched data when the patch is declined.
 18 |     static func fileData(of photo: AVCapturePhoto, manualISO: Float?, manualDuration: CMTime?) -> Data? {
    |                                    `- error: 'AVCapturePhoto' is unavailable in visionOS
 19 |         guard let manualISO, let manualDuration, manualDuration.isValid else {
 20 |             return photo.fileDataRepresentation()
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Encoding.swift:31:16: error: 'AVCapturePhoto' is unavailable in visionOS
 29 |     func renderPhoto(
 30 |         originalData: Data,
 31 |         photo: AVCapturePhoto,
    |                `- error: 'AVCapturePhoto' is unavailable in visionOS
 32 |         pending: PendingCapture
 33 |     ) -> PRMPhoto {
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Encoding.swift:124:42: error: 'AVCapturePhoto' is unavailable in visionOS
122 |
123 |     /// `"4032x3024"`: the photo's resolved dimensions.
124 |     static func dimensionsText(of photo: AVCapturePhoto) -> String {
    |                                          `- error: 'AVCapturePhoto' is unavailable in visionOS
125 |         let dims = photo.resolvedSettings.photoDimensions
126 |         return "\(dims.width)x\(dims.height)"
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Encoding.swift:196:41: error: 'AVCapturePhoto' is unavailable in visionOS
194 |     /// the canonical safe form.
195 |     @objc(replacementMetadataForPhoto:)
196 |     func replacementMetadata(for photo: AVCapturePhoto) -> [String: Any]? {
    |                                         `- error: 'AVCapturePhoto' is unavailable in visionOS
197 |         var metadata = photo.metadata
198 |         var exif = (metadata[kCGImagePropertyExifDictionary as String] as? [String: Any]) ?? [:]
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture+Encoding.swift:178:5: error: 'AVCapturePhotoFileDataRepresentationCustomizer' is unavailable in visionOS
176 | /// `fileDataRepresentation(with:)` call.
177 | private final class ExposurePatchCustomizer: NSObject,
178 |     AVCapturePhotoFileDataRepresentationCustomizer {
    |     `- error: 'AVCapturePhotoFileDataRepresentationCustomizer' is unavailable in visionOS
179 |     private let iso: Float
180 |     private let exposureDuration: CMTime
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2358:11: note: 'AVCapturePhotoFileDataRepresentationCustomizer' has been explicitly marked unavailable here
2356 |  */
2357 | API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
2358 | @protocol AVCapturePhotoFileDataRepresentationCustomizer <NSObject>
     |           `- note: 'AVCapturePhotoFileDataRepresentationCustomizer' has been explicitly marked unavailable here
2359 |
2360 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Encoding.swift:20:26: error: 'fileDataRepresentation()' is unavailable in visionOS
 18 |     static func fileData(of photo: AVCapturePhoto, manualISO: Float?, manualDuration: CMTime?) -> Data? {
 19 |         guard let manualISO, let manualDuration, manualDuration.isValid else {
 20 |             return photo.fileDataRepresentation()
    |                          `- error: 'fileDataRepresentation()' is unavailable in visionOS
 21 |         }
 22 |         let customizer = ExposurePatchCustomizer(iso: manualISO, exposureDuration: manualDuration)
/Applications/Xcode-27.0.0.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 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Encoding.swift:23:22: error: 'fileDataRepresentation(with:)' is unavailable in visionOS
 21 |         }
 22 |         let customizer = ExposurePatchCustomizer(iso: manualISO, exposureDuration: manualDuration)
 23 |         return photo.fileDataRepresentation(with: customizer) ?? photo.fileDataRepresentation()
    |                      `- error: 'fileDataRepresentation(with:)' is unavailable in visionOS
 24 |     }
 25 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2180:1: note: 'fileDataRepresentation(with:)' has been explicitly marked unavailable here
2178 |     An NSData containing bits in the file container's format, or nil if the flattening process fails.
2179 |  */
2180 | - (nullable NSData *)fileDataRepresentationWithCustomizer:(id<AVCapturePhotoFileDataRepresentationCustomizer>)customizer API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     | `- note: 'fileDataRepresentation(with:)' has been explicitly marked unavailable here
2181 |
2182 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Encoding.swift:23:72: error: 'fileDataRepresentation()' is unavailable in visionOS
 21 |         }
 22 |         let customizer = ExposurePatchCustomizer(iso: manualISO, exposureDuration: manualDuration)
 23 |         return photo.fileDataRepresentation(with: customizer) ?? photo.fileDataRepresentation()
    |                                                                        `- error: 'fileDataRepresentation()' is unavailable in visionOS
 24 |     }
 25 |
/Applications/Xcode-27.0.0.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 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Encoding.swift:158:50: error: 'AVCaptureDeferredPhotoProxy' is unavailable in visionOS
156 |         switch result {
157 |         case let .success(photo):
158 |             let proxy = photo.underlyingPhoto is AVCaptureDeferredPhotoProxy ? " (deferred proxy)" : ""
    |                                                  `- error: 'AVCaptureDeferredPhotoProxy' is unavailable in visionOS
159 |             let smaller = smallerThanRequestedText(photo.underlyingPhoto.resolvedSettings.photoDimensions, requested: requested, sizeLimit: sizeLimit)
160 |             PRMLog.notice(
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2343:12: note: 'AVCaptureDeferredPhotoProxy' has been explicitly marked unavailable here
2341 |  */
2342 | API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, visionos) API_UNAVAILABLE(watchos)
2343 | @interface AVCaptureDeferredPhotoProxy : AVCapturePhoto
     |            `- note: 'AVCaptureDeferredPhotoProxy' has been explicitly marked unavailable here
2344 |
2345 | AV_INIT_UNAVAILABLE
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:47:45: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 45 |     // MARK: - Properties
 46 |
 47 |     private let resolver: PRMOutputResolver<AVCapturePhotoOutput>
    |                                             `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 48 |
 49 |     /// The output the wrapper was constructed against (legacy init) or — for the
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:53:24: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 51 |     /// first one. Captures resolve the live output themselves; this may be stale between
 52 |     /// captures.
 53 |     public var output: AVCapturePhotoOutput? {
    |                        `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 54 |         resolver.latest
 55 |     }
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:72:25: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 70 |     /// virtual-device swap), every capture will fail at the AVFoundation gate. Prefer
 71 |     /// ``init(session:)`` for any session that may reconfigure.
 72 |     public init(output: AVCapturePhotoOutput) {
    |                         `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 73 |         resolver = PRMOutputResolver(fixed: output)
 74 |         super.init()
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:281:57: error: 'AVCapturePhotoOutput' is unavailable in visionOS
279 |     /// returns nil — i.e. the consuming app hasn't attached a photo output to the session
280 |     /// (`setPhotoOutputAttached(true)`) or the session has been torn down.
281 |     private func resolveCurrentOutput() async throws -> AVCapturePhotoOutput {
    |                                                         `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
282 |         guard let resolved = await resolver.resolve() else {
283 |             PRMLog.error(.capture, "No photo output attached to the session; capture refused")
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:295:43: error: 'AVCapturePhotoOutput' is unavailable in visionOS
293 |     /// ``PRMSessionError/photoCaptureFailed(_:)`` at the timeout and
294 |     /// ``PRMSessionError/cancelled`` when the task is cancelled.
295 |     private func waitUntilReady(_ output: AVCapturePhotoOutput, timeout: TimeInterval = PRMPhotoCapture.readinessTimeout) async throws {
    |                                           `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
296 |         let pollStep: UInt64 = 50_000_000
297 |         let deadline = Date().addingTimeInterval(timeout)
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:324:69: error: 'AVCapturePhotoOutput' is unavailable in visionOS
322 |     /// a session reconfigure. No-op for `nil` or an unsupported angle.
323 |     @PRMCameraActor
324 |     private static func applyRotation(_ angle: CGFloat?, to output: AVCapturePhotoOutput) {
    |                                                                     `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
325 |         guard let angle, let connection = output.connection(with: .video),
326 |               connection.isVideoRotationAngleSupported(angle)
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:339:23: error: 'AVCapturePhotoSettings' is unavailable in visionOS
337 |     /// caught here and never fires the shutter.
338 |     private func fire<Value>(
339 |         _ avSettings: AVCapturePhotoSettings,
    |                       `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
340 |         on output: AVCapturePhotoOutput,
341 |         pending: PendingCapture,
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:340:20: error: 'AVCapturePhotoOutput' is unavailable in visionOS
338 |     private func fire<Value>(
339 |         _ avSettings: AVCapturePhotoSettings,
340 |         on output: AVCapturePhotoOutput,
    |                    `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
341 |         pending: PendingCapture,
342 |         install: @escaping (PendingCapture, CheckedContinuation<Value, any Error>) -> Void
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:370:23: error: 'AVCapturePhotoSettings' is unavailable in visionOS
368 |     /// come back smaller than the settings ask (see ``sizeLimit(of:output:manualCapture:)``).
369 |     private struct PreparedSettings {
370 |         let settings: AVCapturePhotoSettings
    |                       `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
371 |         let manualISO: Float?
372 |         let manualDuration: CMTime?
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:385:77: error: 'AVCapturePhotoOutput' is unavailable in visionOS
383 |     /// the photo then takes the device's own exposure, and the EXIF is patched only when
384 |     /// that exposure is manual.
385 |     private func prepareStillSettings(_ settings: PRMPhotoSettings, output: AVCapturePhotoOutput) -> PreparedSettings {
    |                                                                             `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
386 |         let device = output.prm_sourceDevice
387 |         let override = settings.manualExposureOverride.flatMap { Self.clampedExposure($0, for: device) }
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:416:40: error: 'AVCapturePhotoSettings' is unavailable in visionOS
414 |     /// - The 24 MP entry (5712 × 4284) is only delivered through auto-deferred photo delivery
415 |     ///   (`AVCapturePhotoOutput.maxPhotoDimensions`).
416 |     static func sizeLimit(of settings: AVCapturePhotoSettings, output: AVCapturePhotoOutput, manualCapture: Bool) -> String? {
    |                                        `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
417 |         if manualCapture || settings is AVCapturePhotoBracketSettings {
418 |             return "manual exposure and locked white balance capture at 12 MP"
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:416:72: error: 'AVCapturePhotoOutput' is unavailable in visionOS
414 |     /// - The 24 MP entry (5712 × 4284) is only delivered through auto-deferred photo delivery
415 |     ///   (`AVCapturePhotoOutput.maxPhotoDimensions`).
416 |     static func sizeLimit(of settings: AVCapturePhotoSettings, output: AVCapturePhotoOutput, manualCapture: Bool) -> String? {
    |                                                                        `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
417 |         if manualCapture || settings is AVCapturePhotoBracketSettings {
418 |             return "manual exposure and locked white balance capture at 12 MP"
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:434:34: error: 'AVCapturePhotoOutput' is unavailable in visionOS
432 |
433 |     /// "speed", "balanced", "quality".
434 |     static func name(of quality: AVCapturePhotoOutput.QualityPrioritization) -> String {
    |                                  `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
435 |         switch quality {
436 |         case .speed: "speed"
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:445:72: error: 'AVCapturePhotoOutput' is unavailable in visionOS
443 |     /// Why a manual-exposure bracket can't fire on `output` now, `nil` when it can. Firing one
444 |     /// anyway raises `NSInvalidArgumentException`, which Swift can't catch.
445 |     static func manualBracketBlocker(device: AVCaptureDevice?, output: AVCapturePhotoOutput) -> String? {
    |                                                                        `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
446 |         guard output.maxBracketedCapturePhotoCount >= 1 else { return "the output allows no bracketed capture" }
447 |         guard let device else { return "no camera is connected to the output" }
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:462:17: error: 'AVCapturePhotoOutput' is unavailable in visionOS
460 |         override: (iso: Float, duration: CMTime)?,
461 |         device: AVCaptureDevice?,
462 |         output: AVCapturePhotoOutput
    |                 `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
463 |     ) -> PreparedSettings {
464 |         let processedFormat: [String: Any]? = PRMPhotoSettings.availableCodec(settings.codec, on: output).map { [AVVideoCodecKey: $0] }
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:533:60: error: 'AVCapturePhotoSettings' is unavailable in visionOS
531 |     /// Returns whether it forced `.speed`.
532 |     @discardableResult
533 |     private func applyManualExposureOverrides(on settings: AVCapturePhotoSettings, output: AVCapturePhotoOutput) -> Bool {
    |                                                            `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
534 |         guard let device = output.prm_sourceDevice else { return false }
535 |         let exposureIsManual = device.exposureMode == .custom || device.exposureMode == .locked
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:533:92: error: 'AVCapturePhotoOutput' is unavailable in visionOS
531 |     /// Returns whether it forced `.speed`.
532 |     @discardableResult
533 |     private func applyManualExposureOverrides(on settings: AVCapturePhotoSettings, output: AVCapturePhotoOutput) -> Bool {
    |                                                                                            `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
534 |         guard let device = output.prm_sourceDevice else { return false }
535 |         let exposureIsManual = device.exposureMode == .custom || device.exposureMode == .locked
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:555:46: error: 'AVCapturePhotoSettings' is unavailable in visionOS
553 |     /// request. When `.auto` is unsupported we fall through to `.on` (closest behavioral
554 |     /// match — "fire flash when shutter opens"), then `.off` as a last resort.
555 |     private func clampFlashMode(on settings: AVCapturePhotoSettings, output: AVCapturePhotoOutput) {
    |                                              `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
556 |         let supported = output.supportedFlashModes
557 |         guard !supported.contains(settings.flashMode) else { return }
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:555:78: error: 'AVCapturePhotoOutput' is unavailable in visionOS
553 |     /// request. When `.auto` is unsupported we fall through to `.on` (closest behavioral
554 |     /// match — "fire flash when shutter opens"), then `.off` as a last resort.
555 |     private func clampFlashMode(on settings: AVCapturePhotoSettings, output: AVCapturePhotoOutput) {
    |                                                                              `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
556 |         let supported = output.supportedFlashModes
557 |         guard !supported.contains(settings.flashMode) else { return }
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:574:75: error: 'AVCapturePhotoOutput' is unavailable in visionOS
572 |     /// depth). Reading a stale output here would request depth from an output that no longer
573 |     /// delivers it, which raises.
574 |     static func portraitSettings(from settings: PRMPhotoSettings, output: AVCapturePhotoOutput) -> PRMPhotoSettings {
    |                                                                           `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
575 |         var portrait = settings
576 |         if portrait.codec == nil, output.availablePhotoCodecTypes.contains(.hevc) {
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:168:38: error: 'maxPhotoDimensions' is unavailable in visionOS
166 |         let settings = portrait ? Self.portraitSettings(from: requested, output: liveOutput) : requested
167 |         let prepared = prepareStillSettings(settings, output: liveOutput)
168 |         let dims = prepared.settings.maxPhotoDimensions
    |                                      `- error: 'maxPhotoDimensions' is unavailable in visionOS
169 |         let ceiling = liveOutput.maxPhotoDimensions
170 |         PRMLog.debug(
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1456:40: note: 'maxPhotoDimensions' has been explicitly marked unavailable here
1454 | 	By setting this property you are requesting an image that may be up to as large as the specified dimensions, but no larger. The dimensions set must match one of the dimensions returned by AVCaptureDeviceFormat.supportedMaxPhotoDimensions for the currently configured format and be equal to or smaller than the value of AVCapturePhotoOutput.maxPhotoDimensions. This property defaults to the smallest dimensions returned by AVCaptureDeviceFormat.supportedMaxPhotoDimensions.
1455 |  */
1456 | @property(nonatomic) CMVideoDimensions maxPhotoDimensions API_AVAILABLE(ios(16.0), macos(13.0), macCatalyst(16.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                        `- note: 'maxPhotoDimensions' has been explicitly marked unavailable here
1457 |
1458 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:169:34: error: 'maxPhotoDimensions' is unavailable in visionOS
167 |         let prepared = prepareStillSettings(settings, output: liveOutput)
168 |         let dims = prepared.settings.maxPhotoDimensions
169 |         let ceiling = liveOutput.maxPhotoDimensions
    |                                  `- error: 'maxPhotoDimensions' is unavailable in visionOS
170 |         PRMLog.debug(
171 |             .capture,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:547:40: note: 'maxPhotoDimensions' has been explicitly marked unavailable here
 545 |     Note: When supported, the 24MP setting (5712, 4284) is only serviced as 24MP when opted-in to autoDeferredPhotoDeliveryEnabled.
 546 |  */
 547 | @property(nonatomic) CMVideoDimensions maxPhotoDimensions API_AVAILABLE(ios(16.0), macos(13.0), macCatalyst(16.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                        `- note: 'maxPhotoDimensions' has been explicitly marked unavailable here
 548 |
 549 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:174:55: error: 'photoQualityPrioritization' is unavailable in visionOS
172 |             """
173 |             capturePhoto: \(Self.sizeText(dims)) (output allows \(ceiling.width)×\(ceiling.height)), \
174 |             quality=\(Self.name(of: prepared.settings.photoQualityPrioritization)), \
    |                                                       `- error: 'photoQualityPrioritization' is unavailable in visionOS
175 |             depth=\(liveOutput.isDepthDataDeliveryEnabled), portrait=\(portrait)
176 |             """
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1382:58: note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1380 |     Default value is AVCapturePhotoQualityPrioritizationBalanced. The AVCapturePhotoOutput is capable of applying a variety of techniques to improve photo quality (reduce noise, preserve detail in low light, freeze motion, etc), depending on the source device's activeFormat. Some of these techniques can take significant processing time before the photo is returned to your delegate callback. The photoQualityPrioritization property allows you to specify your preferred quality vs speed of delivery. By default, speed and quality are considered to be of equal importance. When you specify AVCapturePhotoQualityPrioritizationSpeed, you indicate that speed should be prioritized at the expense of quality. Likewise, when you choose AVCapturePhotoQualityPrioritizationQuality, you signal your willingness to prioritize the very best quality at the expense of speed, and your readiness to wait (perhaps significantly) longer for the photo to be returned to your delegate.
1381 |  */
1382 | @property(nonatomic) AVCapturePhotoQualityPrioritization photoQualityPrioritization API_AVAILABLE(macos(13.0), ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                          `- note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1383 |
1384 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:175:32: error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
173 |             capturePhoto: \(Self.sizeText(dims)) (output allows \(ceiling.width)×\(ceiling.height)), \
174 |             quality=\(Self.name(of: prepared.settings.photoQualityPrioritization)), \
175 |             depth=\(liveOutput.isDepthDataDeliveryEnabled), portrait=\(portrait)
    |                                `- error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
176 |             """
177 |         )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:930:62: note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
 928 |     Default is NO. Set to YES if you wish depth data to be delivered with your AVCapturePhotos. This property may only be set to YES if depthDataDeliverySupported is YES. Enabling depth data delivery requires a lengthy reconfiguration of the capture render pipeline, so if you intend to capture depth data, you should set this property to YES before calling -[AVCaptureSession startRunning].
 929 |  */
 930 | @property(nonatomic, getter=isDepthDataDeliveryEnabled) BOOL depthDataDeliveryEnabled API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                              `- note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
 931 |
 932 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:326:26: error: 'isVideoRotationAngleSupported' is unavailable in visionOS
324 |     private static func applyRotation(_ angle: CGFloat?, to output: AVCapturePhotoOutput) {
325 |         guard let angle, let connection = output.connection(with: .video),
326 |               connection.isVideoRotationAngleSupported(angle)
    |                          `- error: 'isVideoRotationAngleSupported' is unavailable in visionOS
327 |         else { return }
328 |         if connection.videoRotationAngle != angle {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1077:1: note: 'isVideoRotationAngleSupported' has been explicitly marked unavailable here
1075 |     The connection's videoRotationAngle property can only be set to a certain angle if this method returns YES for that angle. Only rotation angles of 0, 90, 180 and 270 are supported.
1076 |  */
1077 | - (BOOL)isVideoRotationAngleSupported:(CGFloat)videoRotationAngle API_AVAILABLE(macos(14.0), ios(17.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'isVideoRotationAngleSupported' has been explicitly marked unavailable here
1078 |
1079 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:328:23: error: 'videoRotationAngle' is unavailable in visionOS
326 |               connection.isVideoRotationAngleSupported(angle)
327 |         else { return }
328 |         if connection.videoRotationAngle != angle {
    |                       `- error: 'videoRotationAngle' is unavailable in visionOS
329 |             connection.videoRotationAngle = angle
330 |         }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1091:30: note: 'videoRotationAngle' has been explicitly marked unavailable here
1089 |     Clients using AVCaptureVideoDataOutput with ProRes Raw should set videoRotationAngle to 0 as rotation is not supported for RAW buffers. If clients want to rotate these buffers themselves they need to apply rotation angles (videoRotationAngleForHorizonLevelPreview, videoRotationAngleForHorizonLevelCapture) provided by AVCaptureDeviceRotationCoordinator.
1090 |  */
1091 | @property(nonatomic) CGFloat videoRotationAngle API_AVAILABLE(macos(14.0), ios(17.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     |                              `- note: 'videoRotationAngle' has been explicitly marked unavailable here
1092 |
1093 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:329:24: error: 'videoRotationAngle' is unavailable in visionOS
327 |         else { return }
328 |         if connection.videoRotationAngle != angle {
329 |             connection.videoRotationAngle = angle
    |                        `- error: 'videoRotationAngle' is unavailable in visionOS
330 |         }
331 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1091:30: note: 'videoRotationAngle' has been explicitly marked unavailable here
1089 |     Clients using AVCaptureVideoDataOutput with ProRes Raw should set videoRotationAngle to 0 as rotation is not supported for RAW buffers. If clients want to rotate these buffers themselves they need to apply rotation angles (videoRotationAngleForHorizonLevelPreview, videoRotationAngleForHorizonLevelCapture) provided by AVCaptureDeviceRotationCoordinator.
1090 |  */
1091 | @property(nonatomic) CGFloat videoRotationAngle API_AVAILABLE(macos(14.0), ios(17.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     |                              `- note: 'videoRotationAngle' has been explicitly marked unavailable here
1092 |
1093 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:388:55: error: 'custom' is unavailable in visionOS
386 |         let device = output.prm_sourceDevice
387 |         let override = settings.manualExposureOverride.flatMap { Self.clampedExposure($0, for: device) }
388 |         let deviceInCustom = device?.exposureMode == .custom
    |                                                       `- error: 'custom' is unavailable in visionOS
389 |         if override != nil || deviceInCustom {
390 |             guard let blocker = Self.manualBracketBlocker(device: device, output: output) else {
AVFoundation.AVCaptureDevice.ExposureMode.custom:5:10: note: 'custom' has been explicitly marked unavailable here
3 | @available(iOS 8.0, *)
4 |     @available(visionOS, unavailable)
5 |     case custom  }
  |          `- note: 'custom' has been explicitly marked unavailable here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:417:41: error: 'AVCapturePhotoBracketSettings' is unavailable in visionOS
415 |     ///   (`AVCapturePhotoOutput.maxPhotoDimensions`).
416 |     static func sizeLimit(of settings: AVCapturePhotoSettings, output: AVCapturePhotoOutput, manualCapture: Bool) -> String? {
417 |         if manualCapture || settings is AVCapturePhotoBracketSettings {
    |                                         `- error: 'AVCapturePhotoBracketSettings' is unavailable in visionOS
418 |             return "manual exposure and locked white balance capture at 12 MP"
419 |         }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1700:12: note: 'AVCapturePhotoBracketSettings' has been explicitly marked unavailable here
1698 |  */
1699 | API_AVAILABLE(ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
1700 | @interface AVCapturePhotoBracketSettings : AVCapturePhotoSettings
     |            `- note: 'AVCapturePhotoBracketSettings' has been explicitly marked unavailable here
1701 | {
1702 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:420:29: error: 'maxPhotoDimensions' is unavailable in visionOS
418 |             return "manual exposure and locked white balance capture at 12 MP"
419 |         }
420 |         let dims = settings.maxPhotoDimensions
    |                             `- error: 'maxPhotoDimensions' is unavailable in visionOS
421 |         if dims.width == 5712, dims.height == 4284, !output.isAutoDeferredPhotoDeliveryEnabled {
422 |             return "24 MP is only delivered with auto-deferred photo delivery on"
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1456:40: note: 'maxPhotoDimensions' has been explicitly marked unavailable here
1454 | 	By setting this property you are requesting an image that may be up to as large as the specified dimensions, but no larger. The dimensions set must match one of the dimensions returned by AVCaptureDeviceFormat.supportedMaxPhotoDimensions for the currently configured format and be equal to or smaller than the value of AVCapturePhotoOutput.maxPhotoDimensions. This property defaults to the smallest dimensions returned by AVCaptureDeviceFormat.supportedMaxPhotoDimensions.
1455 |  */
1456 | @property(nonatomic) CMVideoDimensions maxPhotoDimensions API_AVAILABLE(ios(16.0), macos(13.0), macCatalyst(16.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                        `- note: 'maxPhotoDimensions' has been explicitly marked unavailable here
1457 |
1458 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:421:61: error: 'isAutoDeferredPhotoDeliveryEnabled' is unavailable in visionOS
419 |         }
420 |         let dims = settings.maxPhotoDimensions
421 |         if dims.width == 5712, dims.height == 4284, !output.isAutoDeferredPhotoDeliveryEnabled {
    |                                                             `- error: 'isAutoDeferredPhotoDeliveryEnabled' is unavailable in visionOS
422 |             return "24 MP is only delivered with auto-deferred photo delivery on"
423 |         }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:392:70: note: 'isAutoDeferredPhotoDeliveryEnabled' has been explicitly marked unavailable here
 390 |     Setting this value to either YES or NO requires a lengthy reconfiguration of the capture pipeline, so you should set this property before calling -[AVCaptureSession startRunning].  Setting this property to YES throws an NSInvalidArgumentException if autoDeferredPhotoDeliverySupported is NO.
 391 |  */
 392 | @property(nonatomic, getter=isAutoDeferredPhotoDeliveryEnabled) BOOL autoDeferredPhotoDeliveryEnabled API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, visionos) API_UNAVAILABLE(watchos);
     |                                                                      `- note: 'isAutoDeferredPhotoDeliveryEnabled' has been explicitly marked unavailable here
 393 |
 394 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:449:30: error: 'deviceType' is only available in visionOS 2.1 or newer
 42 | /// and only then builds its `AVCapturePhotoSettings`, against the output's state at that
 43 | /// moment: a reconfigure during the wait can't leave settings the output would reject.
 44 | public final class PRMPhotoCapture: NSObject, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
 45 |     // MARK: - Properties
 46 |
    :
443 |     /// Why a manual-exposure bracket can't fire on `output` now, `nil` when it can. Firing one
444 |     /// anyway raises `NSInvalidArgumentException`, which Swift can't catch.
445 |     static func manualBracketBlocker(device: AVCaptureDevice?, output: AVCapturePhotoOutput) -> String? {
    |                 `- note: add '@available' attribute to enclosing static method
446 |         guard output.maxBracketedCapturePhotoCount >= 1 else { return "the output allows no bracketed capture" }
447 |         guard let device else { return "no camera is connected to the output" }
448 |         guard device.prm_supportsManualExposureCapture else {
449 |             return "\(device.deviceType.rawValue) can't take a manual exposure"
    |                              |- error: 'deviceType' is only available in visionOS 2.1 or newer
    |                              `- note: add 'if #available' version check
450 |         }
451 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:465:25: error: 'AVCaptureManualExposureBracketedStillImageSettings' is unavailable in visionOS
463 |     ) -> PreparedSettings {
464 |         let processedFormat: [String: Any]? = PRMPhotoSettings.availableCodec(settings.codec, on: output).map { [AVVideoCodecKey: $0] }
465 |         let bracketed = AVCaptureManualExposureBracketedStillImageSettings.manualExposureSettings(
    |                         `- error: 'AVCaptureManualExposureBracketedStillImageSettings' is unavailable in visionOS
466 |             exposureDuration: override?.duration ?? AVCaptureDevice.currentExposureDuration,
467 |             iso: override?.iso ?? AVCaptureDevice.currentISO
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h:205:12: note: 'AVCaptureManualExposureBracketedStillImageSettings' has been explicitly marked unavailable here
203 |  */
204 | API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
205 | @interface AVCaptureManualExposureBracketedStillImageSettings : AVCaptureBracketedStillImageSettings
    |            `- note: 'AVCaptureManualExposureBracketedStillImageSettings' has been explicitly marked unavailable here
206 |
207 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:466:69: error: 'currentExposureDuration' is unavailable in visionOS
464 |         let processedFormat: [String: Any]? = PRMPhotoSettings.availableCodec(settings.codec, on: output).map { [AVVideoCodecKey: $0] }
465 |         let bracketed = AVCaptureManualExposureBracketedStillImageSettings.manualExposureSettings(
466 |             exposureDuration: override?.duration ?? AVCaptureDevice.currentExposureDuration,
    |                                                                     `- error: 'currentExposureDuration' is unavailable in visionOS
467 |             iso: override?.iso ?? AVCaptureDevice.currentISO
468 |         )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:62:25: note: 'currentExposureDuration' has been explicitly marked unavailable here
  60 | ///
  61 | /// This value may be passed to ``AVCaptureDevice/setExposureModeCustomWithDuration:ISO:completionHandler:`` or ``AVCaptureDevice/setExposureModeCustomWithLensAperture:duration:ISO:completionHandler:`` to lock it to its current value. Note that the device may be adjusting exposure duration at the time of the call, in which case ``AVCaptureDevice/exposureDuration`` may be locked to different value than the value obtained by querying the property.
  62 | AVF_EXPORT const CMTime AVCaptureExposureDurationCurrent API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                         `- note: 'currentExposureDuration' has been explicitly marked unavailable here
  63 |
  64 | /// A special value that may be passed as the ISO parameter of a device's `setExposureModeCustom...` methods to lock at the current gain value.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:467:51: error: 'currentISO' is unavailable in visionOS
465 |         let bracketed = AVCaptureManualExposureBracketedStillImageSettings.manualExposureSettings(
466 |             exposureDuration: override?.duration ?? AVCaptureDevice.currentExposureDuration,
467 |             iso: override?.iso ?? AVCaptureDevice.currentISO
    |                                                   `- error: 'currentISO' is unavailable in visionOS
468 |         )
469 |         let bracket = AVCapturePhotoBracketSettings(
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:67:24: note: 'currentISO' has been explicitly marked unavailable here
  65 | ///
  66 | /// This value may be passed to ``AVCaptureDevice/setExposureModeCustomWithDuration:ISO:completionHandler:`` or ``AVCaptureDevice/setExposureModeCustomWithLensAperture:duration:ISO:completionHandler:`` to lock it to its current value. Note that the device may be adjusting ISO at the time of the call, in which case ``AVCaptureDevice/ISO`` may be locked to different value than the value obtained by querying the property.
  67 | AVF_EXPORT const float AVCaptureISOCurrent API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                        `- note: 'currentISO' has been explicitly marked unavailable here
  68 |
  69 | /// A special value that may be passed as the lensAperture parameter of a device's `setExposureModeCustom...` methods to allow the system's auto-exposure system to manage the aperture.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:469:23: error: 'AVCapturePhotoBracketSettings' is unavailable in visionOS
467 |             iso: override?.iso ?? AVCaptureDevice.currentISO
468 |         )
469 |         let bracket = AVCapturePhotoBracketSettings(
    |                       `- error: 'AVCapturePhotoBracketSettings' is unavailable in visionOS
470 |             rawPixelFormatType: 0,
471 |             processedFormat: processedFormat,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1700:12: note: 'AVCapturePhotoBracketSettings' has been explicitly marked unavailable here
1698 |  */
1699 | API_AVAILABLE(ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
1700 | @interface AVCapturePhotoBracketSettings : AVCapturePhotoSettings
     |            `- note: 'AVCapturePhotoBracketSettings' has been explicitly marked unavailable here
1701 | {
1702 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:474:17: error: 'photoQualityPrioritization' is unavailable in visionOS
472 |             bracketedSettings: [bracketed]
473 |         )
474 |         bracket.photoQualityPrioritization = PRMPhotoSettings.clampedQuality(
    |                 `- error: 'photoQualityPrioritization' is unavailable in visionOS
475 |             bracket.photoQualityPrioritization,
476 |             max: output.maxPhotoQualityPrioritization
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1382:58: note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1380 |     Default value is AVCapturePhotoQualityPrioritizationBalanced. The AVCapturePhotoOutput is capable of applying a variety of techniques to improve photo quality (reduce noise, preserve detail in low light, freeze motion, etc), depending on the source device's activeFormat. Some of these techniques can take significant processing time before the photo is returned to your delegate callback. The photoQualityPrioritization property allows you to specify your preferred quality vs speed of delivery. By default, speed and quality are considered to be of equal importance. When you specify AVCapturePhotoQualityPrioritizationSpeed, you indicate that speed should be prioritized at the expense of quality. Likewise, when you choose AVCapturePhotoQualityPrioritizationQuality, you signal your willingness to prioritize the very best quality at the expense of speed, and your readiness to wait (perhaps significantly) longer for the photo to be returned to your delegate.
1381 |  */
1382 | @property(nonatomic) AVCapturePhotoQualityPrioritization photoQualityPrioritization API_AVAILABLE(macos(13.0), ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                          `- note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1383 |
1384 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:475:21: error: 'photoQualityPrioritization' is unavailable in visionOS
473 |         )
474 |         bracket.photoQualityPrioritization = PRMPhotoSettings.clampedQuality(
475 |             bracket.photoQualityPrioritization,
    |                     `- error: 'photoQualityPrioritization' is unavailable in visionOS
476 |             max: output.maxPhotoQualityPrioritization
477 |         )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1382:58: note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1380 |     Default value is AVCapturePhotoQualityPrioritizationBalanced. The AVCapturePhotoOutput is capable of applying a variety of techniques to improve photo quality (reduce noise, preserve detail in low light, freeze motion, etc), depending on the source device's activeFormat. Some of these techniques can take significant processing time before the photo is returned to your delegate callback. The photoQualityPrioritization property allows you to specify your preferred quality vs speed of delivery. By default, speed and quality are considered to be of equal importance. When you specify AVCapturePhotoQualityPrioritizationSpeed, you indicate that speed should be prioritized at the expense of quality. Likewise, when you choose AVCapturePhotoQualityPrioritizationQuality, you signal your willingness to prioritize the very best quality at the expense of speed, and your readiness to wait (perhaps significantly) longer for the photo to be returned to your delegate.
1381 |  */
1382 | @property(nonatomic) AVCapturePhotoQualityPrioritization photoQualityPrioritization API_AVAILABLE(macos(13.0), ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                          `- note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1383 |
1384 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:476:25: error: 'maxPhotoQualityPrioritization' is unavailable in visionOS
474 |         bracket.photoQualityPrioritization = PRMPhotoSettings.clampedQuality(
475 |             bracket.photoQualityPrioritization,
476 |             max: output.maxPhotoQualityPrioritization
    |                         `- error: 'maxPhotoQualityPrioritization' is unavailable in visionOS
477 |         )
478 |         if let requested = settings.maxDimensions,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:350:58: note: 'maxPhotoQualityPrioritization' has been explicitly marked unavailable here
 348 |     Setting the maxPhotoQualityPrioritization to .quality will turn on optical image stabilization if the -isHighPhotoQualitySupported of the source device's -activeFormat is true.
 349 |  */
 350 | @property(nonatomic) AVCapturePhotoQualityPrioritization maxPhotoQualityPrioritization API_AVAILABLE(macos(13.0), ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                          `- note: 'maxPhotoQualityPrioritization' has been explicitly marked unavailable here
 351 |
 352 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:481:48: error: 'supportedMaxPhotoDimensions' is unavailable in visionOS
479 |            let dimensions = PRMPhotoSettings.validatedMaxDimensions(
480 |                requested,
481 |                supported: device?.activeFormat.supportedMaxPhotoDimensions ?? [],
    |                                                `- error: 'supportedMaxPhotoDimensions' is unavailable in visionOS
482 |                ceiling: output.maxPhotoDimensions
483 |            ) {
AVFoundation.AVCaptureDevice.Format.supportedMaxPhotoDimensions:3:21: note: 'supportedMaxPhotoDimensions' has been explicitly marked unavailable here
1 | class AVCaptureDevice {
2 |   class Format {
3 | @nonobjc public var supportedMaxPhotoDimensions: [CMVideoDimensions] { get }  }
  |                     `- note: 'supportedMaxPhotoDimensions' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:482:32: error: 'maxPhotoDimensions' is unavailable in visionOS
480 |                requested,
481 |                supported: device?.activeFormat.supportedMaxPhotoDimensions ?? [],
482 |                ceiling: output.maxPhotoDimensions
    |                                `- error: 'maxPhotoDimensions' is unavailable in visionOS
483 |            ) {
484 |             bracket.maxPhotoDimensions = dimensions
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:547:40: note: 'maxPhotoDimensions' has been explicitly marked unavailable here
 545 |     Note: When supported, the 24MP setting (5712, 4284) is only serviced as 24MP when opted-in to autoDeferredPhotoDeliveryEnabled.
 546 |  */
 547 | @property(nonatomic) CMVideoDimensions maxPhotoDimensions API_AVAILABLE(ios(16.0), macos(13.0), macCatalyst(16.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                        `- note: 'maxPhotoDimensions' has been explicitly marked unavailable here
 548 |
 549 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:484:21: error: 'maxPhotoDimensions' is unavailable in visionOS
482 |                ceiling: output.maxPhotoDimensions
483 |            ) {
484 |             bracket.maxPhotoDimensions = dimensions
    |                     `- error: 'maxPhotoDimensions' is unavailable in visionOS
485 |         }
486 |         if settings.depthDataDelivery == true || settings.portraitEffectsMatte == true {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1456:40: note: 'maxPhotoDimensions' has been explicitly marked unavailable here
1454 | 	By setting this property you are requesting an image that may be up to as large as the specified dimensions, but no larger. The dimensions set must match one of the dimensions returned by AVCaptureDeviceFormat.supportedMaxPhotoDimensions for the currently configured format and be equal to or smaller than the value of AVCapturePhotoOutput.maxPhotoDimensions. This property defaults to the smallest dimensions returned by AVCaptureDeviceFormat.supportedMaxPhotoDimensions.
1455 |  */
1456 | @property(nonatomic) CMVideoDimensions maxPhotoDimensions API_AVAILABLE(ios(16.0), macos(13.0), macCatalyst(16.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                        `- note: 'maxPhotoDimensions' has been explicitly marked unavailable here
1457 |
1458 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:490:44: error: 'iso' is unavailable in visionOS
488 |         }
489 |         // EXIF patch: the override values, or what the device reports right before firing.
490 |         let iso = override?.iso ?? device?.iso
    |                                            `- error: 'iso' is unavailable in visionOS
491 |         let duration = override?.duration ?? device?.exposureDuration
492 |         return PreparedSettings(
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1563:38: note: 'iso' has been explicitly marked unavailable here
1561 | ///
1562 | /// This property indicates the sensor's sensitivity to light by means of a gain value applied to the signal.  Higher values correspond to brighter but noisier images. This property is key-value observable. It can be read at any time, regardless of exposure mode, but can only be set by either ``AVCaptureDevice/setExposureModeCustomWithDuration:ISO:completionHandler:`` or ``AVCaptureDevice/setExposureModeCustomWithLensAperture:duration:ISO:completionHandler:``.
1563 | @property(nonatomic, readonly) float ISO API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                      `- note: 'iso' has been explicitly marked unavailable here
1564 |
1565 | /// Specifies a rate limit for aperture motion, whenever auto-exposure is active.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:491:54: error: 'exposureDuration' is unavailable in visionOS
489 |         // EXIF patch: the override values, or what the device reports right before firing.
490 |         let iso = override?.iso ?? device?.iso
491 |         let duration = override?.duration ?? device?.exposureDuration
    |                                                      `- error: 'exposureDuration' is unavailable in visionOS
492 |         return PreparedSettings(
493 |             settings: bracket,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1558:39: note: 'exposureDuration' has been explicitly marked unavailable here
1556 | ///
1557 | /// Lower values increases the sharpness of objects in motion, but darkens the image unless the aperture is opened or ISO is increased. Exposure duration may be less than the frame duration, providing an anagolue to the shutter angle of film video cameras. This property is key-value observable. It can be read at any time, regardless of exposure mode, but can only be set by either ``AVCaptureDevice/setExposureModeCustomWithDuration:ISO:completionHandler:`` or ``AVCaptureDevice/setExposureModeCustomWithLensAperture:duration:ISO:completionHandler:``.
1558 | @property(nonatomic, readonly) CMTime exposureDuration API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                       `- note: 'exposureDuration' has been explicitly marked unavailable here
1559 |
1560 | /// The current exposure ISO value.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:507:44: error: 'minISO' is unavailable in visionOS
505 |         let format = device.activeFormat
506 |         let iso = exposure.iso.isFinite && exposure.iso > 0
507 |             ? min(max(exposure.iso, format.minISO), format.maxISO)
    |                                            `- error: 'minISO' is unavailable in visionOS
508 |             : AVCaptureDevice.currentISO
509 |         let duration = exposure.duration.isNumeric && CMTimeGetSeconds(exposure.duration) > 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3535:38: note: 'minISO' has been explicitly marked unavailable here
3533 |     This read-only property indicates the minimum supported exposure ISO value.
3534 |  */
3535 | @property(nonatomic, readonly) float minISO API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                      `- note: 'minISO' has been explicitly marked unavailable here
3536 |
3537 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:507:60: error: 'maxISO' is unavailable in visionOS
505 |         let format = device.activeFormat
506 |         let iso = exposure.iso.isFinite && exposure.iso > 0
507 |             ? min(max(exposure.iso, format.minISO), format.maxISO)
    |                                                            `- error: 'maxISO' is unavailable in visionOS
508 |             : AVCaptureDevice.currentISO
509 |         let duration = exposure.duration.isNumeric && CMTimeGetSeconds(exposure.duration) > 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3545:38: note: 'maxISO' has been explicitly marked unavailable here
3543 |     This read-only property indicates the maximum supported exposure ISO value.
3544 |  */
3545 | @property(nonatomic, readonly) float maxISO API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                      `- note: 'maxISO' has been explicitly marked unavailable here
3546 |
3547 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:508:31: error: 'currentISO' is unavailable in visionOS
506 |         let iso = exposure.iso.isFinite && exposure.iso > 0
507 |             ? min(max(exposure.iso, format.minISO), format.maxISO)
508 |             : AVCaptureDevice.currentISO
    |                               `- error: 'currentISO' is unavailable in visionOS
509 |         let duration = exposure.duration.isNumeric && CMTimeGetSeconds(exposure.duration) > 0
510 |             ? device.prm_clampedDuration(exposure.duration)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:67:24: note: 'currentISO' has been explicitly marked unavailable here
  65 | ///
  66 | /// This value may be passed to ``AVCaptureDevice/setExposureModeCustomWithDuration:ISO:completionHandler:`` or ``AVCaptureDevice/setExposureModeCustomWithLensAperture:duration:ISO:completionHandler:`` to lock it to its current value. Note that the device may be adjusting ISO at the time of the call, in which case ``AVCaptureDevice/ISO`` may be locked to different value than the value obtained by querying the property.
  67 | AVF_EXPORT const float AVCaptureISOCurrent API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                        `- note: 'currentISO' has been explicitly marked unavailable here
  68 |
  69 | /// A special value that may be passed as the lensAperture parameter of a device's `setExposureModeCustom...` methods to allow the system's auto-exposure system to manage the aperture.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:511:31: error: 'currentExposureDuration' is unavailable in visionOS
509 |         let duration = exposure.duration.isNumeric && CMTimeGetSeconds(exposure.duration) > 0
510 |             ? device.prm_clampedDuration(exposure.duration)
511 |             : AVCaptureDevice.currentExposureDuration
    |                               `- error: 'currentExposureDuration' is unavailable in visionOS
512 |         return (iso, duration)
513 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:62:25: note: 'currentExposureDuration' has been explicitly marked unavailable here
  60 | ///
  61 | /// This value may be passed to ``AVCaptureDevice/setExposureModeCustomWithDuration:ISO:completionHandler:`` or ``AVCaptureDevice/setExposureModeCustomWithLensAperture:duration:ISO:completionHandler:`` to lock it to its current value. Note that the device may be adjusting exposure duration at the time of the call, in which case ``AVCaptureDevice/exposureDuration`` may be locked to different value than the value obtained by querying the property.
  62 | AVF_EXPORT const CMTime AVCaptureExposureDurationCurrent API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                         `- note: 'currentExposureDuration' has been explicitly marked unavailable here
  63 |
  64 | /// A special value that may be passed as the ISO parameter of a device's `setExposureModeCustom...` methods to lock at the current gain value.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:535:56: error: 'custom' is unavailable in visionOS
533 |     private func applyManualExposureOverrides(on settings: AVCapturePhotoSettings, output: AVCapturePhotoOutput) -> Bool {
534 |         guard let device = output.prm_sourceDevice else { return false }
535 |         let exposureIsManual = device.exposureMode == .custom || device.exposureMode == .locked
    |                                                        `- error: 'custom' is unavailable in visionOS
536 |         let whiteBalanceIsLocked = device.whiteBalanceMode == .locked
537 |         guard exposureIsManual || whiteBalanceIsLocked else { return false }
AVFoundation.AVCaptureDevice.ExposureMode.custom:5:10: note: 'custom' has been explicitly marked unavailable here
3 | @available(iOS 8.0, *)
4 |     @available(visionOS, unavailable)
5 |     case custom  }
  |          `- note: 'custom' has been explicitly marked unavailable here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:538:18: error: 'photoQualityPrioritization' is unavailable in visionOS
536 |         let whiteBalanceIsLocked = device.whiteBalanceMode == .locked
537 |         guard exposureIsManual || whiteBalanceIsLocked else { return false }
538 |         settings.photoQualityPrioritization = .speed
    |                  `- error: 'photoQualityPrioritization' is unavailable in visionOS
539 |         let reason = switch (exposureIsManual, whiteBalanceIsLocked) {
540 |         case (true, true): "manual exposure and locked white balance"
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1382:58: note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1380 |     Default value is AVCapturePhotoQualityPrioritizationBalanced. The AVCapturePhotoOutput is capable of applying a variety of techniques to improve photo quality (reduce noise, preserve detail in low light, freeze motion, etc), depending on the source device's activeFormat. Some of these techniques can take significant processing time before the photo is returned to your delegate callback. The photoQualityPrioritization property allows you to specify your preferred quality vs speed of delivery. By default, speed and quality are considered to be of equal importance. When you specify AVCapturePhotoQualityPrioritizationSpeed, you indicate that speed should be prioritized at the expense of quality. Likewise, when you choose AVCapturePhotoQualityPrioritizationQuality, you signal your willingness to prioritize the very best quality at the expense of speed, and your readiness to wait (perhaps significantly) longer for the photo to be returned to your delegate.
1381 |  */
1382 | @property(nonatomic) AVCapturePhotoQualityPrioritization photoQualityPrioritization API_AVAILABLE(macos(13.0), ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                          `- note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1383 |
1384 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:556:32: error: 'supportedFlashModes' is unavailable in visionOS
554 |     /// match — "fire flash when shutter opens"), then `.off` as a last resort.
555 |     private func clampFlashMode(on settings: AVCapturePhotoSettings, output: AVCapturePhotoOutput) {
556 |         let supported = output.supportedFlashModes
    |                                `- error: 'supportedFlashModes' is unavailable in visionOS
557 |         guard !supported.contains(settings.flashMode) else { return }
558 |         let fallback: AVCaptureDevice.FlashMode = if supported.contains(.auto) {
AVFoundation.AVCapturePhotoOutput.supportedFlashModes:2:21: note: 'supportedFlashModes' has been explicitly marked unavailable here
1 | class AVCapturePhotoOutput {
2 | @nonobjc public var supportedFlashModes: [AVCaptureDevice.FlashMode] { get }}
  |                     `- note: 'supportedFlashModes' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:558:39: error: 'FlashMode' is unavailable in visionOS
556 |         let supported = output.supportedFlashModes
557 |         guard !supported.contains(settings.flashMode) else { return }
558 |         let fallback: AVCaptureDevice.FlashMode = if supported.contains(.auto) {
    |                                       `- error: 'FlashMode' is unavailable in visionOS
559 |             .auto
560 |         } else if supported.contains(.on) {
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoCapture.swift:579:19: error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
577 |             portrait = portrait.codec(.hevc)
578 |         }
579 |         if output.isDepthDataDeliveryEnabled {
    |                   `- error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
580 |             portrait = portrait
581 |                 .depthDataDelivery(true)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:930:62: note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
 928 |     Default is NO. Set to YES if you wish depth data to be delivered with your AVCapturePhotos. This property may only be set to YES if depthDataDeliverySupported is YES. Enabling depth data delivery requires a lengthy reconfiguration of the capture render pipeline, so if you intend to capture depth data, you should set this property to YES before calling -[AVCaptureSession startRunning].
 929 |  */
 930 | @property(nonatomic, getter=isDepthDataDeliveryEnabled) BOOL depthDataDeliveryEnabled API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                              `- note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
 931 |
 932 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:584:19: error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
582 |                 .embedsDepthDataInPhoto(true)
583 |         }
584 |         if output.isDepthDataDeliveryEnabled, output.isPortraitEffectsMatteDeliveryEnabled {
    |                   `- error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
585 |             portrait = portrait
586 |                 .portraitEffectsMatte(true)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:930:62: note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
 928 |     Default is NO. Set to YES if you wish depth data to be delivered with your AVCapturePhotos. This property may only be set to YES if depthDataDeliverySupported is YES. Enabling depth data delivery requires a lengthy reconfiguration of the capture render pipeline, so if you intend to capture depth data, you should set this property to YES before calling -[AVCaptureSession startRunning].
 929 |  */
 930 | @property(nonatomic, getter=isDepthDataDeliveryEnabled) BOOL depthDataDeliveryEnabled API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                              `- note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
 931 |
 932 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:584:54: error: 'isPortraitEffectsMatteDeliveryEnabled' is unavailable in visionOS
582 |                 .embedsDepthDataInPhoto(true)
583 |         }
584 |         if output.isDepthDataDeliveryEnabled, output.isPortraitEffectsMatteDeliveryEnabled {
    |                                                      `- error: 'isPortraitEffectsMatteDeliveryEnabled' is unavailable in visionOS
585 |             portrait = portrait
586 |                 .portraitEffectsMatte(true)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:950:73: note: 'isPortraitEffectsMatteDeliveryEnabled' has been explicitly marked unavailable here
 948 |     Default is NO. Set to YES if you wish portrait effects mattes to be delivered with your AVCapturePhotos. This property may only be set to YES if portraitEffectsMatteDeliverySupported is YES. Portrait effects matte generation requires depth to be present, so when enabling portrait effects matte delivery, you must also set depthDataDeliveryEnabled to YES. Enabling portrait effects matte delivery requires a lengthy reconfiguration of the capture render pipeline, so if you intend to capture portrait effects mattes, you should set this property to YES before calling -[AVCaptureSession startRunning].
 949 |  */
 950 | @property(nonatomic, getter=isPortraitEffectsMatteDeliveryEnabled) BOOL portraitEffectsMatteDeliveryEnabled API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                                                         `- note: 'isPortraitEffectsMatteDeliveryEnabled' has been explicitly marked unavailable here
 951 |
 952 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:20:43: error: 'FlashMode' is unavailable in visionOS
 18 | /// once on the photo output via ``PRMCameraConfiguration``).
 19 | public struct PRMPhotoSettings: Sendable {
 20 |     public var flashMode: AVCaptureDevice.FlashMode = .off
    |                                           `- error: 'FlashMode' is unavailable in visionOS
 21 |     public var qualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .balanced
 22 |     public var codec: AVVideoCodecType?
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:21:39: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 19 | public struct PRMPhotoSettings: Sendable {
 20 |     public var flashMode: AVCaptureDevice.FlashMode = .off
 21 |     public var qualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .balanced
    |                                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 22 |     public var codec: AVVideoCodecType?
 23 |     public var maxDimensions: CMVideoDimensions?
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:81:52: error: 'FlashMode' is unavailable in visionOS
 79 |     // MARK: - Builder
 80 |
 81 |     public func flashMode(_ value: AVCaptureDevice.FlashMode) -> Self {
    |                                                    `- error: 'FlashMode' is unavailable in visionOS
 82 |         var copy = self
 83 |         copy.flashMode = value
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:87:48: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 85 |     }
 86 |
 87 |     public func qualityPrioritization(_ value: AVCapturePhotoOutput.QualityPrioritization) -> Self {
    |                                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 88 |         var copy = self
 89 |         copy.qualityPrioritization = value
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:161:37: error: 'AVCapturePhotoSettings' is unavailable in visionOS
159 |     /// capture time.
160 |     @available(*, deprecated, message: "Use makeAVSettings(for:), which validates against the output")
161 |     public func makeAVSettings() -> AVCapturePhotoSettings {
    |                                     `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
162 |         makeUncheckedAVSettings(codec: codec, quality: qualityPrioritization, maxDimensions: maxDimensions)
163 |     }
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:176:44: error: 'AVCapturePhotoOutput' is unavailable in visionOS
174 |     ///   no larger than the output's ceiling; otherwise the largest valid entry that fits is
175 |     ///   used (or none). A notice is logged when it changes.
176 |     public func makeAVSettings(for output: AVCapturePhotoOutput) -> AVCapturePhotoSettings {
    |                                            `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
177 |         let effectiveCodec = Self.availableCodec(codec, on: output)
178 |         let quality = Self.clampedQuality(qualityPrioritization, max: output.maxPhotoQualityPrioritization)
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:176:69: error: 'AVCapturePhotoSettings' is unavailable in visionOS
174 |     ///   no larger than the output's ceiling; otherwise the largest valid entry that fits is
175 |     ///   used (or none). A notice is logged when it changes.
176 |     public func makeAVSettings(for output: AVCapturePhotoOutput) -> AVCapturePhotoSettings {
    |                                                                     `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
177 |         let effectiveCodec = Self.availableCodec(codec, on: output)
178 |         let quality = Self.clampedQuality(qualityPrioritization, max: output.maxPhotoQualityPrioritization)
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:196:71: error: 'AVCapturePhotoOutput' is unavailable in visionOS
194 |     /// HEVC isn't offered), with a notice naming what the output offers: the photo comes back
195 |     /// in another format without an error.
196 |     static func availableCodec(_ codec: AVVideoCodecType?, on output: AVCapturePhotoOutput) -> AVVideoCodecType? {
    |                                                                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
197 |         guard let codec else { return nil }
198 |         let offered = output.availablePhotoCodecTypes
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:207:18: error: 'AVCapturePhotoOutput' is unavailable in visionOS
205 |     private func makeUncheckedAVSettings(
206 |         codec effectiveCodec: AVVideoCodecType?,
207 |         quality: AVCapturePhotoOutput.QualityPrioritization,
    |                  `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
208 |         maxDimensions dimensions: CMVideoDimensions?
209 |     ) -> AVCapturePhotoSettings {
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:209:10: error: 'AVCapturePhotoSettings' is unavailable in visionOS
207 |         quality: AVCapturePhotoOutput.QualityPrioritization,
208 |         maxDimensions dimensions: CMVideoDimensions?
209 |     ) -> AVCapturePhotoSettings {
    |          `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
210 |         let settings = if let effectiveCodec {
211 |             AVCapturePhotoSettings(format: [AVVideoCodecKey: effectiveCodec])
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:242:22: error: 'AVCapturePhotoOutput' is unavailable in visionOS
240 |     /// `requested`, lowered to `maximum` when it's higher.
241 |     static func clampedQuality(
242 |         _ requested: AVCapturePhotoOutput.QualityPrioritization,
    |                      `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
243 |         max maximum: AVCapturePhotoOutput.QualityPrioritization
244 |     ) -> AVCapturePhotoOutput.QualityPrioritization {
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:243:22: error: 'AVCapturePhotoOutput' is unavailable in visionOS
241 |     static func clampedQuality(
242 |         _ requested: AVCapturePhotoOutput.QualityPrioritization,
243 |         max maximum: AVCapturePhotoOutput.QualityPrioritization
    |                      `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
244 |     ) -> AVCapturePhotoOutput.QualityPrioritization {
245 |         requested.rawValue > maximum.rawValue ? maximum : requested
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:244:10: error: 'AVCapturePhotoOutput' is unavailable in visionOS
242 |         _ requested: AVCapturePhotoOutput.QualityPrioritization,
243 |         max maximum: AVCapturePhotoOutput.QualityPrioritization
244 |     ) -> AVCapturePhotoOutput.QualityPrioritization {
    |          `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
245 |         requested.rawValue > maximum.rawValue ? maximum : requested
246 |     }
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:178:78: error: 'maxPhotoQualityPrioritization' is unavailable in visionOS
176 |     public func makeAVSettings(for output: AVCapturePhotoOutput) -> AVCapturePhotoSettings {
177 |         let effectiveCodec = Self.availableCodec(codec, on: output)
178 |         let quality = Self.clampedQuality(qualityPrioritization, max: output.maxPhotoQualityPrioritization)
    |                                                                              `- error: 'maxPhotoQualityPrioritization' is unavailable in visionOS
179 |         let dimensions = maxDimensions.flatMap { requested in
180 |             Self.validatedMaxDimensions(
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:350:58: note: 'maxPhotoQualityPrioritization' has been explicitly marked unavailable here
 348 |     Setting the maxPhotoQualityPrioritization to .quality will turn on optical image stabilization if the -isHighPhotoQualitySupported of the source device's -activeFormat is true.
 349 |  */
 350 | @property(nonatomic) AVCapturePhotoQualityPrioritization maxPhotoQualityPrioritization API_AVAILABLE(macos(13.0), ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                          `- note: 'maxPhotoQualityPrioritization' has been explicitly marked unavailable here
 351 |
 352 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:182:66: error: 'supportedMaxPhotoDimensions' is unavailable in visionOS
180 |             Self.validatedMaxDimensions(
181 |                 requested,
182 |                 supported: output.prm_sourceDevice?.activeFormat.supportedMaxPhotoDimensions ?? [],
    |                                                                  `- error: 'supportedMaxPhotoDimensions' is unavailable in visionOS
183 |                 ceiling: output.maxPhotoDimensions
184 |             )
AVFoundation.AVCaptureDevice.Format.supportedMaxPhotoDimensions:3:21: note: 'supportedMaxPhotoDimensions' has been explicitly marked unavailable here
1 | class AVCaptureDevice {
2 |   class Format {
3 | @nonobjc public var supportedMaxPhotoDimensions: [CMVideoDimensions] { get }  }
  |                     `- note: 'supportedMaxPhotoDimensions' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:183:33: error: 'maxPhotoDimensions' is unavailable in visionOS
181 |                 requested,
182 |                 supported: output.prm_sourceDevice?.activeFormat.supportedMaxPhotoDimensions ?? [],
183 |                 ceiling: output.maxPhotoDimensions
    |                                 `- error: 'maxPhotoDimensions' is unavailable in visionOS
184 |             )
185 |         }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:547:40: note: 'maxPhotoDimensions' has been explicitly marked unavailable here
 545 |     Note: When supported, the 24MP setting (5712, 4284) is only serviced as 24MP when opted-in to autoDeferredPhotoDeliveryEnabled.
 546 |  */
 547 | @property(nonatomic) CMVideoDimensions maxPhotoDimensions API_AVAILABLE(ios(16.0), macos(13.0), macCatalyst(16.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                        `- note: 'maxPhotoDimensions' has been explicitly marked unavailable here
 548 |
 549 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:211:13: error: 'AVCapturePhotoSettings' is unavailable in visionOS
209 |     ) -> AVCapturePhotoSettings {
210 |         let settings = if let effectiveCodec {
211 |             AVCapturePhotoSettings(format: [AVVideoCodecKey: effectiveCodec])
    |             `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
212 |         } else {
213 |             AVCapturePhotoSettings()
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:213:13: error: 'AVCapturePhotoSettings' is unavailable in visionOS
211 |             AVCapturePhotoSettings(format: [AVVideoCodecKey: effectiveCodec])
212 |         } else {
213 |             AVCapturePhotoSettings()
    |             `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
214 |         }
215 |         settings.flashMode = flashMode
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMPhotoSettings.swift:216:18: error: 'photoQualityPrioritization' is unavailable in visionOS
214 |         }
215 |         settings.flashMode = flashMode
216 |         settings.photoQualityPrioritization = quality
    |                  `- error: 'photoQualityPrioritization' is unavailable in visionOS
217 |         if let dimensions {
218 |             settings.maxPhotoDimensions = dimensions
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1382:58: note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1380 |     Default value is AVCapturePhotoQualityPrioritizationBalanced. The AVCapturePhotoOutput is capable of applying a variety of techniques to improve photo quality (reduce noise, preserve detail in low light, freeze motion, etc), depending on the source device's activeFormat. Some of these techniques can take significant processing time before the photo is returned to your delegate callback. The photoQualityPrioritization property allows you to specify your preferred quality vs speed of delivery. By default, speed and quality are considered to be of equal importance. When you specify AVCapturePhotoQualityPrioritizationSpeed, you indicate that speed should be prioritized at the expense of quality. Likewise, when you choose AVCapturePhotoQualityPrioritizationQuality, you signal your willingness to prioritize the very best quality at the expense of speed, and your readiness to wait (perhaps significantly) longer for the photo to be returned to your delegate.
1381 |  */
1382 | @property(nonatomic) AVCapturePhotoQualityPrioritization photoQualityPrioritization API_AVAILABLE(macos(13.0), ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                          `- note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1383 |
1384 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:218:22: error: 'maxPhotoDimensions' is unavailable in visionOS
216 |         settings.photoQualityPrioritization = quality
217 |         if let dimensions {
218 |             settings.maxPhotoDimensions = dimensions
    |                      `- error: 'maxPhotoDimensions' is unavailable in visionOS
219 |         }
220 |         if let autoRedEyeReduction {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1456:40: note: 'maxPhotoDimensions' has been explicitly marked unavailable here
1454 | 	By setting this property you are requesting an image that may be up to as large as the specified dimensions, but no larger. The dimensions set must match one of the dimensions returned by AVCaptureDeviceFormat.supportedMaxPhotoDimensions for the currently configured format and be equal to or smaller than the value of AVCapturePhotoOutput.maxPhotoDimensions. This property defaults to the smallest dimensions returned by AVCaptureDeviceFormat.supportedMaxPhotoDimensions.
1455 |  */
1456 | @property(nonatomic) CMVideoDimensions maxPhotoDimensions API_AVAILABLE(ios(16.0), macos(13.0), macCatalyst(16.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                        `- note: 'maxPhotoDimensions' has been explicitly marked unavailable here
1457 |
1458 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:221:22: error: 'isAutoRedEyeReductionEnabled' is unavailable in visionOS
219 |         }
220 |         if let autoRedEyeReduction {
221 |             settings.isAutoRedEyeReductionEnabled = autoRedEyeReduction
    |                      `- error: 'isAutoRedEyeReductionEnabled' is unavailable in visionOS
222 |         }
223 |         if let depthDataDelivery {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1372:64: note: 'isAutoRedEyeReductionEnabled' has been explicitly marked unavailable here
1370 |     Default is YES on platforms that support automatic red-eye reduction unless you are capturing a bracket using AVCapturePhotoBracketSettings or a RAW photo without a processed photo.  For RAW photos with a processed photo the red-eye reduction will be applied to the processed photo only (RAW photos by definition are not processed). When set to YES, red-eye reduction is applied as needed for flash captures if the photo output's autoRedEyeReductionSupported property returns YES.
1371 |  */
1372 | @property(nonatomic, getter=isAutoRedEyeReductionEnabled) BOOL autoRedEyeReductionEnabled API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                                                `- note: 'isAutoRedEyeReductionEnabled' has been explicitly marked unavailable here
1373 |
1374 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:224:22: error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
222 |         }
223 |         if let depthDataDelivery {
224 |             settings.isDepthDataDeliveryEnabled = depthDataDelivery
    |                      `- error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
225 |         }
226 |         if let embedsDepthDataInPhoto {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1468:62: note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
1466 |     For best rendering results in Apple's Photos.app, portrait photos should be captured with both embedded depth data and a portrait effects matte (see portraitEffectsMatteDeliveryEnabled). When supported, it is recommended to opt in for both of these auxiliary images in your photo captures involving depth.
1467 |  */
1468 | @property(nonatomic, getter=isDepthDataDeliveryEnabled) BOOL depthDataDeliveryEnabled API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                              `- note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
1469 |
1470 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:227:22: error: 'embedsDepthDataInPhoto' is unavailable in visionOS
225 |         }
226 |         if let embedsDepthDataInPhoto {
227 |             settings.embedsDepthDataInPhoto = embedsDepthDataInPhoto
    |                      `- error: 'embedsDepthDataInPhoto' is unavailable in visionOS
228 |         }
229 |         if let portraitEffectsMatte {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1478:27: note: 'embedsDepthDataInPhoto' has been explicitly marked unavailable here
1476 |     Default is YES. When depthDataDeliveryEnabled is set to YES, this property specifies whether the included depth data should be written to the resulting photo's internal file structure. Depth data is currently only supported in HEIF and JPEG. This property is ignored if depthDataDeliveryEnabled is set to NO.
1477 |  */
1478 | @property(nonatomic) BOOL embedsDepthDataInPhoto API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                           `- note: 'embedsDepthDataInPhoto' has been explicitly marked unavailable here
1479 |
1480 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:230:22: error: 'isPortraitEffectsMatteDeliveryEnabled' is unavailable in visionOS
228 |         }
229 |         if let portraitEffectsMatte {
230 |             settings.isPortraitEffectsMatteDeliveryEnabled = portraitEffectsMatte
    |                      `- error: 'isPortraitEffectsMatteDeliveryEnabled' is unavailable in visionOS
231 |         }
232 |         if let embedsPortraitEffectsMatteInPhoto {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1510:73: note: 'isPortraitEffectsMatteDeliveryEnabled' has been explicitly marked unavailable here
1508 |     For best rendering results in Apple's Photos.app, portrait photos should be captured with both embedded depth data (see depthDataDeliveryEnabled) and a portrait effects matte. When supported, it is recommended to opt in for both of these auxiliary images in your photo captures involving depth.
1509 |  */
1510 | @property(nonatomic, getter=isPortraitEffectsMatteDeliveryEnabled) BOOL portraitEffectsMatteDeliveryEnabled API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                                                         `- note: 'isPortraitEffectsMatteDeliveryEnabled' has been explicitly marked unavailable here
1511 |
1512 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:233:22: error: 'embedsPortraitEffectsMatteInPhoto' is unavailable in visionOS
231 |         }
232 |         if let embedsPortraitEffectsMatteInPhoto {
233 |             settings.embedsPortraitEffectsMatteInPhoto = embedsPortraitEffectsMatteInPhoto
    |                      `- error: 'embedsPortraitEffectsMatteInPhoto' is unavailable in visionOS
234 |         }
235 |         return settings
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1520:27: note: 'embedsPortraitEffectsMatteInPhoto' has been explicitly marked unavailable here
1518 |     Default is YES. When portraitEffectsMatteDeliveryEnabled is set to YES, this property specifies whether the included portrait effects matte should be written to the resulting photo's internal file structure. Portrait effects mattes are currently only supported in HEIF and JPEG. This property is ignored if portraitEffectsMatteDeliveryEnabled is set to NO.
1519 |  */
1520 | @property(nonatomic) BOOL embedsPortraitEffectsMatteInPhoto API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                           `- note: 'embedsPortraitEffectsMatteInPhoto' has been explicitly marked unavailable here
1521 |
1522 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMLivePhoto.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMLivePhoto.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMNightModeCapture.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMNightModeCapture.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMOutputResolver.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMOutputResolver.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhoto.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMPhoto.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Delegate.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMPhotoCapture+Delegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Encoding.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMPhotoCapture+Encoding.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMPhotoCapture.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMPhotoSettings.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPortraitPhoto.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMPortraitPhoto.swift
SwiftCompile normal arm64 Compiling\ PRMPortraitBokehFilter.swift,\ PRMStylizeFilter.swift,\ PRMBasicFilterRenderer.swift,\ PRMBufferPoolAllocator.swift,\ PRMFilter.swift,\ PRMFilterChain.swift,\ PRMFilterPipeline.swift,\ PRMFilterRenderer.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/Filters/PRMPortraitBokehFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/Filters/PRMStylizeFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMBasicFilterRenderer.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMBufferPoolAllocator.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilterChain.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilterPipeline.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilterRenderer.swift (in target 'PrismCore' from project 'Prism')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/Filters/PRMPortraitBokehFilter.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMPortraitBokehFilter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/Filters/PRMStylizeFilter.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMStylizeFilter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMBasicFilterRenderer.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMBasicFilterRenderer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMBufferPoolAllocator.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMBufferPoolAllocator.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilter.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMFilter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilterChain.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMFilterChain.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilterPipeline.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMFilterPipeline.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilterRenderer.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMFilterRenderer.swift
SwiftCompile normal arm64 Compiling\ PRMSessionHealth.swift,\ PRMVideoFrameRouter.swift,\ PRMNightMerger.swift,\ PRMNightPlanner.swift,\ PRMNightRegistration.swift,\ PRMNightStacker.swift,\ PRMNightTone.swift,\ PRMNightTypes.swift,\ PRMDepthCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMSessionHealth.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMVideoFrameRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightMerger.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightPlanner.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightRegistration.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightStacker.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightTone.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightTypes.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift (in target 'PrismCore' from project 'Prism')
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMSessionHealth.swift:32:20: error: 'AVCaptureCameraLensSmudgeDetectionStatus' is unavailable in visionOS
 30 |
 31 |     @available(iOS 26.0, *)
 32 |     init(_ status: AVCaptureCameraLensSmudgeDetectionStatus) {
    |                    `- error: 'AVCaptureCameraLensSmudgeDetectionStatus' is unavailable in visionOS
 33 |         switch status {
 34 |         case .smudgeNotDetected: self = .clean
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:4096:28: note: 'AVCaptureCameraLensSmudgeDetectionStatus' has been explicitly marked unavailable here
4094 |
4095 | /// Constants indicating the current camera lens smudge detection status.
4096 | typedef NS_ENUM(NSInteger, AVCaptureCameraLensSmudgeDetectionStatus) {
     |                            `- note: 'AVCaptureCameraLensSmudgeDetectionStatus' has been explicitly marked unavailable here
4097 |     /// Indicates that the detection is not enabled.
4098 |     AVCaptureCameraLensSmudgeDetectionStatusDisabled            = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMSessionHealth.swift:117:57: error: 'batteryStress' is only available in visionOS 27.0 or newer
 56 |
 57 | /// Sendable snapshot of `AVCaptureDevice.systemPressureState`.
 58 | public struct PRMSystemPressure: Sendable, Equatable {
    |               `- note: add '@available' attribute to enclosing struct
 59 |     /// Pressure level, ordered from normal to "capture must stop".
 60 |     public enum Level: Int, Sendable, Comparable {
    :
101 |     public static let nominal = Self(level: .nominal)
102 |
103 |     init(_ state: AVCaptureDevice.SystemPressureState) {
    |     `- note: add '@available' attribute to enclosing initializer
104 |         level = switch state.level {
105 |         case .fair: .fair
    :
115 |         if avFactors.contains(.depthModuleTemperature) { factors.insert(.depthModuleTemperature) }
116 |         if avFactors.contains(.cameraTemperature) { factors.insert(.cameraTemperature) }
117 |         if #available(iOS 27.0, *), avFactors.contains(.batteryStress) { factors.insert(.batteryStress) }
    |                                                         |- error: 'batteryStress' is only available in visionOS 27.0 or newer
    |                                                         `- note: add 'if #available' version check
118 |         self.factors = factors
119 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:17:52: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 15 |     // MARK: - Photo Output
 16 |
 17 |     public static func isSupported(on photoOutput: AVCapturePhotoOutput) -> Bool {
    |                                                    `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 18 |         photoOutput.isDepthDataDeliverySupported
 19 |     }
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMDepthCapture.swift:21:68: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 19 |     }
 20 |
 21 |     public static func setEnabled(_ enabled: Bool, on photoOutput: AVCapturePhotoOutput) {
    |                                                                    `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 22 |         guard photoOutput.isDepthDataDeliverySupported else { return }
 23 |         photoOutput.isDepthDataDeliveryEnabled = enabled
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMDepthCapture.swift:26:50: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 24 |     }
 25 |
 26 |     public static func isEnabled(on photoOutput: AVCapturePhotoOutput) -> Bool {
    |                                                  `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 27 |         photoOutput.isDepthDataDeliveryEnabled
 28 |     }
/Applications/Xcode-27.0.0.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/PrismCore/Capture/PRMDepthCapture.swift:39:23: error: 'AVCaptureDepthDataOutputDelegate' is unavailable in visionOS
 37 |     public static func addDepthDataOutput(
 38 |         to session: AVCaptureSession,
 39 |         delegate: any AVCaptureDepthDataOutputDelegate,
    |                       `- error: 'AVCaptureDepthDataOutputDelegate' is unavailable in visionOS
 40 |         queue: DispatchQueue
 41 |     ) -> AVCaptureDepthDataOutput? {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:110:11: note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
108 |  */
109 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
110 | @protocol AVCaptureDepthDataOutputDelegate <NSObject>
    |           `- note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
111 |
112 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:41:10: error: 'AVCaptureDepthDataOutput' is unavailable in visionOS
 39 |         delegate: any AVCaptureDepthDataOutputDelegate,
 40 |         queue: DispatchQueue
 41 |     ) -> AVCaptureDepthDataOutput? {
    |          `- error: 'AVCaptureDepthDataOutput' is unavailable in visionOS
 42 |         // AVFoundation raises when a depth data output runs alongside Cinematic Video.
 43 |         if #available(iOS 26.0, *),
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:32:12: note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 30 |  */
 31 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
 32 | @interface AVCaptureDepthDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 33 | {
 34 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:58:65: error: 'AVCaptureDepthDataOutput' is unavailable in visionOS
 56 |     }
 57 |
 58 |     public static func setFiltering(_ enabled: Bool, on output: AVCaptureDepthDataOutput) {
    |                                                                 `- error: 'AVCaptureDepthDataOutput' is unavailable in visionOS
 59 |         output.isFilteringEnabled = enabled
 60 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:32:12: note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 30 |  */
 31 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
 32 | @interface AVCaptureDepthDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 33 | {
 34 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:79:23: error: 'AVCaptureDepthDataOutputDelegate' is unavailable in visionOS
 77 |     @discardableResult
 78 |     func attachDepthDataOutput(
 79 |         delegate: any AVCaptureDepthDataOutputDelegate,
    |                       `- error: 'AVCaptureDepthDataOutputDelegate' is unavailable in visionOS
 80 |         queue: DispatchQueue,
 81 |         filteringEnabled: Bool = true
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:110:11: note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
108 |  */
109 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
110 | @protocol AVCaptureDepthDataOutputDelegate <NSObject>
    |           `- note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
111 |
112 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:82:23: error: 'AVCaptureDepthDataOutput' is unavailable in visionOS
 80 |         queue: DispatchQueue,
 81 |         filteringEnabled: Bool = true
 82 |     ) async throws -> AVCaptureDepthDataOutput {
    |                       `- error: 'AVCaptureDepthDataOutput' is unavailable in visionOS
 83 |         if isCinematicVideoCaptureActive {
 84 |             throw PRMSessionError.unsupportedConfiguration("A depth stream can't run while Cinematic Video is enabled")
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:32:12: note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 30 |  */
 31 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
 32 | @interface AVCaptureDepthDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 33 | {
 34 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:18:21: error: 'isDepthDataDeliverySupported' is unavailable in visionOS
 16 |
 17 |     public static func isSupported(on photoOutput: AVCapturePhotoOutput) -> Bool {
 18 |         photoOutput.isDepthDataDeliverySupported
    |                     `- error: 'isDepthDataDeliverySupported' is unavailable in visionOS
 19 |     }
 20 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:920:74: note: 'isDepthDataDeliverySupported' has been explicitly marked unavailable here
 918 |     Some cameras and configurations support the delivery of depth data (e.g. disparity maps) along with the photo. This property returns YES if the session's current configuration allows photos to be captured with depth data, from which depth-related filters may be applied. When switching cameras or formats this property may change. When this property changes from YES to NO, depthDataDeliveryEnabled also reverts to NO. If you've previously opted in for depth data delivery and then change configurations, you may need to set depthDataDeliveryEnabled = YES again. This property is key-value observable.
 919 |  */
 920 | @property(nonatomic, readonly, getter=isDepthDataDeliverySupported) BOOL depthDataDeliverySupported API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                                          `- note: 'isDepthDataDeliverySupported' has been explicitly marked unavailable here
 921 |
 922 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:22:27: error: 'isDepthDataDeliverySupported' is unavailable in visionOS
 20 |
 21 |     public static func setEnabled(_ enabled: Bool, on photoOutput: AVCapturePhotoOutput) {
 22 |         guard photoOutput.isDepthDataDeliverySupported else { return }
    |                           `- error: 'isDepthDataDeliverySupported' is unavailable in visionOS
 23 |         photoOutput.isDepthDataDeliveryEnabled = enabled
 24 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:920:74: note: 'isDepthDataDeliverySupported' has been explicitly marked unavailable here
 918 |     Some cameras and configurations support the delivery of depth data (e.g. disparity maps) along with the photo. This property returns YES if the session's current configuration allows photos to be captured with depth data, from which depth-related filters may be applied. When switching cameras or formats this property may change. When this property changes from YES to NO, depthDataDeliveryEnabled also reverts to NO. If you've previously opted in for depth data delivery and then change configurations, you may need to set depthDataDeliveryEnabled = YES again. This property is key-value observable.
 919 |  */
 920 | @property(nonatomic, readonly, getter=isDepthDataDeliverySupported) BOOL depthDataDeliverySupported API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                                          `- note: 'isDepthDataDeliverySupported' has been explicitly marked unavailable here
 921 |
 922 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:23:21: error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
 21 |     public static func setEnabled(_ enabled: Bool, on photoOutput: AVCapturePhotoOutput) {
 22 |         guard photoOutput.isDepthDataDeliverySupported else { return }
 23 |         photoOutput.isDepthDataDeliveryEnabled = enabled
    |                     `- error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
 24 |     }
 25 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:930:62: note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
 928 |     Default is NO. Set to YES if you wish depth data to be delivered with your AVCapturePhotos. This property may only be set to YES if depthDataDeliverySupported is YES. Enabling depth data delivery requires a lengthy reconfiguration of the capture render pipeline, so if you intend to capture depth data, you should set this property to YES before calling -[AVCaptureSession startRunning].
 929 |  */
 930 | @property(nonatomic, getter=isDepthDataDeliveryEnabled) BOOL depthDataDeliveryEnabled API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                              `- note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
 931 |
 932 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:27:21: error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
 25 |
 26 |     public static func isEnabled(on photoOutput: AVCapturePhotoOutput) -> Bool {
 27 |         photoOutput.isDepthDataDeliveryEnabled
    |                     `- error: 'isDepthDataDeliveryEnabled' is unavailable in visionOS
 28 |     }
 29 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:930:62: note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
 928 |     Default is NO. Set to YES if you wish depth data to be delivered with your AVCapturePhotos. This property may only be set to YES if depthDataDeliverySupported is YES. Enabling depth data delivery requires a lengthy reconfiguration of the capture render pipeline, so if you intend to capture depth data, you should set this property to YES before calling -[AVCaptureSession startRunning].
 929 |  */
 930 | @property(nonatomic, getter=isDepthDataDeliveryEnabled) BOOL depthDataDeliveryEnabled API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                              `- note: 'isDepthDataDeliveryEnabled' has been explicitly marked unavailable here
 931 |
 932 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:44:76: error: 'isCinematicVideoCaptureEnabled' is unavailable in visionOS
 42 |         // AVFoundation raises when a depth data output runs alongside Cinematic Video.
 43 |         if #available(iOS 26.0, *),
 44 |            session.inputs.contains(where: { ($0 as? AVCaptureDeviceInput)?.isCinematicVideoCaptureEnabled == true }) {
    |                                                                            `- error: 'isCinematicVideoCaptureEnabled' is unavailable in visionOS
 45 |             PRMLog.warning(.session, "addDepthDataOutput: refused while Cinematic Video is enabled")
 46 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h:436:66: note: 'isCinematicVideoCaptureEnabled' has been explicitly marked unavailable here
434 | ///
435 | /// - Note: Enabling Cinematic Video capture requires a lengthy reconfiguration of the capture render pipeline, so if you intend to capture Cinematic Video, you should set this property to `true` before calling ``AVCaptureSession/startRunning`` or within ``AVCaptureSession/beginConfiguration`` and ``AVCaptureSession/commitConfiguration`` while running.
436 | @property(nonatomic, getter=isCinematicVideoCaptureEnabled) BOOL cinematicVideoCaptureEnabled API_AVAILABLE(macos(26.0), ios(26.0), macCatalyst(26.0), tvos(26.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                                                  `- note: 'isCinematicVideoCaptureEnabled' has been explicitly marked unavailable here
437 |
438 | /// Shallow depth of field simulated aperture.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMSessionHealth.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMSessionHealth.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMVideoFrameRouter.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMVideoFrameRouter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightMerger.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMNightMerger.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightPlanner.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMNightPlanner.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightRegistration.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMNightRegistration.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightStacker.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMNightStacker.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightTone.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMNightTone.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightTypes.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMNightTypes.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMDepthCapture.swift
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:48:22: error: 'AVCaptureDepthDataOutput' is unavailable in visionOS
 46 |             return nil
 47 |         }
 48 |         let output = AVCaptureDepthDataOutput()
    |                      `- error: 'AVCaptureDepthDataOutput' is unavailable in visionOS
 49 |         guard session.canAddOutput(output) else {
 50 |             PRMLog.warning(.session, "addDepthDataOutput: the session can't add a depth data output")
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:32:12: note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 30 |  */
 31 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
 32 | @interface AVCaptureDepthDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 33 | {
 34 | @private
SwiftCompile normal arm64 Compiling\ PRMRenderContext.swift,\ PRMVideoFrame.swift,\ PRMBurstLog.swift,\ PRMImage.swift,\ PRMLog+Categories.swift,\ PRMLog.swift,\ PRMStreamRegistry.swift,\ PRMTempFile.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMRenderContext.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMVideoFrame.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMBurstLog.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMImage.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMLog+Categories.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMLog.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMStreamRegistry.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMTempFile.swift (in target 'PrismCore' from project 'Prism')
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMLog+Categories.swift:96:27: error: 'DeviceType' is only available in visionOS 2.1 or newer
 94 | }
 95 |
 96 | extension AVCaptureDevice.DeviceType {
    | |                         `- error: 'DeviceType' is only available in visionOS 2.1 or newer
    | `- note: add '@available' attribute to enclosing extension
 97 |     /// `"BuiltInTripleCamera"` rather than `"AVCaptureDeviceTypeBuiltInTripleCamera"`.
 98 |     var prm_logName: String {
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMLog+Categories.swift:103:28: error: 'Preset' is unavailable in visionOS
101 | }
102 |
103 | extension AVCaptureSession.Preset {
    |                            `- error: 'Preset' is unavailable in visionOS
104 |     /// `"Photo"` rather than `"AVCaptureSessionPresetPhoto"`.
105 |     var prm_logName: String {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMRenderContext.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMRenderContext.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMVideoFrame.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMVideoFrame.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMBurstLog.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMBurstLog.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMImage.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMImage.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMLog+Categories.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMLog+Categories.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMLog.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMLog.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMStreamRegistry.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMStreamRegistry.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMTempFile.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMTempFile.swift
SwiftCompile normal arm64 Compiling\ PRMCameraSession.swift,\ PRMCameraState.swift,\ PRMCinematicVideo.swift,\ PRMDetectedObject.swift,\ PRMFraming.swift,\ PRMMetadataRouter.swift,\ PRMPermissions.swift,\ PRMRotationCoordinator.swift,\ PRMSessionError.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraState.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCinematicVideo.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMDetectedObject.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMFraming.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMMetadataRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMPermissions.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMRotationCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMSessionError.swift (in target 'PrismCore' from project 'Prism')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMCameraSession.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraState.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMCameraState.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCinematicVideo.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMCinematicVideo.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMDetectedObject.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMDetectedObject.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMFraming.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMFraming.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMMetadataRouter.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMMetadataRouter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMPermissions.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMPermissions.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMRotationCoordinator.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMRotationCoordinator.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMSessionError.swift (in target 'PrismCore' from project 'Prism')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PRMSessionError.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-10-12 14:36:53.403 xcodebuild[822:4809] [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\ PrismCore (in target 'PrismCore' from project 'Prism')
	SwiftCompile normal arm64 (in target 'PrismCore' from project 'Prism')
	Building workspace Prism with scheme Prism-Package
(3 failures)
BUILD FAILURE 6.4 visionOS