The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Aperture, reference main (85e924), with Swift 6.4 for visionOS using Xcode 27.0 on 23 Sep 2026 17:15:41 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 Aperture -destination generic/platform=xrOS

Build Log

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/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:11:45: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
  9 | import SwiftUI
 10 |
 11 | final class PhotoCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate, Logging {
    |                                             `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
 12 |     private var continuation: CheckedContinuation<CapturedPhoto, Error>
 13 |     private unowned var camera: Camera
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:52:10: error: cannot override 'photoOutput' which has been marked unavailable
 50 |     }
 51 |
 52 |     func photoOutput(
    |          `- error: cannot override 'photoOutput' which has been marked unavailable
 53 |         _ output: AVCapturePhotoOutput,
 54 |         didFinishProcessingPhoto photo: AVCapturePhoto,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:70:27: error: 'fileDataRepresentation()' is unavailable in visionOS
 68 |         }
 69 |         #else
 70 |         photoData = photo.fileDataRepresentation()
    |                           `- error: 'fileDataRepresentation()' is unavailable in visionOS
 71 |         #endif
 72 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2168:1: note: 'fileDataRepresentation()' has been explicitly marked unavailable here
2166 |     An NSData containing bits in the file container's format, or nil if the flattening process fails.
2167 |  */
2168 | - (nullable NSData *)fileDataRepresentation API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'fileDataRepresentation()' has been explicitly marked unavailable here
2169 |
2170 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:86:55: error: 'isConstantColorFallbackPhoto' is unavailable in visionOS
 84 |         #endif
 85 |
 86 |         if #available(iOS 18.0, macOS 15.0, *), photo.isConstantColorFallbackPhoto {
    |                                                       `- error: 'isConstantColorFallbackPhoto' is unavailable in visionOS
 87 |             representation = .constantColorFallback
 88 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2151:63: note: 'isConstantColorFallbackPhoto' has been explicitly marked unavailable here
2149 |     Indicates whether this photo is a fallback photo for a constant color capture.
2150 |  */
2151 | @property(readonly, getter=isConstantColorFallbackPhoto) BOOL constantColorFallbackPhoto API_AVAILABLE(macos(15.0), ios(18.0), macCatalyst(18.0), tvos(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                               `- note: 'isConstantColorFallbackPhoto' has been explicitly marked unavailable here
2152 |
2153 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:18:47: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 16 |     ///
 17 |     /// This is NOT used when capturing a photo. It's only using for scene monitoring.
 18 |     public let sceneMonitoringPhotoSettings = AVCapturePhotoSettings()
    |                                               `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 19 |     @Cancellables private var flashSceneObservers: Set<AnyCancellable>
 20 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:33:49: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 31 |     }
 32 |
 33 |     public func makeOutput(context: Context) -> AVCapturePhotoOutput {
    |                                                 `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 34 |         let output = AVCapturePhotoOutput()
 35 |         output.maxPhotoQualityPrioritization = .quality
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h: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/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:45:38: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 43 |     }
 44 |
 45 |     public func updateOutput(output: AVCapturePhotoOutput, context: Context) {
    |                                      `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 46 |         let maxSupportedPhotoDimensions = context.inputDevice
 47 |             .activeFormat
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:14:15: warning: unavailable class 'AVCapturePhotoOutput' was used to satisfy a requirement of protocol 'OutputService'; this will be an error in a future Swift language mode
 12 |
 13 | /// An output service that outputs photo data, including Live Photo.
 14 | public struct PhotoCaptureService: OutputService, Logging {
    |               `- warning: unavailable class 'AVCapturePhotoOutput' was used to satisfy a requirement of protocol 'OutputService'; this will be an error in a future Swift language mode
 15 |     /// A photo settings specifically configured for scene monitoring.
 16 |     ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' declared 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' declared here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/OutputService.swift:14:20: note: requirement 'Output' declared here
12 | public protocol OutputService: Equatable, Sendable {
13 |     /// The underlying output class.
14 |     associatedtype Output: AVCaptureOutput
   |                    `- note: requirement 'Output' declared here
15 |     /// The service's associated coordinator.
16 |     associatedtype Coordinator = Void
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:115:23: error: 'AVCapturePhotoSettings' is unavailable in visionOS
113 |         configuration: PhotoCaptureConfiguration,
114 |         context: Context
115 |     ) async throws -> AVCapturePhotoSettings {
    |                       `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
116 |         let format = processPhotoFormat(for: output, configuration: configuration)
117 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:200:27: error: 'AVCapturePhotoOutput' is unavailable in visionOS
198 |
199 |     private func setPhotoQualityPrioritizationIfSupported(
200 |         _ prioritization: AVCapturePhotoOutput.QualityPrioritization,
    |                           `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
201 |         for photoSettings: AVCapturePhotoSettings
202 |     ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:201:28: error: 'AVCapturePhotoSettings' is unavailable in visionOS
199 |     private func setPhotoQualityPrioritizationIfSupported(
200 |         _ prioritization: AVCapturePhotoOutput.QualityPrioritization,
201 |         for photoSettings: AVCapturePhotoSettings
    |                            `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
202 |     ) {
203 |         #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:215:27: error: 'AVCapturePhotoSettings' is unavailable in visionOS
213 |     @available(macOS, unavailable)
214 |     private func _isSettingPhotoPrioritizationSupported(
215 |         on photoSettings: AVCapturePhotoSettings
    |                           `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
216 |     ) -> Bool {
217 |         let rawPhotoPixelFormat = photoSettings.rawPhotoPixelFormatType
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:230:21: error: 'AVCapturePhotoOutput' is unavailable in visionOS
228 | private extension PhotoCaptureService {
229 |     private func processPhotoFormat(
230 |         for output: AVCapturePhotoOutput,
    |                     `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
231 |         configuration: PhotoCaptureConfiguration
232 |     ) -> [String : Any]? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:34:22: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 32 |
 33 |     public func makeOutput(context: Context) -> AVCapturePhotoOutput {
 34 |         let output = AVCapturePhotoOutput()
    |                      `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 35 |         output.maxPhotoQualityPrioritization = .quality
 36 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:35:16: error: 'maxPhotoQualityPrioritization' is unavailable in visionOS
 33 |     public func makeOutput(context: Context) -> AVCapturePhotoOutput {
 34 |         let output = AVCapturePhotoOutput()
 35 |         output.maxPhotoQualityPrioritization = .quality
    |                `- error: 'maxPhotoQualityPrioritization' is unavailable in visionOS
 36 |
 37 |         #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h: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/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:48:14: error: 'supportedMaxPhotoDimensions' is unavailable in visionOS
 46 |         let maxSupportedPhotoDimensions = context.inputDevice
 47 |             .activeFormat
 48 |             .supportedMaxPhotoDimensions
    |              `- error: 'supportedMaxPhotoDimensions' is unavailable in visionOS
 49 |             .last
 50 |         if let maxSupportedPhotoDimensions {
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/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:51:20: error: 'maxPhotoDimensions' is unavailable in visionOS
 49 |             .last
 50 |         if let maxSupportedPhotoDimensions {
 51 |             output.maxPhotoDimensions = maxSupportedPhotoDimensions
    |                    `- error: 'maxPhotoDimensions' is unavailable in visionOS
 52 |         }
 53 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h: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/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:54:19: error: 'isZeroShutterLagSupported' is unavailable in visionOS
 52 |         }
 53 |
 54 |         if output.isZeroShutterLagSupported {
    |                   `- error: 'isZeroShutterLagSupported' is unavailable in visionOS
 55 |             output.isZeroShutterLagEnabled = options.contains(.zeroShutterLag)
 56 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:691:71: note: 'isZeroShutterLagSupported' has been explicitly marked unavailable here
 689 |     This property returns YES if the session's current configuration allows zero shutter lag. When switching cameras or formats, setting depthDataDeliveryEnabled, or setting virtualDeviceConstituentPhotoDeliveryEnabled this property may change. When this property changes from YES to NO, zeroShutterLagEnabled also reverts to NO. This property is key-value observable.
 690 |  */
 691 | @property(nonatomic, readonly, getter=isZeroShutterLagSupported) BOOL zeroShutterLagSupported API_AVAILABLE(ios(17.0), macos(14.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                                       `- note: 'isZeroShutterLagSupported' has been explicitly marked unavailable here
 692 |
 693 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:55:20: error: 'isZeroShutterLagEnabled' is unavailable in visionOS
 53 |
 54 |         if output.isZeroShutterLagSupported {
 55 |             output.isZeroShutterLagEnabled = options.contains(.zeroShutterLag)
    |                    `- error: 'isZeroShutterLagEnabled' is unavailable in visionOS
 56 |         }
 57 |         if output.isResponsiveCaptureSupported {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:701:59: note: 'isZeroShutterLagEnabled' has been explicitly marked unavailable here
 699 |     This property may only be set to YES if zeroShutterLagSupported is YES, otherwise an NSInvalidArgumentException is thrown. For apps linked on or after iOS 17 zero shutter lag is automatically enabled when supported. Enabling zero shutter lag reduces or eliminates shutter lag when using AVCapturePhotoQualityPrioritizationBalanced or Quality at the cost of additional memory usage by the photo output. The timestamp of the AVCapturePhoto may be slightly earlier than when -capturePhotoWithSettings:delegate: was called. To minimize camera shake from the user's tapping gesture it is recommended that -capturePhotoWithSettings:delegate: be called as early as possible when handling the touch down event. Zero shutter lag isn't available when using manual exposure or bracketed capture. Changing this property requires a lengthy reconfiguration of the capture render pipeline, so you should set this property to YES before calling -[AVCaptureSession startRunning] or within -[AVCaptureSession beginConfiguration] and -[AVCaptureSession commitConfiguration] while running.
 700 |  */
 701 | @property(nonatomic, getter=isZeroShutterLagEnabled) BOOL zeroShutterLagEnabled API_AVAILABLE(ios(17.0), macos(14.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                           `- note: 'isZeroShutterLagEnabled' has been explicitly marked unavailable here
 702 |
 703 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:57:19: error: 'isResponsiveCaptureSupported' is unavailable in visionOS
 55 |             output.isZeroShutterLagEnabled = options.contains(.zeroShutterLag)
 56 |         }
 57 |         if output.isResponsiveCaptureSupported {
    |                   `- error: 'isResponsiveCaptureSupported' is unavailable in visionOS
 58 |             output.isResponsiveCaptureEnabled = options.contains(.responsiveCapture)
 59 |             if output.isFastCapturePrioritizationSupported {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:711:74: note: 'isResponsiveCaptureSupported' has been explicitly marked unavailable here
 709 |     Enabling responsive capture increases peak and sustained capture rates, and reduces shutter lag at the cost of additional memory usage by the photo output. This property returns YES if the session's current configuration allows responsive capture. When switching cameras or formats, enabling depth data delivery, or enabling zero shutter lag this property may change. Responsive capture is only supported when zero shutter lag is enabled. When this property changes from YES to NO, responsiveCaptureEnabled also reverts to NO. This property is key-value observable.
 710 |  */
 711 | @property(nonatomic, readonly, getter=isResponsiveCaptureSupported) BOOL responsiveCaptureSupported API_AVAILABLE(ios(17.0), macos(14.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                                          `- note: 'isResponsiveCaptureSupported' has been explicitly marked unavailable here
 712 |
 713 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:58:20: error: 'isResponsiveCaptureEnabled' is unavailable in visionOS
 56 |         }
 57 |         if output.isResponsiveCaptureSupported {
 58 |             output.isResponsiveCaptureEnabled = options.contains(.responsiveCapture)
    |                    `- error: 'isResponsiveCaptureEnabled' is unavailable in visionOS
 59 |             if output.isFastCapturePrioritizationSupported {
 60 |                 output.isFastCapturePrioritizationEnabled = options.contains(.fastCapturePrioritization)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:721:62: note: 'isResponsiveCaptureEnabled' has been explicitly marked unavailable here
 719 |     This property may only be set to YES if responsiveCaptureSupported is YES, otherwise an NSInvalidArgumentException is thrown. When responsiveCaptureEnabled is YES the captureReadiness property should be used to determine whether new capture requests can be serviced in a reasonable time and whether the shutter control should be available to the user. Responsive capture adds buffering between the capture and photo processing stages which allows a new capture to start before processing has completed for the previous capture, so be prepared to handle -captureOutput:willBeginCaptureForResolvedSettings: being called before the -captureOutput:didFinishProcessingPhoto: for the prior requests. Processed photos continue to be delivered in the order they were captured. To minimize camera shake from the user's tapping gesture it is recommended that -capturePhotoWithSettings:delegate: be called as early as possible when handling the touch down event. Enabling responsive capture allows the fast capture prioritization feature to be used, which further increases capture rates and reduces preview and recording disruptions. See the fastCapturePrioritizationEnabled property. When requesting uncompressed output using kCVPixelBufferPixelFormatTypeKey in AVCapturePhotoSetting.format the AVCapturePhoto's pixelBuffer is allocated from a pool with enough capacity for that request only, and overlap between capture and processing is disabled. The client must release the AVCapturePhoto and references to the pixelBuffer before capturing again and the pixelBuffer's IOSurface must also no longer be in use. Changing this property requires a lengthy reconfiguration of the capture render pipeline, so you should set this property to YES before calling -[AVCaptureSession startRunning] or within -[AVCaptureSession beginConfiguration] and -[AVCaptureSession commitConfiguration] while running.
 720 |  */
 721 | @property(nonatomic, getter=isResponsiveCaptureEnabled) BOOL responsiveCaptureEnabled API_AVAILABLE(ios(17.0), macos(14.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                              `- note: 'isResponsiveCaptureEnabled' has been explicitly marked unavailable here
 722 |
 723 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:59:23: error: 'isFastCapturePrioritizationSupported' is unavailable in visionOS
 57 |         if output.isResponsiveCaptureSupported {
 58 |             output.isResponsiveCaptureEnabled = options.contains(.responsiveCapture)
 59 |             if output.isFastCapturePrioritizationSupported {
    |                       `- error: 'isFastCapturePrioritizationSupported' is unavailable in visionOS
 60 |                 output.isFastCapturePrioritizationEnabled = options.contains(.fastCapturePrioritization)
 61 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:360:72: note: 'isFastCapturePrioritizationSupported' has been explicitly marked unavailable here
 358 |     Fast capture prioritization allows capture quality to be automatically reduced from the selected AVCapturePhotoQualityPrioritization to ensure the photo output can keep up when captures are requested in rapid succession. Fast capture prioritization is only supported for certain AVCaptureSession sessionPresets and AVCaptureDevice activeFormats and only when responsiveCaptureEnabled is YES. When switching cameras or formats this property may change. When this property changes from YES to NO, fastCapturePrioritizationEnabled also reverts to NO. If you've previously opted in for fast capture prioritization and then change configurations, you may need to set fastCapturePrioritizationEnabled = YES again.
 359 |  */
 360 | @property(nonatomic, getter=isFastCapturePrioritizationSupported) BOOL fastCapturePrioritizationSupported API_AVAILABLE(ios(17.0), macos(14.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                                        `- note: 'isFastCapturePrioritizationSupported' has been explicitly marked unavailable here
 361 |
 362 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:60:24: error: 'isFastCapturePrioritizationEnabled' is unavailable in visionOS
 58 |             output.isResponsiveCaptureEnabled = options.contains(.responsiveCapture)
 59 |             if output.isFastCapturePrioritizationSupported {
 60 |                 output.isFastCapturePrioritizationEnabled = options.contains(.fastCapturePrioritization)
    |                        `- error: 'isFastCapturePrioritizationEnabled' is unavailable in visionOS
 61 |             }
 62 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:370:70: note: 'isFastCapturePrioritizationEnabled' has been explicitly marked unavailable here
 368 |     This property defaults to NO. This property may only be set to YES if fastCapturePrioritizationSupported is YES, otherwise an NSInvalidArgumentException is thrown. By setting this property to YES, the photo output prepares itself to automatically reduce capture quality from the selected AVCapturePhotoQualityPrioritization when needed to keep up with rapid capture requests. In many cases the slightly reduced quality is preferable to missing the moment entirely. If you intend to use fast capture prioritization, you should set this property to YES before calling -[AVCaptureSession startRunning] or within -[AVCaptureSession beginConfiguration] and -[AVCaptureSession commitConfiguration] while running.
 369 |  */
 370 | @property(nonatomic, getter=isFastCapturePrioritizationEnabled) BOOL fastCapturePrioritizationEnabled API_AVAILABLE(ios(17.0), macos(14.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                                      `- note: 'isFastCapturePrioritizationEnabled' has been explicitly marked unavailable here
 371 |
 372 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:81:23: error: 'isConstantColorSupported' is unavailable in visionOS
 79 |         #endif
 80 |         if #available(iOS 18.0, macOS 15.0, tvOS 18.0, macCatalyst 18.0, *) {
 81 |             if output.isConstantColorSupported {
    |                       `- error: 'isConstantColorSupported' is unavailable in visionOS
 82 |                 output.isConstantColorEnabled = options.contains(.constantColor)
 83 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:775:70: note: 'isConstantColorSupported' has been explicitly marked unavailable here
 773 |     This property returns YES if the session's current configuration allows photos to be captured with constant color. When switching cameras or formats this property may change. When this property changes from YES to NO, constantColorEnabled also reverts to NO. If you've previously opted in for constant color and then change configurations, you may need to set constantColorEnabled = YES again. This property is key-value observable.
 774 |  */
 775 | @property(nonatomic, readonly, getter=isConstantColorSupported) BOOL constantColorSupported API_AVAILABLE(macos(15.0), ios(18.0), macCatalyst(18.0), tvos(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                                      `- note: 'isConstantColorSupported' has been explicitly marked unavailable here
 776 |
 777 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:82:24: error: 'isConstantColorEnabled' is unavailable in visionOS
 80 |         if #available(iOS 18.0, macOS 15.0, tvOS 18.0, macCatalyst 18.0, *) {
 81 |             if output.isConstantColorSupported {
 82 |                 output.isConstantColorEnabled = options.contains(.constantColor)
    |                        `- error: 'isConstantColorEnabled' is unavailable in visionOS
 83 |             }
 84 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:785:58: note: 'isConstantColorEnabled' has been explicitly marked unavailable here
 783 |     Default is NO. Set to YES to enable support for taking constant color photos. This property may only be set to YES if constantColorSupported is YES. Enabling constant color requires a lengthy reconfiguration of the capture render pipeline, so if you intend to capture constant color photos, you should set this property to YES before calling -[AVCaptureSession startRunning] or within -[AVCaptureSession beginConfiguration] and -[AVCaptureSession commitConfiguration] while running.
 784 |  */
 785 | @property(nonatomic, getter=isConstantColorEnabled) BOOL constantColorEnabled API_AVAILABLE(macos(15.0), ios(18.0), macCatalyst(18.0), tvos(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                          `- note: 'isConstantColorEnabled' has been explicitly marked unavailable here
 786 |
 787 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:82:67: error: 'constantColor' is only available in visionOS 2.0 or newer
 12 |
 13 | /// An output service that outputs photo data, including Live Photo.
 14 | public struct PhotoCaptureService: OutputService, Logging {
    |               `- note: add '@available' attribute to enclosing struct
 15 |     /// A photo settings specifically configured for scene monitoring.
 16 |     ///
    :
 43 |     }
 44 |
 45 |     public func updateOutput(output: AVCapturePhotoOutput, context: Context) {
    |                 `- note: add '@available' attribute to enclosing instance method
 46 |         let maxSupportedPhotoDimensions = context.inputDevice
 47 |             .activeFormat
    :
 80 |         if #available(iOS 18.0, macOS 15.0, tvOS 18.0, macCatalyst 18.0, *) {
 81 |             if output.isConstantColorSupported {
 82 |                 output.isConstantColorEnabled = options.contains(.constantColor)
    |                                                                   |- error: 'constantColor' is only available in visionOS 2.0 or newer
    |                                                                   `- note: add 'if #available' version check
 83 |             }
 84 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:118:28: error: 'AVCapturePhotoSettings' is unavailable in visionOS
116 |         let format = processPhotoFormat(for: output, configuration: configuration)
117 |
118 |         var photoSettings: AVCapturePhotoSettings!
    |                            `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
119 |
120 |         #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:136:29: error: 'AVCapturePhotoSettings' is unavailable in visionOS
134 |
135 |         if photoSettings == nil {
136 |             photoSettings = AVCapturePhotoSettings(format: format)
    |                             `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
137 |         }
138 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:140:14: error: 'supportedMaxPhotoDimensions' is unavailable in visionOS
138 |
139 |         var dimensions: CMVideoDimensions! = context.inputDevice.activeFormat
140 |             .supportedMaxPhotoDimensions
    |              `- error: 'supportedMaxPhotoDimensions' is unavailable in visionOS
141 |             .first(where: {
142 |                 $0.width * $0.height > configuration.preferredResolution._minimumPixelCount
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/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:147:18: error: 'supportedMaxPhotoDimensions' is unavailable in visionOS
145 |             let maximumSupportedPhotoDimensions = context.inputDevice
146 |                 .activeFormat
147 |                 .supportedMaxPhotoDimensions.last
    |                  `- error: 'supportedMaxPhotoDimensions' is unavailable in visionOS
148 |             precondition(maximumSupportedPhotoDimensions != nil, "Video device must support at least one max photo dimensions.")
149 |
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/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:154:23: error: 'maxPhotoDimensions' is unavailable in visionOS
152 |         }
153 |
154 |         photoSettings.maxPhotoDimensions = dimensions
    |                       `- error: 'maxPhotoDimensions' is unavailable in visionOS
155 |
156 |         setPhotoQualityPrioritizationIfSupported(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h: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/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:167:19: error: 'supportedFlashModes' is unavailable in visionOS
165 |
166 |         let flash = await context.coordinator.cameraCoordinator.camera.flash
167 |         if output.supportedFlashModes.contains(flash.userSelectedMode) {
    |                   `- error: 'supportedFlashModes' is unavailable in visionOS
168 |             photoSettings.flashMode = flash.userSelectedMode
169 |         }
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/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:174:26: error: 'isConstantColorSupported' is unavailable in visionOS
172 |         func _enableConstantColorIfRequestedAndEligible() {
173 |             guard options.contains(.constantColor) else { return }
174 |             guard output.isConstantColorSupported else {
    |                          `- error: 'isConstantColorSupported' is unavailable in visionOS
175 |                 logger.error("[Constant Color] Current device doesn't support constant color.")
176 |                 return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:775:70: note: 'isConstantColorSupported' has been explicitly marked unavailable here
 773 |     This property returns YES if the session's current configuration allows photos to be captured with constant color. When switching cameras or formats this property may change. When this property changes from YES to NO, constantColorEnabled also reverts to NO. If you've previously opted in for constant color and then change configurations, you may need to set constantColorEnabled = YES again. This property is key-value observable.
 774 |  */
 775 | @property(nonatomic, readonly, getter=isConstantColorSupported) BOOL constantColorSupported API_AVAILABLE(macos(15.0), ios(18.0), macCatalyst(18.0), tvos(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                                      `- note: 'isConstantColorSupported' has been explicitly marked unavailable here
 776 |
 777 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:183:27: error: 'isConstantColorEnabled' is unavailable in visionOS
181 |             }
182 |
183 |             photoSettings.isConstantColorEnabled = true
    |                           `- error: 'isConstantColorEnabled' is unavailable in visionOS
184 |             photoSettings.isConstantColorFallbackPhotoDeliveryEnabled = true
185 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1660:58: note: 'isConstantColorEnabled' has been explicitly marked unavailable here
1658 |     Default is NO. Set to YES if you wish to capture a constant color photo. Throws an exception if -[AVCapturePhotoOutput constantColorEnabled] is not set to YES.
1659 |  */
1660 | @property(nonatomic, getter=isConstantColorEnabled) BOOL constantColorEnabled API_AVAILABLE(macos(15.0), ios(18.0), macCatalyst(18.0), tvos(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                          `- note: 'isConstantColorEnabled' has been explicitly marked unavailable here
1661 |
1662 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:184:27: error: 'isConstantColorFallbackPhotoDeliveryEnabled' is unavailable in visionOS
182 |
183 |             photoSettings.isConstantColorEnabled = true
184 |             photoSettings.isConstantColorFallbackPhotoDeliveryEnabled = true
    |                           `- error: 'isConstantColorFallbackPhotoDeliveryEnabled' is unavailable in visionOS
185 |         }
186 |         if #available(iOS 18.0, macOS 15.0, tvOS 18.0, macCatalyst 18.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1670:79: note: 'isConstantColorFallbackPhotoDeliveryEnabled' has been explicitly marked unavailable here
1668 |     Default is NO. Set to YES if you wish to receive a fallback photo that can be used in case the main constant color photo's confidence level is too low for your use case.
1669 |  */
1670 | @property(nonatomic, getter=isConstantColorFallbackPhotoDeliveryEnabled) BOOL constantColorFallbackPhotoDeliveryEnabled API_AVAILABLE(macos(15.0), ios(18.0), macCatalyst(18.0), tvos(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                                               `- note: 'isConstantColorFallbackPhotoDeliveryEnabled' has been explicitly marked unavailable here
1671 |
1672 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:187:13: error: '_enableConstantColorIfRequestedAndEligible()' is only available in visionOS 2.0 or newer
108 | }
109 |
110 | extension PhotoCaptureService {
    | `- note: add '@available' attribute to enclosing extension
111 |     internal func createPhotoSettings(
    |                   `- note: add '@available' attribute to enclosing instance method
112 |         output: Output,
113 |         configuration: PhotoCaptureConfiguration,
    :
185 |         }
186 |         if #available(iOS 18.0, macOS 15.0, tvOS 18.0, macCatalyst 18.0, *) {
187 |             _enableConstantColorIfRequestedAndEligible()
    |             |- error: '_enableConstantColorIfRequestedAndEligible()' is only available in visionOS 2.0 or newer
    |             `- note: add 'if #available' version check
188 |         }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:210:23: error: 'photoQualityPrioritization' is unavailable in visionOS
208 |         #endif
209 |
210 |         photoSettings.photoQualityPrioritization = prioritization
    |                       `- error: 'photoQualityPrioritization' is unavailable in visionOS
211 |     }
212 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1382:58: note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1380 |     Default value is AVCapturePhotoQualityPrioritizationBalanced. The AVCapturePhotoOutput is capable of applying a variety of techniques to improve photo quality (reduce noise, preserve detail in low light, freeze motion, etc), depending on the source device's activeFormat. Some of these techniques can take significant processing time before the photo is returned to your delegate callback. The photoQualityPrioritization property allows you to specify your preferred quality vs speed of delivery. By default, speed and quality are considered to be of equal importance. When you specify AVCapturePhotoQualityPrioritizationSpeed, you indicate that speed should be prioritized at the expense of quality. Likewise, when you choose AVCapturePhotoQualityPrioritizationQuality, you signal your willingness to prioritize the very best quality at the expense of speed, and your readiness to wait (perhaps significantly) longer for the photo to be returned to your delegate.
1381 |  */
1382 | @property(nonatomic) AVCapturePhotoQualityPrioritization photoQualityPrioritization API_AVAILABLE(macos(13.0), ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
     |                                                          `- note: 'photoQualityPrioritization' has been explicitly marked unavailable here
1383 |
1384 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:219:15: error: 'AVCapturePhotoOutput' is unavailable in visionOS
217 |         let rawPhotoPixelFormat = photoSettings.rawPhotoPixelFormatType
218 |
219 |         guard AVCapturePhotoOutput.isBayerRAWPixelFormat(rawPhotoPixelFormat) else {
    |               `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
220 |             return true // processed photo always support setting prioritization.
221 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:219:36: error: 'isBayerRAWPixelFormat' is unavailable in visionOS
217 |         let rawPhotoPixelFormat = photoSettings.rawPhotoPixelFormatType
218 |
219 |         guard AVCapturePhotoOutput.isBayerRAWPixelFormat(rawPhotoPixelFormat) else {
    |                                    `- error: 'isBayerRAWPixelFormat' is unavailable in visionOS
220 |             return true // processed photo always support setting prioritization.
221 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:212:1: note: 'isBayerRAWPixelFormat' has been explicitly marked unavailable here
 210 |     May be used to distinguish Bayer RAW from Apple ProRAW pixel formats in -availableRawPhotoPixelFormatTypes once appleProRAWEnabled has been set to YES.
 211 |  */
 212 | + (BOOL)isBayerRAWPixelFormat:(OSType)pixelFormat API_AVAILABLE(ios(14.3), macCatalyst(14.3), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     | `- note: 'isBayerRAWPixelFormat' has been explicitly marked unavailable here
 213 |
 214 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:224:16: error: 'AVCapturePhotoOutput' is unavailable in visionOS
222 |
223 |         // Apple ProRAW is a special bayer RAW, and it supports setting prioritization.
224 |         return AVCapturePhotoOutput.isAppleProRAWPixelFormat(rawPhotoPixelFormat)
    |                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
225 |     }
226 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/PhotoCaptureDelegate.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PhotoCaptureDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/PhotoCaptureOptions.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PhotoCaptureOptions.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/PhotoCaptureService.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PhotoCaptureService.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/PhotoFileDataRepresentationCustomizer.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PhotoFileDataRepresentationCustomizer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/AnyEquatable.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AnyEquatable.swift
SwiftCompile normal arm64 Compiling\ Cancellables.swift,\ DeviceType.swift,\ Logging.swift,\ Sequence++.swift,\ CameraPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/Cancellables.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/DeviceType.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/Logging.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/Sequence++.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift (in target 'Aperture' from project 'Aperture')
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:12:19: error: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 10 |
 11 | struct CameraPreview {
 12 |     let preview = _PlatformViewBackedPreview()
    |                   `- error: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 13 |
 14 |     @MainActor
    :
 87 | extension CameraPreview {
 88 |     @MainActor
 89 |     class _PlatformViewBackedPreview: PlatformView {
    |           `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 90 |         let videoPreviewLayer = AVCaptureVideoPreviewLayer()
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:15:16: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 13 |
 14 |     @MainActor
 15 |     var layer: AVCaptureVideoPreviewLayer {
    |                `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 16 |         preview.videoPreviewLayer
 17 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 31 |  */
 32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 33 | @interface AVCaptureVideoPreviewLayer : CALayer
    |            `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 34 | {
 35 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:89:39: error: cannot find type 'PlatformView' in scope
 87 | extension CameraPreview {
 88 |     @MainActor
 89 |     class _PlatformViewBackedPreview: PlatformView {
    |                                       `- error: cannot find type 'PlatformView' in scope
 90 |         let videoPreviewLayer = AVCaptureVideoPreviewLayer()
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:74:1: error: type 'CameraPreview' does not conform to protocol 'UIViewRepresentable'
 72 | }
 73 | #else
 74 | extension CameraPreview: UIViewRepresentable {
    | `- error: type 'CameraPreview' does not conform to protocol 'UIViewRepresentable'
 75 |     func makeUIView(context: Context) -> _PlatformViewBackedPreview {
    |          `- note: candidate would match and infer 'UIViewType' = 'CameraPreview._PlatformViewBackedPreview' if 'CameraPreview._PlatformViewBackedPreview' inherited from 'UIView'
 76 |         preview
 77 |     }
 78 |
 79 |     func updateUIView(_ view: _PlatformViewBackedPreview, context: Context) {
    |          `- note: candidate would match and infer 'UIViewType' = 'CameraPreview._PlatformViewBackedPreview' if 'CameraPreview._PlatformViewBackedPreview' inherited from 'UIView'
 80 |
 81 |     }
SwiftUI.UIViewRepresentable.UIViewType:2:16: note: unable to infer associated type 'UIViewType' for protocol 'UIViewRepresentable'
1 | protocol UIViewRepresentable {
2 | associatedtype UIViewType : UIView}
  |                `- note: unable to infer associated type 'UIViewType' for protocol 'UIViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:90:33: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 88 |     @MainActor
 89 |     class _PlatformViewBackedPreview: PlatformView {
 90 |         let videoPreviewLayer = AVCaptureVideoPreviewLayer()
    |                                 `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 91 |
 92 |         var session: AVCaptureSession? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 31 |  */
 32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 33 | @interface AVCaptureVideoPreviewLayer : CALayer
    |            `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 34 | {
 35 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:137:28: error: cannot find type 'PlatformView' in scope
135 |         #endif
136 |
137 |         var _snapshotView: PlatformView?
    |                            `- error: cannot find type 'PlatformView' in scope
138 |         var snapshotLayer: CALayer? { _snapshotView?.layer }
139 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:28:62: error: 'connection' is unavailable in visionOS
 26 |     nonisolated func adjustPreview(for device: AVCaptureDevice) {
 27 |         Task { @MainActor in
 28 |             guard let connection = preview.videoPreviewLayer.connection else { return }
    |                                                              `- error: 'connection' is unavailable in visionOS
 29 |             #if os(iOS)
 30 |             connection.preferredVideoStabilizationMode = .previewOptimized
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 |     When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 |  */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
    |                                                               `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:35:32: error: 'automaticallyAdjustsVideoMirroring' is unavailable in visionOS
 33 |             if connection.isVideoMirroringSupported {
 34 |                 if device.position == .unspecified {
 35 |                     connection.automaticallyAdjustsVideoMirroring = false
    |                                `- error: 'automaticallyAdjustsVideoMirroring' is unavailable in visionOS
 36 |                     connection.isVideoMirrored = true
 37 |                 } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1062:27: note: 'automaticallyAdjustsVideoMirroring' has been explicitly marked unavailable here
1060 |     For some session configurations, video data flowing through the connection will be mirrored by default. When the value of this property is YES, the value of @"videoMirrored" may change depending on the configuration of the session, for example after switching to a different AVCaptureDeviceInput. The default value is YES.
1061 |  */
1062 | @property(nonatomic) BOOL automaticallyAdjustsVideoMirroring API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     |                           `- note: 'automaticallyAdjustsVideoMirroring' has been explicitly marked unavailable here
1063 |
1064 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:38:32: error: 'automaticallyAdjustsVideoMirroring' is unavailable in visionOS
 36 |                     connection.isVideoMirrored = true
 37 |                 } else {
 38 |                     connection.automaticallyAdjustsVideoMirroring = true
    |                                `- error: 'automaticallyAdjustsVideoMirroring' is unavailable in visionOS
 39 |                 }
 40 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1062:27: note: 'automaticallyAdjustsVideoMirroring' has been explicitly marked unavailable here
1060 |     For some session configurations, video data flowing through the connection will be mirrored by default. When the value of this property is YES, the value of @"videoMirrored" may change depending on the configuration of the session, for example after switching to a different AVCaptureDeviceInput. The default value is YES.
1061 |  */
1062 | @property(nonatomic) BOOL automaticallyAdjustsVideoMirroring API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     |                           `- note: 'automaticallyAdjustsVideoMirroring' has been explicitly marked unavailable here
1063 |
1064 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:152:33: error: value of type 'CameraPreview._PlatformViewBackedPreview' has no member 'snapshotView'
150 |         guard _snapshotView == nil else { return }
151 |
152 |         let snapshotView = self.snapshotView(afterScreenUpdates: true)
    |                                 `- error: value of type 'CameraPreview._PlatformViewBackedPreview' has no member 'snapshotView'
153 |         self._snapshotView = snapshotView
154 |         guard let snapshotView else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:157:14: error: value of type 'CameraPreview._PlatformViewBackedPreview' has no member 'layer'
155 |
156 |         let snapshotLayer = snapshotView.layer
157 |         self.layer.addSublayer(snapshotLayer)
    |              `- error: value of type 'CameraPreview._PlatformViewBackedPreview' has no member 'layer'
158 |
159 |         snapshotLayer.frame = bounds
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/Cancellables.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Cancellables.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/DeviceType.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile DeviceType.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/Logging.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Logging.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/Sequence++.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Sequence++.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraPreview.swift
SwiftCompile normal arm64 Compiling\ Camera.PhotoCapture.swift,\ Camera.State.swift,\ Camera.swift,\ CameraActor.swift,\ CameraCaptureProfile.swift,\ CameraCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.State.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraActor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift (in target 'Aperture' from project 'Aperture')
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift:51:17: error: 'AVCapturePhotoOutput' is unavailable in visionOS
49 |
50 |     private func withPhotoOutputReadinessCoordinatorTracking<T>(
51 |         output: AVCapturePhotoOutput,
   |                 `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
52 |         photoSettings: AVCapturePhotoSettings,
53 |         perform action: () async throws -> T
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift:52:24: error: 'AVCapturePhotoSettings' is unavailable in visionOS
50 |     private func withPhotoOutputReadinessCoordinatorTracking<T>(
51 |         output: AVCapturePhotoOutput,
52 |         photoSettings: AVCapturePhotoSettings,
   |                        `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
53 |         perform action: () async throws -> T
54 |     ) async rethrows -> T {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift:80:24: error: 'AVCapturePhotoOutputReadinessCoordinator' is unavailable in visionOS
78 |
79 |     func readinessCoordinator(
80 |         _ coordinator: AVCapturePhotoOutputReadinessCoordinator,
   |                        `- error: 'AVCapturePhotoOutputReadinessCoordinator' is unavailable in visionOS
81 |         captureReadinessDidChange captureReadiness: AVCapturePhotoOutput.CaptureReadiness
82 |     ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:830:12: note: 'AVCapturePhotoOutputReadinessCoordinator' has been explicitly marked unavailable here
 828 |
 829 | API_AVAILABLE(ios(17.0), macos(14.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 830 | @interface AVCapturePhotoOutputReadinessCoordinator : NSObject
     |            `- note: 'AVCapturePhotoOutputReadinessCoordinator' has been explicitly marked unavailable here
 831 |
 832 | AV_INIT_UNAVAILABLE
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift:81:53: error: 'AVCapturePhotoOutput' is unavailable in visionOS
79 |     func readinessCoordinator(
80 |         _ coordinator: AVCapturePhotoOutputReadinessCoordinator,
81 |         captureReadinessDidChange captureReadiness: AVCapturePhotoOutput.CaptureReadiness
   |                                                     `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
82 |     ) {
83 |         camera.shutterDisabled = captureReadiness != .ready
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift:72:58: error: 'AVCapturePhotoOutputReadinessCoordinatorDelegate' is unavailable in visionOS
70 | // MARK: - Delegate
71 |
72 | final class PhotoReadinessCoordinatorDelegate: NSObject, AVCapturePhotoOutputReadinessCoordinatorDelegate {
   |                                                          `- error: 'AVCapturePhotoOutputReadinessCoordinatorDelegate' is unavailable in visionOS
73 |     unowned var camera: Camera
74 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:885:11: note: 'AVCapturePhotoOutputReadinessCoordinatorDelegate' has been explicitly marked unavailable here
 883 |
 884 | API_AVAILABLE(ios(17.0), macos(14.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 885 | @protocol AVCapturePhotoOutputReadinessCoordinatorDelegate <NSObject>
     |           `- note: 'AVCapturePhotoOutputReadinessCoordinatorDelegate' has been explicitly marked unavailable here
 886 |
 887 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift:55:35: error: 'AVCapturePhotoOutputReadinessCoordinator' is unavailable in visionOS
53 |         perform action: () async throws -> T
54 |     ) async rethrows -> T {
55 |         var readinessCoordinator: AVCapturePhotoOutputReadinessCoordinator?
   |                                   `- error: 'AVCapturePhotoOutputReadinessCoordinator' is unavailable in visionOS
56 |         #if os(iOS)
57 |         readinessCoordinator = AVCapturePhotoOutputReadinessCoordinator(photoOutput: output)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:830:12: note: 'AVCapturePhotoOutputReadinessCoordinator' has been explicitly marked unavailable here
 828 |
 829 | API_AVAILABLE(ios(17.0), macos(14.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 830 | @interface AVCapturePhotoOutputReadinessCoordinator : NSObject
     |            `- note: 'AVCapturePhotoOutputReadinessCoordinator' has been explicitly marked unavailable here
 831 |
 832 | AV_INIT_UNAVAILABLE
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.swift:136:36: error: 'FocusMode' is unavailable in visionOS
134 |     public func setManualFocus(
135 |         pointOfInterest: CGPoint,
136 |         focusMode: AVCaptureDevice.FocusMode,
    |                                    `- error: 'FocusMode' is unavailable in visionOS
137 |         exposureMode: AVCaptureDevice.ExposureMode
138 |     ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1156:28: note: 'FocusMode' has been explicitly marked unavailable here
1154 |     Indicates that the device should automatically focus when needed.
1155 |  */
1156 | typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
     |                            `- note: 'FocusMode' has been explicitly marked unavailable here
1157 |     AVCaptureFocusModeLocked              = 0,
1158 |     AVCaptureFocusModeAutoFocus           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.swift:137:39: error: 'ExposureMode' is unavailable in visionOS
135 |         pointOfInterest: CGPoint,
136 |         focusMode: AVCaptureDevice.FocusMode,
137 |         exposureMode: AVCaptureDevice.ExposureMode
    |                                       `- error: 'ExposureMode' is unavailable in visionOS
138 |     ) {
139 |         Task { @CameraActor in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 |     Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 |  */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
     |                            `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 |     AVCaptureExposureModeLocked                            = 0,
1424 |     AVCaptureExposureModeAutoExpose                        = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.swift:98:9: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#NoUseUnstructuredThrowingTask]
 96 |         guard self.captureSessionState == .idle else { throw CameraError.sessionAlreadStarted }
 97 |
 98 |         Task { @CameraActor in
    |         |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#NoUseUnstructuredThrowingTask]
    |         `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
 99 |             try coordinator.configureSession()
100 |             if !coordinator.captureSession.isRunning {
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.swift:151:24: error: 'setExposureTargetBias(_:completionHandler:)' is unavailable in visionOS
149 |                 }
150 |
151 |                 device.setExposureTargetBias(Float.zero)
    |                        `- error: 'setExposureTargetBias(_:completionHandler:)' is unavailable in visionOS
152 |                 device.exposurePointOfInterest = pointOfInterest
153 |                 if device.isExposureModeSupported(exposureMode) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1709:1: note: 'setExposureTargetBias(_:completionHandler:)' has been explicitly marked unavailable here
1707 |     This is the only way of setting exposureTargetBias. This method throws an NSRangeException if exposureTargetBias is set to an unsupported level. This method throws an NSGenericException if called without first obtaining exclusive access to the receiver using lockForConfiguration:.
1708 |  */
1709 | - (void)setExposureTargetBias:(float)bias completionHandler:(nullable void (^)(CMTime syncTime))handler API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     | `- note: 'setExposureTargetBias(_:completionHandler:)' has been explicitly marked unavailable here
1710 |
1711 | /// Reports which characteristics the auto exposure system associates with the current scene. Auto exposure may adjust properties such as lens aperture size based on these factors. This property is key-value observable.
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.swift:159:24: error: 'isSubjectAreaChangeMonitoringEnabled' is unavailable in visionOS
157 |                 let locked = focusMode == .locked || exposureMode == .locked
158 |                 // Enable `SubjectAreaChangeMonitoring` to reset focus at appropriate time
159 |                 device.isSubjectAreaChangeMonitoringEnabled = !locked
    |                        `- error: 'isSubjectAreaChangeMonitoringEnabled' is unavailable in visionOS
160 |             }
161 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2012:72: note: 'isSubjectAreaChangeMonitoringEnabled' has been explicitly marked unavailable here
2010 |     The value of this property is a BOOL indicating whether the receiver should monitor the video subject area for changes, such as lighting changes, substantial movement, etc. If subject area change monitoring is enabled, the receiver sends an AVCaptureDeviceSubjectAreaDidChangeNotification whenever it detects a change to the subject area, at which time an interested client may wish to re-focus, adjust exposure, white balance, etc. The receiver must be locked for configuration using lockForConfiguration: before clients can set the value of this property.
2011 |  */
2012 | @property(nonatomic, getter=isSubjectAreaChangeMonitoringEnabled) BOOL subjectAreaChangeMonitoringEnabled API_AVAILABLE(ios(5.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                                        `- note: 'isSubjectAreaChangeMonitoringEnabled' has been explicitly marked unavailable here
2013 |
2014 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift:13:48: error: 'Preset' is unavailable in visionOS
11 | public struct CameraCaptureProfile: Sendable {
12 |     /// The capture session preset that determines the resolution and overall capture quality.
13 |     public var sessionPreset: AVCaptureSession.Preset
   |                                                `- error: 'Preset' is unavailable in visionOS
14 |
15 |     /// The output services enabled for this capture profile.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift:33:49: error: 'Preset' is unavailable in visionOS
31 |     ///   - sessionPreset: The capture session preset to use.
32 |     ///   - servicesBuilder: A result builder that produces the output services associated with this profile.
33 |     public init(sessionPreset: AVCaptureSession.Preset, @OutputServiceBuilder servicesBuilder: () -> [any OutputService]) {
   |                                                 `- error: 'Preset' is unavailable in visionOS
34 |         self.sessionPreset = sessionPreset
35 |         self.outputServices = servicesBuilder()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift:43:49: error: 'Preset' is unavailable in visionOS
41 |     ///   - sessionPreset: The capture session preset to use.
42 |     ///   - services: The output services associated with this profile.
43 |     public init(sessionPreset: AVCaptureSession.Preset, services: [any OutputService]) {
   |                                                 `- error: 'Preset' is unavailable in visionOS
44 |         self.sessionPreset = sessionPreset
45 |         self.outputServices = services
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift:67:25: error: 'hd1920x1080' is unavailable in visionOS
65 |     /// A predefined capture profile for 1080p high-definition video recording.
66 |     private static let hd1080p = CameraCaptureProfile(
67 |         sessionPreset: .hd1920x1080,
   |                         `- error: 'hd1920x1080' is unavailable in visionOS
68 |         services: [MovieCaptureService()]
69 |     )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:121:41: note: 'hd1920x1080' has been explicitly marked unavailable here
119 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset1920x1080 to achieve 1920x1080 output.
120 |  */
121 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset1920x1080 API_AVAILABLE(macos(10.15), ios(5.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'hd1920x1080' has been explicitly marked unavailable here
122 |
123 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift:73:25: error: 'hd4K3840x2160' is unavailable in visionOS
71 |     /// A predefined capture profile for 4K ultra-high-definition video recording.
72 |     private static let hd4k = CameraCaptureProfile(
73 |         sessionPreset: .hd4K3840x2160,
   |                         `- error: 'hd4K3840x2160' is unavailable in visionOS
74 |         services: [MovieCaptureService()]
75 |     )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:131:41: note: 'hd4K3840x2160' has been explicitly marked unavailable here
129 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset3840x2160 to achieve 3840x2160 output.
130 |  */
131 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160 API_AVAILABLE(macos(10.15), ios(9.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'hd4K3840x2160' has been explicitly marked unavailable here
132 |
133 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift:60:29: error: 'photo' is unavailable in visionOS
58 |     public static func photo(options: PhotoCaptureOptions = .default) -> CameraCaptureProfile {
59 |         CameraCaptureProfile(
60 |             sessionPreset: .photo,
   |                             `- error: 'photo' is unavailable in visionOS
61 |             services: [PhotoCaptureService(options: options)]
62 |         )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:31:41: note: 'photo' has been explicitly marked unavailable here
 29 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetPhoto for full resolution photo quality output.
 30 |  */
 31 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetPhoto API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'photo' has been explicitly marked unavailable here
 32 |
 33 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:89:39: error: cannot find type 'PlatformView' in scope
 87 | extension CameraPreview {
 88 |     @MainActor
 89 |     class _PlatformViewBackedPreview: PlatformView {
    |                                       `- error: cannot find type 'PlatformView' in scope
 90 |         let videoPreviewLayer = AVCaptureVideoPreviewLayer()
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:362:74: error: 'RotationCoordinator' is unavailable in visionOS
360 |     @Cancellables private var rotationObservers
361 |     /// A rotation coordinator that monitors physical orientation to ensure the level of preview and captured content is relative to gravity.
362 |     nonisolated(unsafe) private var rotationCoordinator: AVCaptureDevice.RotationCoordinator?
    |                                                                          `- error: 'RotationCoordinator' is unavailable in visionOS
363 |
364 |     nonisolated private func observeRotationCoordinator() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3068:12: note: 'RotationCoordinator' has been explicitly marked unavailable here
3066 | API_AVAILABLE(macos(14.0), ios(17.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
3067 | NS_SWIFT_NAME(AVCaptureDevice.RotationCoordinator)
3068 | @interface AVCaptureDeviceRotationCoordinator : NSObject
     |            `- note: 'RotationCoordinator' has been explicitly marked unavailable here
3069 |
3070 | AV_INIT_UNAVAILABLE
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:63:27: error: 'canSetSessionPreset' is unavailable in visionOS
 61 |         }
 62 |
 63 |         if captureSession.canSetSessionPreset(profile.sessionPreset) {
    |                           `- error: 'canSetSessionPreset' is unavailable in visionOS
 64 |             captureSession.sessionPreset = profile.sessionPreset
 65 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:156:1: note: 'canSetSessionPreset' has been explicitly marked unavailable here
 154 |     An AVCaptureSession instance can be associated with a preset that configures its inputs and outputs to fulfill common use cases. This method can be used to determine if the receiver supports the desired preset given its current input and output configuration. The receiver's sessionPreset property may only be set to a certain preset if this method returns YES for that preset.
 155 |  */
 156 | - (BOOL)canSetSessionPreset:(AVCaptureSessionPreset)preset API_UNAVAILABLE(visionos);
     | `- note: 'canSetSessionPreset' has been explicitly marked unavailable here
 157 |
 158 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:64:28: error: 'sessionPreset' is unavailable in visionOS
 62 |
 63 |         if captureSession.canSetSessionPreset(profile.sessionPreset) {
 64 |             captureSession.sessionPreset = profile.sessionPreset
    |                            `- error: 'sessionPreset' is unavailable in visionOS
 65 |         }
 66 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
 164 |     The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
 165 |  */
 166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
     |                                                   `- note: 'sessionPreset' has been explicitly marked unavailable here
 167 |
 168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:109:27: error: 'canSetSessionPreset' is unavailable in visionOS
107 |         }
108 |
109 |         if captureSession.canSetSessionPreset(profile.sessionPreset) {
    |                           `- error: 'canSetSessionPreset' is unavailable in visionOS
110 |             captureSession.sessionPreset = profile.sessionPreset
111 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:156:1: note: 'canSetSessionPreset' has been explicitly marked unavailable here
 154 |     An AVCaptureSession instance can be associated with a preset that configures its inputs and outputs to fulfill common use cases. This method can be used to determine if the receiver supports the desired preset given its current input and output configuration. The receiver's sessionPreset property may only be set to a certain preset if this method returns YES for that preset.
 155 |  */
 156 | - (BOOL)canSetSessionPreset:(AVCaptureSessionPreset)preset API_UNAVAILABLE(visionos);
     | `- note: 'canSetSessionPreset' has been explicitly marked unavailable here
 157 |
 158 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:110:28: error: 'sessionPreset' is unavailable in visionOS
108 |
109 |         if captureSession.canSetSessionPreset(profile.sessionPreset) {
110 |             captureSession.sessionPreset = profile.sessionPreset
    |                            `- error: 'sessionPreset' is unavailable in visionOS
111 |         }
112 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
 164 |     The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
 165 |  */
 166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
     |                                                   `- note: 'sessionPreset' has been explicitly marked unavailable here
 167 |
 168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:135:43: error: 'observeDisplayZoomFactorMultiplier()' is only available in visionOS 2.0 or newer
 14 | @CameraActor
 15 | @_spi(Internal)
 16 | public final class CameraCoordinator: NSObject, Logging {
    |                    `- note: add '@available' attribute to enclosing class
 17 |     /// The ``Camera`` instance.
 18 |     @MainActor weak var camera: Camera!
    :
117 |     }
118 |
119 |     private func configureSessionInput(device: AVCaptureDevice) {
    |                  `- note: add '@available' attribute to enclosing instance method
120 |         $zoomInformationObservers.cancelAll()
121 |
    :
133 |         let displayZoomFactorMultiplier: CGFloat
134 |         if #available(iOS 18.0, macOS 14.0, *) {
135 |             displayZoomFactorMultiplier = observeDisplayZoomFactorMultiplier()
    |                                           |- error: 'observeDisplayZoomFactorMultiplier()' is only available in visionOS 2.0 or newer
    |                                           `- note: add 'if #available' version check
136 |         } else {
137 |             let wideAngleCameraZoomFactor = self.wideAngleCameraZoomFactor
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:208:51: error: 'RotationCoordinator' is unavailable in visionOS
206 |     private func setupRotationCoordinator(for device: AVCaptureDevice) {
207 |         Task { @MainActor in
208 |             rotationCoordinator = AVCaptureDevice.RotationCoordinator(
    |                                                   `- error: 'RotationCoordinator' is unavailable in visionOS
209 |                 device: device,
210 |                 previewLayer: cameraPreview.layer
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3068:12: note: 'RotationCoordinator' has been explicitly marked unavailable here
3066 | API_AVAILABLE(macos(14.0), ios(17.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
3067 | NS_SWIFT_NAME(AVCaptureDevice.RotationCoordinator)
3068 | @interface AVCaptureDeviceRotationCoordinator : NSObject
     |            `- note: 'RotationCoordinator' has been explicitly marked unavailable here
3069 |
3070 | AV_INIT_UNAVAILABLE
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:252:24: error: 'displayVideoZoomFactorMultiplier' is unavailable in visionOS
250 |         withValueObservation(
251 |             of: cameraInputDevice,
252 |             keyPath: \.displayVideoZoomFactorMultiplier,
    |                        `- error: 'displayVideoZoomFactorMultiplier' is unavailable in visionOS
253 |             cancellables: &zoomInformationObservers
254 |         ) { [weak self] displayVideoZoomFactorMultiplier in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2128:40: note: 'displayVideoZoomFactorMultiplier' has been explicitly marked unavailable here
2126 |     In some system user interfaces, like the macOS Video Effects Menu, the video zoom factor value is displayed in a way most appropriate for visual representation and might differ from the videoZoomFactor property value on the receiver by a fixed ratio. For example, if the videoZoomFactor property value is 1.0 and the displayVideoZoomFactorMultiplier property value is 0.5, then multiplying 1.0 and 0.5 produces 0.5 which can be displayed in the UI. Client applications can key value observe this property to update the display video zoom factor values in their UI to stay consistent with Apple's system UIs.
2127 |   */
2128 | @property(nonatomic, readonly) CGFloat displayVideoZoomFactorMultiplier API_AVAILABLE(macos(14.0), ios(18.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(watchos, visionos);
     |                                        `- note: 'displayVideoZoomFactorMultiplier' has been explicitly marked unavailable here
2129 |
2130 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:260:34: error: 'displayVideoZoomFactorMultiplier' is unavailable in visionOS
258 |         }
259 |
260 |         return cameraInputDevice.displayVideoZoomFactorMultiplier
    |                                  `- error: 'displayVideoZoomFactorMultiplier' is unavailable in visionOS
261 |     }
262 |     #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2128:40: note: 'displayVideoZoomFactorMultiplier' has been explicitly marked unavailable here
2126 |     In some system user interfaces, like the macOS Video Effects Menu, the video zoom factor value is displayed in a way most appropriate for visual representation and might differ from the videoZoomFactor property value on the receiver by a fixed ratio. For example, if the videoZoomFactor property value is 1.0 and the displayVideoZoomFactorMultiplier property value is 0.5, then multiplying 1.0 and 0.5 produces 0.5 which can be displayed in the UI. Client applications can key value observe this property to update the display video zoom factor values in their UI to stay consistent with Apple's system UIs.
2127 |   */
2128 | @property(nonatomic, readonly) CGFloat displayVideoZoomFactorMultiplier API_AVAILABLE(macos(14.0), ios(18.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(watchos, visionos);
     |                                        `- note: 'displayVideoZoomFactorMultiplier' has been explicitly marked unavailable here
2129 |
2130 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:376:54: error: 'videoRotationAngle' is unavailable in visionOS
374 |                 guard let self else { return }
375 |                 for output in self.activeOutputs {
376 |                     output.connection(with: .video)?.videoRotationAngle = angle
    |                                                      `- error: 'videoRotationAngle' is unavailable in visionOS
377 |                 }
378 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h: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/Aperture/Internal/UI/CameraPreview.swift:90:33: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 88 |     @MainActor
 89 |     class _PlatformViewBackedPreview: PlatformView {
 90 |         let videoPreviewLayer = AVCaptureVideoPreviewLayer()
    |                                 `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 91 |
 92 |         var session: AVCaptureSession? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 31 |  */
 32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 33 | @interface AVCaptureVideoPreviewLayer : CALayer
    |            `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 34 | {
 35 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:391:63: error: 'connection' is unavailable in visionOS
389 |             self?.updateCamera { @MainActor camera in
390 |                 camera.previewRotationAngle = angle
391 |                 self?.cameraPreview.preview.videoPreviewLayer.connection?.videoRotationAngle = angle
    |                                                               `- error: 'connection' is unavailable in visionOS
392 |             }
393 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 |     When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 |  */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
    |                                                               `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Camera.PhotoCapture.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.State.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Camera.State.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Camera.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraActor.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraActor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraCaptureProfile.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraCoordinator.swift
SwiftCompile normal arm64 Compiling\ MovieCaptureConfiguration.swift,\ MovieCaptureService.swift,\ OutputService.swift,\ CapturedPhoto.swift,\ PhotoCaptureConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Movie\ Capture/MovieCaptureConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Movie\ Capture/MovieCaptureService.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/OutputService.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/CapturedPhoto.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/PhotoCaptureConfiguration.swift (in target 'Aperture' from project 'Aperture')
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Movie Capture/MovieCaptureService.swift:19:49: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
17 |     }
18 |
19 |     public func makeOutput(context: Context) -> AVCaptureMovieFileOutput {
   |                                                 `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
20 |         return AVCaptureMovieFileOutput()
21 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:405:12: note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
403 |  */
404 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
405 | @interface AVCaptureMovieFileOutput : AVCaptureFileOutput
    |            `- note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
406 | {
407 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Movie Capture/MovieCaptureService.swift:23:38: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
21 |     }
22 |
23 |     public func updateOutput(output: AVCaptureMovieFileOutput, context: Context) {
   |                                      `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
24 |         //
25 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:405:12: note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
403 |  */
404 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
405 | @interface AVCaptureMovieFileOutput : AVCaptureFileOutput
    |            `- note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
406 | {
407 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Movie Capture/MovieCaptureService.swift:11:15: warning: unavailable class 'AVCaptureMovieFileOutput' was used to satisfy a requirement of protocol 'OutputService'; this will be an error in a future Swift language mode
 9 |
10 | @_spi(Internal)
11 | public struct MovieCaptureService: OutputService {
   |               `- warning: unavailable class 'AVCaptureMovieFileOutput' was used to satisfy a requirement of protocol 'OutputService'; this will be an error in a future Swift language mode
12 |     var configuraton: MovieCaptureConfiguration
13 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:405:12: note: 'AVCaptureMovieFileOutput' declared here
403 |  */
404 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
405 | @interface AVCaptureMovieFileOutput : AVCaptureFileOutput
    |            `- note: 'AVCaptureMovieFileOutput' declared here
406 | {
407 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/OutputService.swift:14:20: note: requirement 'Output' declared here
12 | public protocol OutputService: Equatable, Sendable {
13 |     /// The underlying output class.
14 |     associatedtype Output: AVCaptureOutput
   |                    `- note: requirement 'Output' declared here
15 |     /// The service's associated coordinator.
16 |     associatedtype Coordinator = Void
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Movie Capture/MovieCaptureService.swift:20:16: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
18 |
19 |     public func makeOutput(context: Context) -> AVCaptureMovieFileOutput {
20 |         return AVCaptureMovieFileOutput()
   |                `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
21 |     }
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:405:12: note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
403 |  */
404 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
405 | @interface AVCaptureMovieFileOutput : AVCaptureFileOutput
    |            `- note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
406 | {
407 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureConfiguration.swift:43:39: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 41 |     public var preferredResolution: Resolution = .`12mp`
 42 |     /// A settings that indicates how to prioritize photo quality against photo delivery speed.
 43 |     public var qualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .balanced
    |                                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 44 |
 45 |     /// Create a configuration for photo capturing.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Movie\ Capture/MovieCaptureConfiguration.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile MovieCaptureConfiguration.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Movie\ Capture/MovieCaptureService.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile MovieCaptureService.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/OutputService.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile OutputService.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/CapturedPhoto.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CapturedPhoto.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/PhotoCaptureConfiguration.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PhotoCaptureConfiguration.swift
SwiftCompile normal arm64 Compiling\ CameraViewFinder.flip.swift,\ CameraViewFinder.focus.swift,\ CameraViewFinder.swift,\ CameraViewFinder.zoom.swift,\ _FocusTargetBoundingBox.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.flip.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.focus.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.zoom.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/_FocusTargetBoundingBox.swift (in target 'Aperture' from project 'Aperture')
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View Finder/CameraViewFinder.flip.swift:25:18: warning: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is deprecated in visionOS: Use rotation3DEffect without perspective [#DeprecatedDeclaration]
23 |             content
24 |                 .scaleEffect(scale.rawValue)
25 |                 .rotation3DEffect(
   |                  `- warning: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is deprecated in visionOS: Use rotation3DEffect without perspective [#DeprecatedDeclaration]
26 |                     .degrees(rotationAngle),
27 |                     axis: (x: 0.0, y: 1.0, z: 0.0),
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:89:39: error: cannot find type 'PlatformView' in scope
 87 | extension CameraPreview {
 88 |     @MainActor
 89 |     class _PlatformViewBackedPreview: PlatformView {
    |                                       `- error: cannot find type 'PlatformView' in scope
 90 |         let videoPreviewLayer = AVCaptureVideoPreviewLayer()
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View Finder/_FocusTargetBoundingBox.swift:189:28: error: 'setExposureTargetBias(_:completionHandler:)' is unavailable in visionOS
187 |                     let ev = -self.exposureY / 37.5 * 3.0
188 |                     device.exposureMode = .autoExpose
189 |                     device.setExposureTargetBias(Float(ev))
    |                            `- error: 'setExposureTargetBias(_:completionHandler:)' is unavailable in visionOS
190 |                 } catch {
191 |                     camera.coordinator.logger.error("Cannot lock device for configuration: \(error.localizedDescription)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1709:1: note: 'setExposureTargetBias(_:completionHandler:)' has been explicitly marked unavailable here
1707 |     This is the only way of setting exposureTargetBias. This method throws an NSRangeException if exposureTargetBias is set to an unsupported level. This method throws an NSGenericException if called without first obtaining exclusive access to the receiver using lockForConfiguration:.
1708 |  */
1709 | - (void)setExposureTargetBias:(float)bias completionHandler:(nullable void (^)(CMTime syncTime))handler API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     | `- note: 'setExposureTargetBias(_:completionHandler:)' has been explicitly marked unavailable here
1710 |
1711 | /// Reports which characteristics the auto exposure system associates with the current scene. Auto exposure may adjust properties such as lens aperture size based on these factors. This property is key-value observable.
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View Finder/_FocusTargetBoundingBox.swift:207:35: error: 'lensPosition' is unavailable in visionOS
205 |         guard let device = camera.device.captureDevice else { return }
206 |
207 |         var lensPosition = device.lensPosition
    |                                   `- error: 'lensPosition' is unavailable in visionOS
208 |         let timeout = 1000 // Timeout for stopping finding a focus if we cannot
209 |         var waitingTime = 0 // Time(ms) elapse since now based on `Task.sleep`
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1348:38: note: 'lensPosition' has been explicitly marked unavailable here
1346 |     The range of possible positions is 0.0 to 1.0, with 0.0 being the shortest distance at which the lens can focus and 1.0 the furthest. Note that 1.0 does not represent focus at infinity. The default value is 1.0. Note that a given lens position value does not correspond to an exact physical distance, nor does it represent a consistent focus distance from device to device. This property is key-value observable. It can be read at any time, regardless of focus mode, but can only be set via setFocusModeLockedWithLensPosition:completionHandler:.
1347 |  */
1348 | @property(nonatomic, readonly) float lensPosition API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                      `- note: 'lensPosition' has been explicitly marked unavailable here
1349 |
1350 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View Finder/_FocusTargetBoundingBox.swift:212:22: error: 'lensPosition' is unavailable in visionOS
210 |
211 |         // Determine whether the camera is now focusing
212 |         while device.lensPosition == lensPosition {
    |                      `- error: 'lensPosition' is unavailable in visionOS
213 |             guard !Task.isCancelled else { return }
214 |             guard waitingTime <= timeout else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1348:38: note: 'lensPosition' has been explicitly marked unavailable here
1346 |     The range of possible positions is 0.0 to 1.0, with 0.0 being the shortest distance at which the lens can focus and 1.0 the furthest. Note that 1.0 does not represent focus at infinity. The default value is 1.0. Note that a given lens position value does not correspond to an exact physical distance, nor does it represent a consistent focus distance from device to device. This property is key-value observable. It can be read at any time, regardless of focus mode, but can only be set via setFocusModeLockedWithLensPosition:completionHandler:.
1347 |  */
1348 | @property(nonatomic, readonly) float lensPosition API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                      `- note: 'lensPosition' has been explicitly marked unavailable here
1349 |
1350 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View Finder/_FocusTargetBoundingBox.swift:224:31: error: 'lensPosition' is unavailable in visionOS
222 |         let threshold = 10 // The threshold to determine whether the focus has been adjusted
223 |         var count = 0 // Count for same value.
224 |         lensPosition = device.lensPosition
    |                               `- error: 'lensPosition' is unavailable in visionOS
225 |
226 |         // Determine whether the camera has finished focusing
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1348:38: note: 'lensPosition' has been explicitly marked unavailable here
1346 |     The range of possible positions is 0.0 to 1.0, with 0.0 being the shortest distance at which the lens can focus and 1.0 the furthest. Note that 1.0 does not represent focus at infinity. The default value is 1.0. Note that a given lens position value does not correspond to an exact physical distance, nor does it represent a consistent focus distance from device to device. This property is key-value observable. It can be read at any time, regardless of focus mode, but can only be set via setFocusModeLockedWithLensPosition:completionHandler:.
1347 |  */
1348 | @property(nonatomic, readonly) float lensPosition API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                      `- note: 'lensPosition' has been explicitly marked unavailable here
1349 |
1350 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View Finder/_FocusTargetBoundingBox.swift:229:23: error: 'lensPosition' is unavailable in visionOS
227 |         while count <= threshold {
228 |             guard !Task.isCancelled else { return }
229 |             if device.lensPosition == lensPosition {
    |                       `- error: 'lensPosition' is unavailable in visionOS
230 |                 count += 1
231 |             } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1348:38: note: 'lensPosition' has been explicitly marked unavailable here
1346 |     The range of possible positions is 0.0 to 1.0, with 0.0 being the shortest distance at which the lens can focus and 1.0 the furthest. Note that 1.0 does not represent focus at infinity. The default value is 1.0. Note that a given lens position value does not correspond to an exact physical distance, nor does it represent a consistent focus distance from device to device. This property is key-value observable. It can be read at any time, regardless of focus mode, but can only be set via setFocusModeLockedWithLensPosition:completionHandler:.
1347 |  */
1348 | @property(nonatomic, readonly) float lensPosition API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                      `- note: 'lensPosition' has been explicitly marked unavailable here
1349 |
1350 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.flip.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraViewFinder.flip.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.focus.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraViewFinder.focus.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraViewFinder.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.zoom.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraViewFinder.zoom.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/_FocusTargetBoundingBox.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile _FocusTargetBoundingBox.swift
SwiftCompile normal arm64 Compiling\ CameraOverlayElement.swift,\ LivePhotoBadge.swift,\ CameraAccessoryContainer.swift,\ CameraAdaptiveStack.swift,\ CameraAdaptiveStackProxy.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Overlay\ Elements/CameraOverlayElement.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Overlay\ Elements/LivePhotoBadge.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Stack\ &\ Container/CameraAccessoryContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Stack\ &\ Container/CameraAdaptiveStack.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Stack\ &\ Container/CameraAdaptiveStackProxy.swift (in target 'Aperture' from project 'Aperture')
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraShutterButton.swift:126:5: error: 'CameraShutterButton' is unavailable in visionOS
 12 | @available(visionOS, unavailable)
 13 | @available(iOS 17.0, macOS 14.0, tvOS 17.0, *)
 14 | public struct CameraShutterButton: View {
    |               `- note: 'CameraShutterButton' has been explicitly marked unavailable here
 15 |     public var camera: Camera
 16 |     public var configuration: PhotoCaptureConfiguration
    :
124 |
125 | #Preview {
126 |     CameraShutterButton(
    |     `- error: 'CameraShutterButton' is unavailable in visionOS
127 |         camera: Camera(
128 |             device: .builtInCamera,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Overlay\ Elements/CameraOverlayElement.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraOverlayElement.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Overlay\ Elements/LivePhotoBadge.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile LivePhotoBadge.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Stack\ &\ Container/CameraAccessoryContainer.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraAccessoryContainer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Stack\ &\ Container/CameraAdaptiveStack.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraAdaptiveStack.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Stack\ &\ Container/CameraAdaptiveStackProxy.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraAdaptiveStackProxy.swift
SwiftCompile normal arm64 Compiling\ FitAspectRatioViewModifier.swift,\ PlatformView.swift,\ ResponsiveButtonStyle.swift,\ SpinningProgressView.swift,\ _AdoptsProposedSizeViewModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/FitAspectRatioViewModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/PlatformView.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/Styles/ResponsiveButtonStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/Styles/SpinningProgressView.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/_AdoptsProposedSizeViewModifier.swift (in target 'Aperture' from project 'Aperture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/FitAspectRatioViewModifier.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FitAspectRatioViewModifier.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/PlatformView.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PlatformView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/Styles/ResponsiveButtonStyle.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ResponsiveButtonStyle.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/Styles/SpinningProgressView.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SpinningProgressView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/_AdoptsProposedSizeViewModifier.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile _AdoptsProposedSizeViewModifier.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ Aperture (in target 'Aperture' from project 'Aperture')
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift:51:17: error: 'AVCapturePhotoOutput' is unavailable in visionOS
49 |
50 |     private func withPhotoOutputReadinessCoordinatorTracking<T>(
51 |         output: AVCapturePhotoOutput,
   |                 `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
52 |         photoSettings: AVCapturePhotoSettings,
53 |         perform action: () async throws -> T
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift:52:24: error: 'AVCapturePhotoSettings' is unavailable in visionOS
50 |     private func withPhotoOutputReadinessCoordinatorTracking<T>(
51 |         output: AVCapturePhotoOutput,
52 |         photoSettings: AVCapturePhotoSettings,
   |                        `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
53 |         perform action: () async throws -> T
54 |     ) async rethrows -> T {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift:80:24: error: 'AVCapturePhotoOutputReadinessCoordinator' is unavailable in visionOS
78 |
79 |     func readinessCoordinator(
80 |         _ coordinator: AVCapturePhotoOutputReadinessCoordinator,
   |                        `- error: 'AVCapturePhotoOutputReadinessCoordinator' is unavailable in visionOS
81 |         captureReadinessDidChange captureReadiness: AVCapturePhotoOutput.CaptureReadiness
82 |     ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:830:12: note: 'AVCapturePhotoOutputReadinessCoordinator' has been explicitly marked unavailable here
 828 |
 829 | API_AVAILABLE(ios(17.0), macos(14.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 830 | @interface AVCapturePhotoOutputReadinessCoordinator : NSObject
     |            `- note: 'AVCapturePhotoOutputReadinessCoordinator' has been explicitly marked unavailable here
 831 |
 832 | AV_INIT_UNAVAILABLE
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift:81:53: error: 'AVCapturePhotoOutput' is unavailable in visionOS
79 |     func readinessCoordinator(
80 |         _ coordinator: AVCapturePhotoOutputReadinessCoordinator,
81 |         captureReadinessDidChange captureReadiness: AVCapturePhotoOutput.CaptureReadiness
   |                                                     `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
82 |     ) {
83 |         camera.shutterDisabled = captureReadiness != .ready
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift:72:58: error: 'AVCapturePhotoOutputReadinessCoordinatorDelegate' is unavailable in visionOS
70 | // MARK: - Delegate
71 |
72 | final class PhotoReadinessCoordinatorDelegate: NSObject, AVCapturePhotoOutputReadinessCoordinatorDelegate {
   |                                                          `- error: 'AVCapturePhotoOutputReadinessCoordinatorDelegate' is unavailable in visionOS
73 |     unowned var camera: Camera
74 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:885:11: note: 'AVCapturePhotoOutputReadinessCoordinatorDelegate' has been explicitly marked unavailable here
 883 |
 884 | API_AVAILABLE(ios(17.0), macos(14.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 885 | @protocol AVCapturePhotoOutputReadinessCoordinatorDelegate <NSObject>
     |           `- note: 'AVCapturePhotoOutputReadinessCoordinatorDelegate' has been explicitly marked unavailable here
 886 |
 887 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.swift:136:36: error: 'FocusMode' is unavailable in visionOS
134 |     public func setManualFocus(
135 |         pointOfInterest: CGPoint,
136 |         focusMode: AVCaptureDevice.FocusMode,
    |                                    `- error: 'FocusMode' is unavailable in visionOS
137 |         exposureMode: AVCaptureDevice.ExposureMode
138 |     ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1156:28: note: 'FocusMode' has been explicitly marked unavailable here
1154 |     Indicates that the device should automatically focus when needed.
1155 |  */
1156 | typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
     |                            `- note: 'FocusMode' has been explicitly marked unavailable here
1157 |     AVCaptureFocusModeLocked              = 0,
1158 |     AVCaptureFocusModeAutoFocus           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.swift:137:39: error: 'ExposureMode' is unavailable in visionOS
135 |         pointOfInterest: CGPoint,
136 |         focusMode: AVCaptureDevice.FocusMode,
137 |         exposureMode: AVCaptureDevice.ExposureMode
    |                                       `- error: 'ExposureMode' is unavailable in visionOS
138 |     ) {
139 |         Task { @CameraActor in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 |     Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 |  */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
     |                            `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 |     AVCaptureExposureModeLocked                            = 0,
1424 |     AVCaptureExposureModeAutoExpose                        = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift:13:48: error: 'Preset' is unavailable in visionOS
11 | public struct CameraCaptureProfile: Sendable {
12 |     /// The capture session preset that determines the resolution and overall capture quality.
13 |     public var sessionPreset: AVCaptureSession.Preset
   |                                                `- error: 'Preset' is unavailable in visionOS
14 |
15 |     /// The output services enabled for this capture profile.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift:33:49: error: 'Preset' is unavailable in visionOS
31 |     ///   - sessionPreset: The capture session preset to use.
32 |     ///   - servicesBuilder: A result builder that produces the output services associated with this profile.
33 |     public init(sessionPreset: AVCaptureSession.Preset, @OutputServiceBuilder servicesBuilder: () -> [any OutputService]) {
   |                                                 `- error: 'Preset' is unavailable in visionOS
34 |         self.sessionPreset = sessionPreset
35 |         self.outputServices = servicesBuilder()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift:43:49: error: 'Preset' is unavailable in visionOS
41 |     ///   - sessionPreset: The capture session preset to use.
42 |     ///   - services: The output services associated with this profile.
43 |     public init(sessionPreset: AVCaptureSession.Preset, services: [any OutputService]) {
   |                                                 `- error: 'Preset' is unavailable in visionOS
44 |         self.sessionPreset = sessionPreset
45 |         self.outputServices = services
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift:67:25: error: 'hd1920x1080' is unavailable in visionOS
65 |     /// A predefined capture profile for 1080p high-definition video recording.
66 |     private static let hd1080p = CameraCaptureProfile(
67 |         sessionPreset: .hd1920x1080,
   |                         `- error: 'hd1920x1080' is unavailable in visionOS
68 |         services: [MovieCaptureService()]
69 |     )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:121:41: note: 'hd1920x1080' has been explicitly marked unavailable here
119 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset1920x1080 to achieve 1920x1080 output.
120 |  */
121 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset1920x1080 API_AVAILABLE(macos(10.15), ios(5.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'hd1920x1080' has been explicitly marked unavailable here
122 |
123 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift:73:25: error: 'hd4K3840x2160' is unavailable in visionOS
71 |     /// A predefined capture profile for 4K ultra-high-definition video recording.
72 |     private static let hd4k = CameraCaptureProfile(
73 |         sessionPreset: .hd4K3840x2160,
   |                         `- error: 'hd4K3840x2160' is unavailable in visionOS
74 |         services: [MovieCaptureService()]
75 |     )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:131:41: note: 'hd4K3840x2160' has been explicitly marked unavailable here
129 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset3840x2160 to achieve 3840x2160 output.
130 |  */
131 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160 API_AVAILABLE(macos(10.15), ios(9.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'hd4K3840x2160' has been explicitly marked unavailable here
132 |
133 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:89:39: error: cannot find type 'PlatformView' in scope
 87 | extension CameraPreview {
 88 |     @MainActor
 89 |     class _PlatformViewBackedPreview: PlatformView {
    |                                       `- error: cannot find type 'PlatformView' in scope
 90 |         let videoPreviewLayer = AVCaptureVideoPreviewLayer()
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift:362:74: error: 'RotationCoordinator' is unavailable in visionOS
360 |     @Cancellables private var rotationObservers
361 |     /// A rotation coordinator that monitors physical orientation to ensure the level of preview and captured content is relative to gravity.
362 |     nonisolated(unsafe) private var rotationCoordinator: AVCaptureDevice.RotationCoordinator?
    |                                                                          `- error: 'RotationCoordinator' is unavailable in visionOS
363 |
364 |     nonisolated private func observeRotationCoordinator() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3068:12: note: 'RotationCoordinator' has been explicitly marked unavailable here
3066 | API_AVAILABLE(macos(14.0), ios(17.0), macCatalyst(17.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
3067 | NS_SWIFT_NAME(AVCaptureDevice.RotationCoordinator)
3068 | @interface AVCaptureDeviceRotationCoordinator : NSObject
     |            `- note: 'RotationCoordinator' has been explicitly marked unavailable here
3069 |
3070 | AV_INIT_UNAVAILABLE
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraFlash.swift:15:50: error: 'FlashMode' is unavailable in visionOS
13 |     internal(set) public var deviceEligible: Bool
14 |     /// The user-preferred / app-preferred flash mode.
15 |     public var userSelectedMode: AVCaptureDevice.FlashMode
   |                                                  `- error: 'FlashMode' is unavailable in visionOS
16 |     /// Indicates whether current scene analysis suggests that flash should be used.
17 |     internal(set) public var isFlashRecommendedByScene: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:967:28: note: 'FlashMode' has been explicitly marked unavailable here
 965 |     Indicates that the flash should be used automatically depending on ambient light conditions.
 966 |  */
 967 | typedef NS_ENUM(NSInteger, AVCaptureFlashMode) {
     |                            `- note: 'FlashMode' has been explicitly marked unavailable here
 968 |     AVCaptureFlashModeOff  = 0,
 969 |     AVCaptureFlashModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Movie Capture/MovieCaptureService.swift:19:49: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
17 |     }
18 |
19 |     public func makeOutput(context: Context) -> AVCaptureMovieFileOutput {
   |                                                 `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
20 |         return AVCaptureMovieFileOutput()
21 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:405:12: note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
403 |  */
404 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
405 | @interface AVCaptureMovieFileOutput : AVCaptureFileOutput
    |            `- note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
406 | {
407 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Movie Capture/MovieCaptureService.swift:23:38: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
21 |     }
22 |
23 |     public func updateOutput(output: AVCaptureMovieFileOutput, context: Context) {
   |                                      `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
24 |         //
25 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:405:12: note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
403 |  */
404 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
405 | @interface AVCaptureMovieFileOutput : AVCaptureFileOutput
    |            `- note: 'AVCaptureMovieFileOutput' has been explicitly marked unavailable here
406 | {
407 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Movie Capture/MovieCaptureService.swift:11:15: warning: unavailable class 'AVCaptureMovieFileOutput' was used to satisfy a requirement of protocol 'OutputService'; this will be an error in a future Swift language mode
 9 |
10 | @_spi(Internal)
11 | public struct MovieCaptureService: OutputService {
   |               `- warning: unavailable class 'AVCaptureMovieFileOutput' was used to satisfy a requirement of protocol 'OutputService'; this will be an error in a future Swift language mode
12 |     var configuraton: MovieCaptureConfiguration
13 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:405:12: note: 'AVCaptureMovieFileOutput' declared here
403 |  */
404 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
405 | @interface AVCaptureMovieFileOutput : AVCaptureFileOutput
    |            `- note: 'AVCaptureMovieFileOutput' declared here
406 | {
407 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/OutputService.swift:14:20: note: requirement 'Output' declared here
12 | public protocol OutputService: Equatable, Sendable {
13 |     /// The underlying output class.
14 |     associatedtype Output: AVCaptureOutput
   |                    `- note: requirement 'Output' declared here
15 |     /// The service's associated coordinator.
16 |     associatedtype Coordinator = Void
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureConfiguration.swift:43:39: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 41 |     public var preferredResolution: Resolution = .`12mp`
 42 |     /// A settings that indicates how to prioritize photo quality against photo delivery speed.
 43 |     public var qualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .balanced
    |                                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 44 |
 45 |     /// Create a configuration for photo capturing.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureConfiguration.swift:50:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 48 |         resolution: Resolution = .`12mp`,
 49 |         dataFormat: DataFormat = .heif,
 50 |         qualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .balanced
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 51 |     ) {
 52 |         self.capturesLivePhoto = capturesLivePhoto
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:34:19: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 32 |
 33 |     func photoOutput(
 34 |         _ output: AVCapturePhotoOutput,
    |                   `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 35 |         willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings
 36 |     ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:35:47: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 33 |     func photoOutput(
 34 |         _ output: AVCapturePhotoOutput,
 35 |         willCapturePhotoFor resolvedSettings: AVCaptureResolvedPhotoSettings
    |                                               `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
 36 |     ) {
 37 |         #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:53:19: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 51 |
 52 |     func photoOutput(
 53 |         _ output: AVCapturePhotoOutput,
    |                   `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 54 |         didFinishProcessingPhoto photo: AVCapturePhoto,
 55 |         error: Error?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:54:41: error: 'AVCapturePhoto' is unavailable in visionOS
 52 |     func photoOutput(
 53 |         _ output: AVCapturePhotoOutput,
 54 |         didFinishProcessingPhoto photo: AVCapturePhoto,
    |                                         `- error: 'AVCapturePhoto' is unavailable in visionOS
 55 |         error: Error?
 56 |     ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:142:19: error: 'AVCapturePhotoOutput' is unavailable in visionOS
140 |
141 |     func photoOutput(
142 |         _ output: AVCapturePhotoOutput,
    |                   `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
143 |         didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings,
144 |         error: (any Error)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:143:47: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
141 |     func photoOutput(
142 |         _ output: AVCapturePhotoOutput,
143 |         didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings,
    |                                               `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
144 |         error: (any Error)?
145 |     ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 |  */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
     |            `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:11:45: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
  9 | import SwiftUI
 10 |
 11 | final class PhotoCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate, Logging {
    |                                             `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
 12 |     private var continuation: CheckedContinuation<CapturedPhoto, Error>
 13 |     private unowned var camera: Camera
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureDelegate.swift:52:10: error: cannot override 'photoOutput' which has been marked unavailable
 50 |     }
 51 |
 52 |     func photoOutput(
    |          `- error: cannot override 'photoOutput' which has been marked unavailable
 53 |         _ output: AVCapturePhotoOutput,
 54 |         didFinishProcessingPhoto photo: AVCapturePhoto,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:18:47: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 16 |     ///
 17 |     /// This is NOT used when capturing a photo. It's only using for scene monitoring.
 18 |     public let sceneMonitoringPhotoSettings = AVCapturePhotoSettings()
    |                                               `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 19 |     @Cancellables private var flashSceneObservers: Set<AnyCancellable>
 20 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:33:49: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 31 |     }
 32 |
 33 |     public func makeOutput(context: Context) -> AVCapturePhotoOutput {
    |                                                 `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 34 |         let output = AVCapturePhotoOutput()
 35 |         output.maxPhotoQualityPrioritization = .quality
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h: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/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:45:38: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 43 |     }
 44 |
 45 |     public func updateOutput(output: AVCapturePhotoOutput, context: Context) {
    |                                      `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 46 |         let maxSupportedPhotoDimensions = context.inputDevice
 47 |             .activeFormat
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:14:15: warning: unavailable class 'AVCapturePhotoOutput' was used to satisfy a requirement of protocol 'OutputService'; this will be an error in a future Swift language mode
 12 |
 13 | /// An output service that outputs photo data, including Live Photo.
 14 | public struct PhotoCaptureService: OutputService, Logging {
    |               `- warning: unavailable class 'AVCapturePhotoOutput' was used to satisfy a requirement of protocol 'OutputService'; this will be an error in a future Swift language mode
 15 |     /// A photo settings specifically configured for scene monitoring.
 16 |     ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' declared 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' declared here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/OutputService.swift:14:20: note: requirement 'Output' declared here
12 | public protocol OutputService: Equatable, Sendable {
13 |     /// The underlying output class.
14 |     associatedtype Output: AVCaptureOutput
   |                    `- note: requirement 'Output' declared here
15 |     /// The service's associated coordinator.
16 |     associatedtype Coordinator = Void
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:115:23: error: 'AVCapturePhotoSettings' is unavailable in visionOS
113 |         configuration: PhotoCaptureConfiguration,
114 |         context: Context
115 |     ) async throws -> AVCapturePhotoSettings {
    |                       `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
116 |         let format = processPhotoFormat(for: output, configuration: configuration)
117 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:200:27: error: 'AVCapturePhotoOutput' is unavailable in visionOS
198 |
199 |     private func setPhotoQualityPrioritizationIfSupported(
200 |         _ prioritization: AVCapturePhotoOutput.QualityPrioritization,
    |                           `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
201 |         for photoSettings: AVCapturePhotoSettings
202 |     ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:201:28: error: 'AVCapturePhotoSettings' is unavailable in visionOS
199 |     private func setPhotoQualityPrioritizationIfSupported(
200 |         _ prioritization: AVCapturePhotoOutput.QualityPrioritization,
201 |         for photoSettings: AVCapturePhotoSettings
    |                            `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
202 |     ) {
203 |         #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:215:27: error: 'AVCapturePhotoSettings' is unavailable in visionOS
213 |     @available(macOS, unavailable)
214 |     private func _isSettingPhotoPrioritizationSupported(
215 |         on photoSettings: AVCapturePhotoSettings
    |                           `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
216 |     ) -> Bool {
217 |         let rawPhotoPixelFormat = photoSettings.rawPhotoPixelFormatType
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1192:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1190 |  */
1191 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1192 | @interface AVCapturePhotoSettings : NSObject <NSCopying>
     |            `- note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
1193 | {
1194 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output Services/Photo Capture/PhotoCaptureService.swift:230:21: error: 'AVCapturePhotoOutput' is unavailable in visionOS
228 | private extension PhotoCaptureService {
229 |     private func processPhotoFormat(
230 |         for output: AVCapturePhotoOutput,
    |                     `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
231 |         configuration: PhotoCaptureConfiguration
232 |     ) -> [String : Any]? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:12:19: error: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 10 |
 11 | struct CameraPreview {
 12 |     let preview = _PlatformViewBackedPreview()
    |                   `- error: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 13 |
 14 |     @MainActor
    :
 87 | extension CameraPreview {
 88 |     @MainActor
 89 |     class _PlatformViewBackedPreview: PlatformView {
    |           `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 90 |         let videoPreviewLayer = AVCaptureVideoPreviewLayer()
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:15:16: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 13 |
 14 |     @MainActor
 15 |     var layer: AVCaptureVideoPreviewLayer {
    |                `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 16 |         preview.videoPreviewLayer
 17 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 31 |  */
 32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 33 | @interface AVCaptureVideoPreviewLayer : CALayer
    |            `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 34 | {
 35 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:74:1: error: type 'CameraPreview' does not conform to protocol 'UIViewRepresentable'
 72 | }
 73 | #else
 74 | extension CameraPreview: UIViewRepresentable {
    | `- error: type 'CameraPreview' does not conform to protocol 'UIViewRepresentable'
 75 |     func makeUIView(context: Context) -> _PlatformViewBackedPreview {
    |          `- note: candidate would match and infer 'UIViewType' = 'CameraPreview._PlatformViewBackedPreview' if 'CameraPreview._PlatformViewBackedPreview' inherited from 'UIView'
 76 |         preview
 77 |     }
 78 |
 79 |     func updateUIView(_ view: _PlatformViewBackedPreview, context: Context) {
    |          `- note: candidate would match and infer 'UIViewType' = 'CameraPreview._PlatformViewBackedPreview' if 'CameraPreview._PlatformViewBackedPreview' inherited from 'UIView'
 80 |
 81 |     }
SwiftUI.UIViewRepresentable.UIViewType:2:16: note: unable to infer associated type 'UIViewType' for protocol 'UIViewRepresentable'
1 | protocol UIViewRepresentable {
2 | associatedtype UIViewType : UIView}
  |                `- note: unable to infer associated type 'UIViewType' for protocol 'UIViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:90:33: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 88 |     @MainActor
 89 |     class _PlatformViewBackedPreview: PlatformView {
 90 |         let videoPreviewLayer = AVCaptureVideoPreviewLayer()
    |                                 `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 91 |
 92 |         var session: AVCaptureSession? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 31 |  */
 32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 33 | @interface AVCaptureVideoPreviewLayer : CALayer
    |            `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 34 | {
 35 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift:137:28: error: cannot find type 'PlatformView' in scope
135 |         #endif
136 |
137 |         var _snapshotView: PlatformView?
    |                            `- error: cannot find type 'PlatformView' in scope
138 |         var snapshotLayer: CALayer? { _snapshotView?.layer }
139 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraShutterButton.swift:126:5: error: 'CameraShutterButton' is unavailable in visionOS
 12 | @available(visionOS, unavailable)
 13 | @available(iOS 17.0, macOS 14.0, tvOS 17.0, *)
 14 | public struct CameraShutterButton: View {
    |               `- note: 'CameraShutterButton' has been explicitly marked unavailable here
 15 |     public var camera: Camera
 16 |     public var configuration: PhotoCaptureConfiguration
    :
124 |
125 | #Preview {
126 |     CameraShutterButton(
    |     `- error: 'CameraShutterButton' is unavailable in visionOS
127 |         camera: Camera(
128 |             device: .builtInCamera,
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraShutterButton.swift:56:11: error: 'CameraShutterButton' is unavailable in visionOS
 12 | @available(visionOS, unavailable)
 13 | @available(iOS 17.0, macOS 14.0, tvOS 17.0, *)
 14 | public struct CameraShutterButton: View {
    |               `- note: 'CameraShutterButton' has been explicitly marked unavailable here
 15 |     public var camera: Camera
 16 |     public var configuration: PhotoCaptureConfiguration
    :
 54 | }
 55 |
 56 | extension CameraShutterButton {
    |           `- error: 'CameraShutterButton' is unavailable in visionOS
 57 |     fileprivate struct PhotoCaptureButton: View {
 58 |         var camera: Camera
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Stack & Container/CameraAdaptiveStack.swift:30:31: warning: cannot use class 'AnyCancellable' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
28 |
29 |     @State private var fallbackRotationAngle: CGFloat = 90 // default to potrait mode
30 |     @Cancellables private var interfaceOrientationObservers
   |                               `- warning: cannot use class 'AnyCancellable' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
31 |
32 |     public var body: some View {
Combine.AnyCancellable:2:20: note: class declared here
 1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
 2 | final public class AnyCancellable : Cancellable, Hashable {
   |                    `- note: class declared here
 3 |     public init(_ cancel: @escaping () -> Void)
 4 |     public init<C>(_ canceller: C) where C : Cancellable
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.PhotoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.State.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Camera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraActor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCaptureProfile.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraError.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/CameraFlash.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Devices/AutomaticCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Devices/Built-In\ Cameras/BuiltInCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Devices/Built-In\ Cameras/TelephotoCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Devices/Built-In\ Cameras/UltraWideAngleCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Devices/Built-In\ Cameras/WideAngleCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Devices/CameraPosition.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Devices/External\ Cameras/ContinuityCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Devices/External\ Cameras/DeskViewCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Devices/External\ Cameras/ExternalCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Devices/SemanticCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Movie\ Capture/MovieCaptureConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Movie\ Capture/MovieCaptureService.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/OutputService.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/CapturedPhoto.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/PhotoCaptureConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/PhotoCaptureDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/PhotoCaptureOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/PhotoCaptureService.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Capture/Output\ Services/Photo\ Capture/PhotoFileDataRepresentationCustomizer.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/AnyEquatable.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/Cancellables.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/DeviceType.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/Logging.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/Sequence++.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/CameraPreview.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/FitAspectRatioViewModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/PlatformView.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/Styles/ResponsiveButtonStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/Styles/SpinningProgressView.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/UI/_AdoptsProposedSizeViewModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/ValueObservation.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraFlipButton.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraShutterButton.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraZoomButton.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraZoomReader.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Overlay\ Elements/CameraOverlayElement.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Overlay\ Elements/LivePhotoBadge.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Stack\ \&\ Container/CameraAccessoryContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Stack\ \&\ Container/CameraAdaptiveStack.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/Stack\ \&\ Container/CameraAdaptiveStackProxy.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.flip.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.focus.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/CameraViewFinder.zoom.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/View\ Finder/_FocusTargetBoundingBox.swift -target arm64-apple-xros1.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Aperture -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aperture.build/Debug-xros/Aperture-t.build/Objects-normal/arm64/Aperture.abi.json
SwiftCompile normal arm64 (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ ValueObservation.swift,\ CameraFlipButton.swift,\ CameraShutterButton.swift,\ CameraZoomButton.swift,\ CameraZoomReader.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/ValueObservation.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraFlipButton.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraShutterButton.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraZoomButton.swift /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraZoomReader.swift (in target 'Aperture' from project 'Aperture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/Internal/ValueObservation.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ValueObservation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraFlipButton.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraFlipButton.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraShutterButton.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraShutterButton.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraZoomButton.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraZoomButton.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aperture/UI/CameraZoomReader.swift (in target 'Aperture' from project 'Aperture')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraZoomReader.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-23 13:15:38.703 xcodebuild[785:4619] [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\ Aperture (in target 'Aperture' from project 'Aperture')
	SwiftCompile normal arm64 (in target 'Aperture' from project 'Aperture')
	Building workspace Aperture with scheme Aperture
(3 failures)
BUILD FAILURE 6.4 visionOS