The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Aespa, reference main (4865b2), with Swift 6.4 for visionOS using Xcode 27.0 on 20 Sep 2026 19:23:37 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 Aespa -destination generic/platform=xrOS

Build Log

    |            `- note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
 37 | {
 38 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreRecorder.swift:103:19: error: 'AVCaptureFileOutput' is unavailable in visionOS
101 |
102 |     func fileOutput(
103 |         _ output: AVCaptureFileOutput,
    |                   `- error: 'AVCaptureFileOutput' is unavailable in visionOS
104 |         didFinishRecordingTo outputFileURL: URL,
105 |         from connections: [AVCaptureConnection],
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:36:12: note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
 34 |  */
 35 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 36 | @interface AVCaptureFileOutput : AVCaptureOutput
    |            `- note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
 37 | {
 38 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreRecorder.swift:93:42: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
 91 | }
 92 |
 93 | nonisolated extension AespaCoreRecorder: AVCaptureFileOutputRecordingDelegate {
    |                                          `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
 94 |     func fileOutput(
 95 |         _ output: AVCaptureFileOutput,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:206:11: note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
204 |  */
205 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
206 | @protocol AVCaptureFileOutputRecordingDelegate <NSObject>
    |           `- note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
207 |
208 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaPhotoContext.swift:22:31: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 20 |     private let settingLock = NSRecursiveLock()
 21 |
 22 |     private var photoSetting: AVCapturePhotoSettings
    |                               `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 23 |     private let photoFileBufferSubject: CurrentValueSubject<Result<PhotoFile, Error>?, Never>
 24 |
/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/Aespa/Core/Context/AespaPhotoContext.swift:77:32: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 75 |     }
 76 |
 77 |     public var currentSetting: AVCapturePhotoSettings {
    |                                `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 78 |         withSettingLock {
 79 |             AVCapturePhotoSettings(from: photoSetting)
/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/Aespa/Core/Context/AespaPhotoContext.swift:169:52: error: 'FlashMode' is unavailable in visionOS
167 |     @available(*, deprecated, message: "Please use `photo` instead.")
168 |     @discardableResult
169 |     public func flashMode(to mode: AVCaptureDevice.FlashMode) -> AespaPhotoContext {
    |                                                    `- error: 'FlashMode' is unavailable in visionOS
170 |         withSettingLock {
171 |             photoSetting.flashMode = mode
/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/Aespa/Core/Context/AespaPhotoContext.swift:186:35: error: 'AVCapturePhotoSettings' is unavailable in visionOS
184 |
185 |     @available(*, deprecated, message: "Please use `photo` instead.")
186 |     public func custom(_ setting: AVCapturePhotoSettings) -> AespaPhotoContext {
    |                                   `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
187 |         withSettingLock {
188 |             photoSetting = AVCapturePhotoSettings(from: setting)
/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/Aespa/Core/Context/AespaVideoContext.swift:197:15: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
195 |     @discardableResult
196 |     public func stabilization(
197 |         mode: AVCaptureVideoStabilizationMode,
    |               `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
198 |         _ onComplete: @escaping CompletionHandler = { _ in }
199 |     ) -> AespaVideoContext {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaVideoContext.swift:209:31: error: 'TorchMode' is unavailable in visionOS
207 |     @discardableResult
208 |     public func torch(
209 |         mode: AVCaptureDevice.TorchMode,
    |                               `- error: 'TorchMode' is unavailable in visionOS
210 |         level: Float,
211 |         _ onComplete: @escaping CompletionHandler = { _ 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:1049:28: note: 'TorchMode' has been explicitly marked unavailable here
1047 |     Indicates that the torch should be used automatically depending on ambient light conditions.
1048 |  */
1049 | typedef NS_ENUM(NSInteger, AVCaptureTorchMode) {
     |                            `- note: 'TorchMode' has been explicitly marked unavailable here
1050 |     AVCaptureTorchModeOff  = 0,
1051 |     AVCaptureTorchModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:54:37: error: 'Preset' is unavailable in visionOS
 52 |     /// - Returns: `AespaVideoContext`, for chaining calls.
 53 |     @discardableResult func quality(
 54 |         to preset: AVCaptureSession.Preset,
    |                                     `- error: 'Preset' is unavailable in visionOS
 55 |         _ onComplete: @escaping CompletionHandler
 56 |     ) -> CommonContextType
/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/Aespa/Core/Context/Context.swift:83:25: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
 81 |     ///     not the orientation of the `AVCaptureVideoPreviewLayer`.
 82 |     @discardableResult func orientation(
 83 |         to orientation: AVCaptureVideoOrientation,
    |                         `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
 84 |         _ onComplete: @escaping CompletionHandler
 85 |     ) -> CommonContextType
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:96:31: error: 'FocusMode' is unavailable in visionOS
 94 |     /// - Returns: `AespaVideoContext`, for chaining calls.
 95 |     @discardableResult func focus(
 96 |         mode: AVCaptureDevice.FocusMode,
    |                               `- error: 'FocusMode' is unavailable in visionOS
 97 |         point: CGPoint?,
 98 |         _ onComplete: @escaping CompletionHandler
/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/Aespa/Core/Context/Context.swift:230:15: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
228 |     @discardableResult
229 |     func stabilization(
230 |         mode: AVCaptureVideoStabilizationMode,
    |               `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
231 |         _ onComplete: @escaping CompletionHandler
232 |     ) -> VideoContextType
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:246:31: error: 'TorchMode' is unavailable in visionOS
244 |     @discardableResult
245 |     func torch(
246 |         mode: AVCaptureDevice.TorchMode,
    |                               `- error: 'TorchMode' is unavailable in visionOS
247 |         level: Float,
248 |         _ onComplete: @escaping CompletionHandler
/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:1049:28: note: 'TorchMode' has been explicitly marked unavailable here
1047 |     Indicates that the torch should be used automatically depending on ambient light conditions.
1048 |  */
1049 | typedef NS_ENUM(NSInteger, AVCaptureTorchMode) {
     |                            `- note: 'TorchMode' has been explicitly marked unavailable here
1050 |     AVCaptureTorchModeOff  = 0,
1051 |     AVCaptureTorchModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:278:25: error: 'AVCapturePhotoSettings' is unavailable in visionOS
276 |
277 |     /// A variable holding current `AVCapturePhotoSettings`
278 |     var currentSetting: AVCapturePhotoSettings { get }
    |                         `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
279 |
280 |     /// Asynchronously captures a photo using the specified `AVCapturePhotoSettings`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/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/Aespa/Core/Context/Context.swift:324:64: error: 'FlashMode' is unavailable in visionOS
322 |     /// - Parameter mode: The `AVCaptureDevice.FlashMode` to set for the camera.
323 |     /// - Returns: The updated `AespaPhotoContext` instance.
324 |     @discardableResult func flashMode(to mode: AVCaptureDevice.FlashMode) -> PhotoContextType
    |                                                                `- error: 'FlashMode' is unavailable in visionOS
325 |
326 |     /// Sets the red eye reduction mode for the camera and returns the updated `AespaPhotoContext` instance.
/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/Aespa/Core/Context/Context.swift:340:28: error: 'AVCapturePhotoSettings' is unavailable in visionOS
338 |     ///
339 |     /// - Parameter setting: The `AVCapturePhotoSettings` to use for photo capturing.
340 |     func custom(_ setting: AVCapturePhotoSettings) -> PhotoContextType
    |                            `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
341 |
342 |     // MARK: - Utilities
/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/Aespa/Core/Context/Context.swift:366:43: error: 'Preset' is unavailable in visionOS
364 |     /// - Parameters:
365 |     ///   - preset: An `AVCaptureSession.Preset` value indicating the quality preset to be set.
366 |     case quality(preset: AVCaptureSession.Preset)
    |                                           `- error: 'Preset' is unavailable in visionOS
367 |
368 |     /// Sets the camera position for the video recording session.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/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/Aespa/Core/Context/Context.swift:383:35: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
381 |     /// - Note: It sets the orientation of the video you are recording,
382 |     ///     not the orientation of the `AVCaptureVideoPreviewLayer`.
383 |     case orientation(orientation: AVCaptureVideoOrientation)
    |                                   `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
384 |
385 |     /// Sets the autofocusing mode for the video recording session.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:390:38: error: 'FocusMode' is unavailable in visionOS
388 |     ///   - mode: The focus mode(`AVCaptureDevice.FocusMode`) for the session.
389 |     ///   - point: The point in the camera's field of view that the auto focus should prioritize.
390 |     case focus(mode: AVCaptureDevice.FocusMode, point: CGPoint? = nil)
    |                                      `- error: 'FocusMode' is unavailable in visionOS
391 |
392 |     /// Sets the zoom factor for the video recording session.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h: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/Aespa/Core/Context/Context.swift:429:30: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
427 |     /// - Parameters:
428 |     ///   - mode: An `AVCaptureVideoStabilizationMode` value indicating the stabilization mode to be set.
429 |     case stabilization(mode: AVCaptureVideoStabilizationMode)
    |                              `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
430 |
431 |     /// Sets the torch mode and level for the video recording session.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:439:38: error: 'TorchMode' is unavailable in visionOS
437 |     /// - Note: This function might throw an error if the torch mode is not supported,
438 |     ///   or the specified level is not within the acceptable range.
439 |     case torch(mode: AVCaptureDevice.TorchMode, level: Float)
    |                                      `- error: 'TorchMode' is unavailable in visionOS
440 |
441 |     /// This function provides a way to use a custom tuner to modify the current session.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1049:28: note: 'TorchMode' has been explicitly marked unavailable here
1047 |     Indicates that the torch should be used automatically depending on ambient light conditions.
1048 |  */
1049 | typedef NS_ENUM(NSInteger, AVCaptureTorchMode) {
     |                            `- note: 'TorchMode' has been explicitly marked unavailable here
1050 |     AVCaptureTorchModeOff  = 0,
1051 |     AVCaptureTorchModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:460:42: error: 'FlashMode' is unavailable in visionOS
458 |     ///
459 |     /// - Parameter mode: The `AVCaptureDevice.FlashMode` to set for the camera.
460 |     case flashMode(mode: AVCaptureDevice.FlashMode)
    |                                          `- error: 'FlashMode' is unavailable in visionOS
461 |
462 |     /// Sets the red eye reduction mode for the camera and returns the updated `AespaPhotoContext` instance.
/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/Aespa/Core/Context/Context.swift:475:41: error: 'AVCapturePhotoSettings' is unavailable in visionOS
473 |     ///
474 |     /// - Parameter setting: The `AVCapturePhotoSettings` to use for photo capturing.
475 |     case custom(avCapturePhotoSettings: AVCapturePhotoSettings)
    |                                         `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
476 | }
477 |
/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/Aespa/Core/Representable/AVCaptureConnection+AespaRepresentable.swift:12:27: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
10 |
11 | nonisolated protocol AespaCaptureConnectionRepresentable {
12 |     var videoOrientation: AVCaptureVideoOrientation { get set }
   |                           `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
13 |     var preferredVideoStabilizationMode: AVCaptureVideoStabilizationMode { get set }
14 |     var isVideoOrientationSupported: Bool { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureConnection+AespaRepresentable.swift:13:42: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
11 | nonisolated protocol AespaCaptureConnectionRepresentable {
12 |     var videoOrientation: AVCaptureVideoOrientation { get set }
13 |     var preferredVideoStabilizationMode: AVCaptureVideoStabilizationMode { get set }
   |                                          `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
14 |     var isVideoOrientationSupported: Bool { get }
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureConnection+AespaRepresentable.swift:16:38: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
14 |     var isVideoOrientationSupported: Bool { get }
15 |
16 |     func orientation(to orientation: AVCaptureVideoOrientation)
   |                                      `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
17 |     func stabilizationMode(to mode: AVCaptureVideoStabilizationMode)
18 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureConnection+AespaRepresentable.swift:17:37: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
15 |
16 |     func orientation(to orientation: AVCaptureVideoOrientation)
17 |     func stabilizationMode(to mode: AVCaptureVideoStabilizationMode)
   |                                     `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
18 | }
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureConnection+AespaRepresentable.swift:21:38: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
19 |
20 | nonisolated extension AVCaptureConnection: AespaCaptureConnectionRepresentable {
21 |     func orientation(to orientation: AVCaptureVideoOrientation) {
   |                                      `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
22 |         self.videoOrientation = orientation
23 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureConnection+AespaRepresentable.swift:25:37: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
23 |     }
24 |
25 |     func stabilizationMode(to mode: AVCaptureVideoStabilizationMode) {
   |                                     `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
26 |         self.preferredVideoStabilizationMode = mode
27 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureConnection+AespaRepresentable.swift:20:13: error: type 'AVCaptureConnection' does not conform to protocol 'AespaCaptureConnectionRepresentable'
18 | }
19 |
20 | nonisolated extension AVCaptureConnection: AespaCaptureConnectionRepresentable {
   |             `- error: type 'AVCaptureConnection' does not conform to protocol 'AespaCaptureConnectionRepresentable'
21 |     func orientation(to orientation: AVCaptureVideoOrientation) {
22 |         self.videoOrientation = orientation
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureConnection+AespaRepresentable.swift:20:13: error: unavailable property 'videoOrientation' was used to satisfy a requirement of protocol 'AespaCaptureConnectionRepresentable'
10 |
11 | nonisolated protocol AespaCaptureConnectionRepresentable {
12 |     var videoOrientation: AVCaptureVideoOrientation { get set }
   |         `- note: requirement 'videoOrientation' declared here
13 |     var preferredVideoStabilizationMode: AVCaptureVideoStabilizationMode { get set }
14 |     var isVideoOrientationSupported: Bool { get }
   :
18 | }
19 |
20 | nonisolated extension AVCaptureConnection: AespaCaptureConnectionRepresentable {
   |             `- error: unavailable property 'videoOrientation' was used to satisfy a requirement of protocol 'AespaCaptureConnectionRepresentable'
21 |     func orientation(to orientation: AVCaptureVideoOrientation) {
22 |         self.videoOrientation = orientation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1111:48: note: 'videoOrientation' declared here
1109 |     This property is deprecated. Use -videoRotationAngle instead. This property may only be set if -isVideoOrientationSupported returns YES, otherwise an NSInvalidArgumentException is thrown.
1110 |  */
1111 | @property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                `- note: 'videoOrientation' declared here
1112 |
1113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureConnection+AespaRepresentable.swift:20:13: error: unavailable property 'preferredVideoStabilizationMode' was used to satisfy a requirement of protocol 'AespaCaptureConnectionRepresentable'
11 | nonisolated protocol AespaCaptureConnectionRepresentable {
12 |     var videoOrientation: AVCaptureVideoOrientation { get set }
13 |     var preferredVideoStabilizationMode: AVCaptureVideoStabilizationMode { get set }
   |         `- note: requirement 'preferredVideoStabilizationMode' declared here
14 |     var isVideoOrientationSupported: Bool { get }
15 |
   :
18 | }
19 |
20 | nonisolated extension AVCaptureConnection: AespaCaptureConnectionRepresentable {
   |             `- error: unavailable property 'preferredVideoStabilizationMode' was used to satisfy a requirement of protocol 'AespaCaptureConnectionRepresentable'
21 |     func orientation(to orientation: AVCaptureVideoOrientation) {
22 |         self.videoOrientation = orientation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1213:54: note: 'preferredVideoStabilizationMode' declared here
1211 |     Enabling video stabilization introduces additional latency into the video capture pipeline and may consume more system memory depending on the stabilization mode and format. If the preferred stabilization mode isn't available, the activeVideoStabilizationMode will be set to AVCaptureVideoStabilizationModeOff. Clients may key-value observe the activeVideoStabilizationMode property to know which stabilization mode is in use or when it is off. The default value is AVCaptureVideoStabilizationModeOff. When setting this property to AVCaptureVideoStabilizationModeAuto, an appropriate stabilization mode will be chosen based on the format and frame rate. For apps linked before iOS 6.0, the default value is AVCaptureVideoStabilizationModeStandard for a video connection attached to an AVCaptureMovieFileOutput instance. For apps linked on or after iOS 6.0, the default value is always AVCaptureVideoStabilizationModeOff. Setting a video stabilization mode using this property may change the value of enablesVideoStabilizationWhenAvailable.
1212 |  */
1213 | @property(nonatomic) AVCaptureVideoStabilizationMode preferredVideoStabilizationMode API_AVAILABLE(ios(8.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                                                      `- note: 'preferredVideoStabilizationMode' declared here
1214 |
1215 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureConnection+AespaRepresentable.swift:20:13: error: unavailable property 'isVideoOrientationSupported' was used to satisfy a requirement of protocol 'AespaCaptureConnectionRepresentable'
12 |     var videoOrientation: AVCaptureVideoOrientation { get set }
13 |     var preferredVideoStabilizationMode: AVCaptureVideoStabilizationMode { get set }
14 |     var isVideoOrientationSupported: Bool { get }
   |         `- note: requirement 'isVideoOrientationSupported' declared here
15 |
16 |     func orientation(to orientation: AVCaptureVideoOrientation)
   :
18 | }
19 |
20 | nonisolated extension AVCaptureConnection: AespaCaptureConnectionRepresentable {
   |             `- error: unavailable property 'isVideoOrientationSupported' was used to satisfy a requirement of protocol 'AespaCaptureConnectionRepresentable'
21 |     func orientation(to orientation: AVCaptureVideoOrientation) {
22 |         self.videoOrientation = orientation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1101:73: note: 'isVideoOrientationSupported' declared here
1099 |     This property is deprecated. Use -isVideoRotationAngleSupported: instead.
1100 |  */
1101 | @property(nonatomic, readonly, getter=isVideoOrientationSupported) BOOL supportsVideoOrientation API_DEPRECATED("Use -isVideoRotationAngleSupported: instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                                         `- note: 'isVideoOrientationSupported' declared here
1102 |
1103 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:13:36: error: 'FocusMode' is unavailable in visionOS
11 | nonisolated protocol AespaCaptureDeviceRepresentable {
12 |     var hasTorch: Bool { get }
13 |     var focusMode: AVCaptureDevice.FocusMode { get set }
   |                                    `- error: 'FocusMode' is unavailable in visionOS
14 |     var isSubjectAreaChangeMonitoringEnabled: Bool { get set }
15 |     var flashMode: AVCaptureDevice.FlashMode { get set }
/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/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:15:36: error: 'FlashMode' is unavailable in visionOS
13 |     var focusMode: AVCaptureDevice.FocusMode { get set }
14 |     var isSubjectAreaChangeMonitoringEnabled: Bool { get set }
15 |     var flashMode: AVCaptureDevice.FlashMode { get set }
   |                                    `- error: 'FlashMode' is unavailable in visionOS
16 |     var videoZoomFactor: CGFloat { get set }
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/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/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:20:60: error: 'FocusMode' is unavailable in visionOS
18 |     var maxResolution: Double? { get }
19 |
20 |     func isFocusModeSupported(_ focusMode: AVCaptureDevice.FocusMode) -> Bool
   |                                                            `- error: 'FocusMode' is unavailable in visionOS
21 |
22 |     func zoomFactor(_ factor: CGFloat)
/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/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:23:52: error: 'FocusMode' is unavailable in visionOS
21 |
22 |     func zoomFactor(_ factor: CGFloat)
23 |     func setFocusMode(_ focusMode: AVCaptureDevice.FocusMode, point: CGPoint?) throws
   |                                                    `- error: 'FocusMode' is unavailable in visionOS
24 |     func torchMode(_ torchMode: AVCaptureDevice.TorchMode)
25 |     func enableMonitoring(_ enabled: 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: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/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:24:49: error: 'TorchMode' is unavailable in visionOS
22 |     func zoomFactor(_ factor: CGFloat)
23 |     func setFocusMode(_ focusMode: AVCaptureDevice.FocusMode, point: CGPoint?) throws
24 |     func torchMode(_ torchMode: AVCaptureDevice.TorchMode)
   |                                                 `- error: 'TorchMode' is unavailable in visionOS
25 |     func enableMonitoring(_ enabled: Bool)
26 |     func setTorchModeOn(level torchLevel: Float) throws
/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:1049:28: note: 'TorchMode' has been explicitly marked unavailable here
1047 |     Indicates that the torch should be used automatically depending on ambient light conditions.
1048 |  */
1049 | typedef NS_ENUM(NSInteger, AVCaptureTorchMode) {
     |                            `- note: 'TorchMode' has been explicitly marked unavailable here
1050 |     AVCaptureTorchModeOff  = 0,
1051 |     AVCaptureTorchModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:30:33: error: 'TorchMode' is unavailable in visionOS
28 |
29 | nonisolated extension AVCaptureDevice: AespaCaptureDeviceRepresentable {
30 |     func torchMode(_ torchMode: TorchMode) {
   |                                 `- error: 'TorchMode' is unavailable in visionOS
31 |         switch torchMode {
32 |         case .off:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1049:28: note: 'TorchMode' has been explicitly marked unavailable here
1047 |     Indicates that the torch should be used automatically depending on ambient light conditions.
1048 |  */
1049 | typedef NS_ENUM(NSInteger, AVCaptureTorchMode) {
     |                            `- note: 'TorchMode' has been explicitly marked unavailable here
1050 |     AVCaptureTorchModeOff  = 0,
1051 |     AVCaptureTorchModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:47:52: error: 'FocusMode' is unavailable in visionOS
45 |     }
46 |
47 |     func setFocusMode(_ focusMode: AVCaptureDevice.FocusMode, point: CGPoint?) throws {
   |                                                    `- error: 'FocusMode' is unavailable in visionOS
48 |         if isAdjustingFocus {
49 |             throw AespaError.device(reason: .busy)
/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/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:29:13: error: type 'AVCaptureDevice' does not conform to protocol 'AespaCaptureDeviceRepresentable'
27 | }
28 |
29 | nonisolated extension AVCaptureDevice: AespaCaptureDeviceRepresentable {
   |             `- error: type 'AVCaptureDevice' does not conform to protocol 'AespaCaptureDeviceRepresentable'
30 |     func torchMode(_ torchMode: TorchMode) {
31 |         switch torchMode {
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:29:13: error: unavailable property 'isSubjectAreaChangeMonitoringEnabled' was used to satisfy a requirement of protocol 'AespaCaptureDeviceRepresentable'
12 |     var hasTorch: Bool { get }
13 |     var focusMode: AVCaptureDevice.FocusMode { get set }
14 |     var isSubjectAreaChangeMonitoringEnabled: Bool { get set }
   |         `- note: requirement 'isSubjectAreaChangeMonitoringEnabled' declared here
15 |     var flashMode: AVCaptureDevice.FlashMode { get set }
16 |     var videoZoomFactor: CGFloat { get set }
   :
27 | }
28 |
29 | nonisolated extension AVCaptureDevice: AespaCaptureDeviceRepresentable {
   |             `- error: unavailable property 'isSubjectAreaChangeMonitoringEnabled' was used to satisfy a requirement of protocol 'AespaCaptureDeviceRepresentable'
30 |     func torchMode(_ torchMode: TorchMode) {
31 |         switch torchMode {
/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' declared 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' declared here
2013 |
2014 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:29:13: error: unavailable property 'flashMode' was used to satisfy a requirement of protocol 'AespaCaptureDeviceRepresentable'
13 |     var focusMode: AVCaptureDevice.FocusMode { get set }
14 |     var isSubjectAreaChangeMonitoringEnabled: Bool { get set }
15 |     var flashMode: AVCaptureDevice.FlashMode { get set }
   |         `- note: requirement 'flashMode' declared here
16 |     var videoZoomFactor: CGFloat { get set }
17 |
   :
27 | }
28 |
29 | nonisolated extension AVCaptureDevice: AespaCaptureDeviceRepresentable {
   |             `- error: unavailable property 'flashMode' was used to satisfy a requirement of protocol 'AespaCaptureDeviceRepresentable'
30 |     func torchMode(_ torchMode: TorchMode) {
31 |         switch torchMode {
/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:1032:41: note: 'flashMode' declared here
1030 |     When using AVCapturePhotoOutput, AVCaptureDevice's flashMode property is ignored. You specify flashMode on a per photo basis by setting the AVCapturePhotoSettings.flashMode property.
1031 |  */
1032 | @property(nonatomic) AVCaptureFlashMode flashMode API_DEPRECATED("Use AVCapturePhotoSettings.flashMode instead.", ios(4.0, 10.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos);
     |                                         `- note: 'flashMode' declared here
1033 |
1034 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:29:13: error: unavailable property 'videoZoomFactor' was used to satisfy a requirement of protocol 'AespaCaptureDeviceRepresentable'
14 |     var isSubjectAreaChangeMonitoringEnabled: Bool { get set }
15 |     var flashMode: AVCaptureDevice.FlashMode { get set }
16 |     var videoZoomFactor: CGFloat { get set }
   |         `- note: requirement 'videoZoomFactor' declared here
17 |
18 |     var maxResolution: Double? { get }
   :
27 | }
28 |
29 | nonisolated extension AVCaptureDevice: AespaCaptureDeviceRepresentable {
   |             `- error: unavailable property 'videoZoomFactor' was used to satisfy a requirement of protocol 'AespaCaptureDeviceRepresentable'
30 |     func torchMode(_ torchMode: TorchMode) {
31 |         switch torchMode {
/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:2068:30: note: 'videoZoomFactor' declared here
2066 |  @seealso -[AVCaptureDeviceFormat videoMaxZoomFactor], -[AVCaptureDeviceFormat videoZoomFactorUpscaleThreshold], -[AVCaptureDevice minAvailableVideoZoomFactor], -[AVCaptureDevice maxAvailableVideoZoomFactor],  -[AVCaptureDeviceFormat supportedVideoZoomFactorsForDepthDataDelivery], -[AVCaptureDeviceFormat videoMinZoomFactorForCenterStage] and -[AVCaptureDeviceFormat videoMaxZoomFactorForCenterStage]
2067 |  */
2068 | @property(nonatomic) CGFloat videoZoomFactor API_AVAILABLE(ios(7.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                              `- note: 'videoZoomFactor' declared here
2069 |
2070 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift:29:13: error: unavailable instance method 'setTorchModeOn(level:)' was used to satisfy a requirement of protocol 'AespaCaptureDeviceRepresentable'
24 |     func torchMode(_ torchMode: AVCaptureDevice.TorchMode)
25 |     func enableMonitoring(_ enabled: Bool)
26 |     func setTorchModeOn(level torchLevel: Float) throws
   |          `- note: requirement 'setTorchModeOn(level:)' declared here
27 | }
28 |
29 | nonisolated extension AVCaptureDevice: AespaCaptureDeviceRepresentable {
   |             `- error: unavailable instance method 'setTorchModeOn(level:)' was used to satisfy a requirement of protocol 'AespaCaptureDeviceRepresentable'
30 |     func torchMode(_ torchMode: TorchMode) {
31 |         switch torchMode {
/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:1139:1: note: 'setTorchModeOn(level:)' declared here
1137 |     This method sets the torch mode to AVCaptureTorchModeOn at a specified level. torchLevel must be a value between 0 and 1, or the special value AVCaptureMaxAvailableTorchLevel. The specified value may not be available if the iOS device is too hot. This method throws an NSInvalidArgumentException if set to an unsupported level. If the specified level is valid, but unavailable, the method returns NO with AVErrorTorchLevelUnavailable. -setTorchModeOnWithLevel:error: throws an NSGenericException if called without first obtaining exclusive access to the receiver using lockForConfiguration:. Clients can observe automatic changes to the receiver's torchMode by key value observing the torchMode property.
1138 |  */
1139 | - (BOOL)setTorchModeOnWithLevel:(float)torchLevel error:(NSError * _Nullable * _Nullable)outError API_AVAILABLE(macos(10.15), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'setTorchModeOn(level:)' declared here
1140 |
1141 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureFileOutput+AespaRepresentable.swift:15:37: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
13 |     func startRecording(
14 |         to outputFileURL: URL,
15 |         recordingDelegate delegate: AVCaptureFileOutputRecordingDelegate)
   |                                     `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
16 |     func getConnection(with mediaType: AVMediaType) -> AespaCaptureConnectionRepresentable?
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/AVCaptureFileOutput.h:206:11: note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
204 |  */
205 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
206 | @protocol AVCaptureFileOutputRecordingDelegate <NSObject>
    |           `- note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
207 |
208 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureFileOutput+AespaRepresentable.swift:19:23: error: 'AVCaptureFileOutput' is unavailable in visionOS
17 | }
18 |
19 | nonisolated extension AVCaptureFileOutput: AespaFileOutputRepresentable {
   |                       `- error: 'AVCaptureFileOutput' is unavailable in visionOS
20 |     func getConnection(with mediaType: AVMediaType) -> AespaCaptureConnectionRepresentable? {
21 |         return connection(with: mediaType)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:36:12: note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
 34 |  */
 35 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 36 | @interface AVCaptureFileOutput : AVCaptureOutput
    |            `- note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
 37 | {
 38 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCapturePhotoOutput+AespaRepresentable.swift:12:29: error: 'AVCapturePhotoSettings' is unavailable in visionOS
10 |
11 | nonisolated protocol AespaPhotoOutputRepresentable {
12 |     func capturePhoto(with: AVCapturePhotoSettings, delegate: AVCapturePhotoCaptureDelegate)
   |                             `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
13 |     func getConnection(with mediaType: AVMediaType) -> AespaCaptureConnectionRepresentable?
14 | }
/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/Aespa/Core/Representable/AVCapturePhotoOutput+AespaRepresentable.swift:12:63: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
10 |
11 | nonisolated protocol AespaPhotoOutputRepresentable {
12 |     func capturePhoto(with: AVCapturePhotoSettings, delegate: AVCapturePhotoCaptureDelegate)
   |                                                               `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
13 |     func getConnection(with mediaType: AVMediaType) -> AespaCaptureConnectionRepresentable?
14 | }
/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/Aespa/Core/Representable/AVCapturePhotoOutput+AespaRepresentable.swift:16:23: error: 'AVCapturePhotoOutput' is unavailable in visionOS
14 | }
15 |
16 | nonisolated extension AVCapturePhotoOutput: AespaPhotoOutputRepresentable {
   |                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
17 |     func getConnection(with mediaType: AVMediaType) -> AespaCaptureConnectionRepresentable? {
18 |         return connection(with: mediaType)
/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/Aespa/Core/Representable/AespaCoreSession+AespaRepresentable.swift:28:26: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
 26 |
 27 |     /// The `AVCaptureMovieFileOutput` for the video file output.
 28 |     var movieFileOutput: AVCaptureMovieFileOutput? { get }
    |                          `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
 29 |
 30 |     /// The `AVCaptureVideoPreviewLayer` for previewing the video being recorded.
/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/Aespa/Core/Representable/AespaCoreSession+AespaRepresentable.swift:31:23: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 29 |
 30 |     /// The `AVCaptureVideoPreviewLayer` for previewing the video being recorded.
 31 |     var previewLayer: AVCaptureVideoPreviewLayer { get }
    |                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 32 |
 33 |     /// Starts the capture session. This method is synchronous and blocks until the session starts.
/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/Aespa/Core/Representable/AespaCoreSession+AespaRepresentable.swift:65:44: error: 'DeviceType' is only available in visionOS 2.1 or newer
 12 | /// structs that interact with `AVCaptureDeviceInput` and
 13 | /// `AVCaptureMovieFileOutput` to setup and configure a camera session for recording videos.
 14 | nonisolated public protocol AespaCoreSessionRepresentable {
    |                             `- note: add '@available' attribute to enclosing protocol
 15 |     /// The `AVCaptureSession` that coordinates the flow of data from AV input devices to outputs.
 16 |     var avCaptureSession: AVCaptureSession { get }
    :
 61 |     /// Sets the position of the camera.
 62 |     /// Throws an error if the operation fails.
 63 |     func cameraPosition(
    |          `- note: add '@available' attribute to enclosing instance method
 64 |         to position: AVCaptureDevice.Position,
 65 |         device deviceType: AVCaptureDevice.DeviceType?
    |                                            `- error: 'DeviceType' is only available in visionOS 2.1 or newer
 66 |     ) throws
 67 |
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AespaCoreSession+AespaRepresentable.swift:69:51: error: 'Preset' is unavailable in visionOS
 67 |
 68 |     /// Sets the video quality preset.
 69 |     func videoQuality(to preset: AVCaptureSession.Preset) throws
    |                                                   `- error: 'Preset' is unavailable in visionOS
 70 | }
 71 |
/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/Aespa/Core/Representable/AespaCoreSession+AespaRepresentable.swift:90:26: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
 88 |     }
 89 |
 90 |     var movieFileOutput: AVCaptureMovieFileOutput? {
    |                          `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
 91 |         let output = self.outputs.first {
 92 |             $0 as? AVCaptureMovieFileOutput != nil
/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/Aespa/Core/Representable/AespaCoreSession+AespaRepresentable.swift:98:22: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 96 |     }
 97 |
 98 |     var photoOutput: AVCapturePhotoOutput? {
    |                      `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 99 |         let output = self.outputs.first {
100 |             $0 as? AVCapturePhotoOutput != nil
/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/Aespa/Core/Representable/AespaCoreSession+AespaRepresentable.swift:106:23: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
104 |     }
105 |
106 |     var previewLayer: AVCaptureVideoPreviewLayer {
    |                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
107 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self)
108 |         previewLayer.connection?.videoOrientation = .portrait // Fixed value for now
/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/Aespa/Core/Representable/AespaCoreSession+AespaRepresentable.swift:187:44: error: 'DeviceType' is only available in visionOS 2.1 or newer
 70 | }
 71 |
 72 | nonisolated extension AespaCoreSession: AespaCoreSessionRepresentable {
    |             `- note: add '@available' attribute to enclosing extension
 73 |     // MARK: - Vars
 74 |     var avCaptureSession: AVCaptureSession { self }
    :
183 |
184 |     // MARK: - Option related
185 |     func cameraPosition(
    |          `- note: add '@available' attribute to enclosing instance method
186 |         to position: AVCaptureDevice.Position,
187 |         device deviceType: AVCaptureDevice.DeviceType?
    |                                            `- error: 'DeviceType' is only available in visionOS 2.1 or newer
188 |     ) throws {
189 |         let session = self
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AespaCoreSession+AespaRepresentable.swift:215:51: error: 'Preset' is unavailable in visionOS
213 |     }
214 |
215 |     func videoQuality(to preset: AVCaptureSession.Preset) {
    |                                                   `- error: 'Preset' is unavailable in visionOS
216 |         let session = self
217 |
/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/Aespa/Processor/Capture/CapturePhotoProcessor.swift:12:18: error: 'AVCapturePhotoSettings' is unavailable in visionOS
10 |
11 | nonisolated struct CapturePhotoProcessor: AespaCapturePhotoOutputProcessing, @unchecked Sendable {
12 |     let setting: AVCapturePhotoSettings
   |                  `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
13 |     let delegate: AVCapturePhotoCaptureDelegate
14 |     let autoVideoOrientationEnabled: 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/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/Aespa/Processor/Capture/CapturePhotoProcessor.swift:13:19: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
11 | nonisolated struct CapturePhotoProcessor: AespaCapturePhotoOutputProcessing, @unchecked Sendable {
12 |     let setting: AVCapturePhotoSettings
13 |     let delegate: AVCapturePhotoCaptureDelegate
   |                   `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
14 |     let autoVideoOrientationEnabled: Bool
15 |
/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/Aespa/Processor/Record/StartRecordProcessor.swift:13:19: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
11 | nonisolated struct StartRecordProcessor: AespaMovieFileOutputProcessing, @unchecked Sendable {
12 |     let filePath: URL
13 |     let delegate: AVCaptureFileOutputRecordingDelegate
   |                   `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
14 |     let autoVideoOrientationEnabled: Bool
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:206:11: note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
204 |  */
205 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
206 | @protocol AVCaptureFileOutputRecordingDelegate <NSObject>
    |           `- note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
207 |
208 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Connection/VideoOrientationTuner.swift:11:22: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
 9 |
10 | struct VideoOrientationTuner: AespaConnectionTuning {
11 |     var orientation: AVCaptureVideoOrientation
   |                      `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
12 |
13 |     func tune<T: AespaCaptureConnectionRepresentable>(_ connection: T) throws {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Connection/VideoStabilizationTuner.swift:11:27: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
 9 |
10 | struct VideoStabilizationTuner: AespaConnectionTuning {
11 |     var stabilzationMode: AVCaptureVideoStabilizationMode
   |                           `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
12 |
13 |     func tune<T: AespaCaptureConnectionRepresentable>(_ connection: 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/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/FocusTuner.swift:15:31: error: 'FocusMode' is unavailable in visionOS
13 |     let needLock = true
14 |
15 |     let mode: AVCaptureDevice.FocusMode
   |                               `- error: 'FocusMode' is unavailable in visionOS
16 |     let point: CGPoint?
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/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/Aespa/Tuner/Device/TorchTuner.swift:13:36: error: 'TorchMode' is unavailable in visionOS
11 | struct TorchTuner: AespaDeviceTuning {
12 |     let level: Float
13 |     let torchMode: AVCaptureDevice.TorchMode
   |                                    `- error: 'TorchMode' is unavailable in visionOS
14 |
15 |     func tune<T>(_ device: T) throws where T: AespaCaptureDeviceRepresentable {
/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:1049:28: note: 'TorchMode' has been explicitly marked unavailable here
1047 |     Indicates that the torch should be used automatically depending on ambient light conditions.
1048 |  */
1049 | typedef NS_ENUM(NSInteger, AVCaptureTorchMode) {
     |                            `- note: 'TorchMode' has been explicitly marked unavailable here
1050 |     AVCaptureTorchModeOff  = 0,
1051 |     AVCaptureTorchModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/CameraPositionTuner.swift:13:43: error: 'DeviceType' is only available in visionOS 2.1 or newer
 8 | import AVFoundation
 9 |
10 | struct CameraPositionTuner: AespaSessionTuning {
   |        `- note: add '@available' attribute to enclosing struct
11 |     let needTransaction = true
12 |     var position: AVCaptureDevice.Position
13 |     var devicePreference: AVCaptureDevice.DeviceType?
   |                                           `- error: 'DeviceType' is only available in visionOS 2.1 or newer
14 |
15 |     init(position: AVCaptureDevice.Position, devicePreference: AVCaptureDevice.DeviceType? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/CameraPositionTuner.swift:15:80: error: 'DeviceType' is only available in visionOS 2.1 or newer
 8 | import AVFoundation
 9 |
10 | struct CameraPositionTuner: AespaSessionTuning {
   |        `- note: add '@available' attribute to enclosing struct
11 |     let needTransaction = true
12 |     var position: AVCaptureDevice.Position
13 |     var devicePreference: AVCaptureDevice.DeviceType?
14 |
15 |     init(position: AVCaptureDevice.Position, devicePreference: AVCaptureDevice.DeviceType? = nil) {
   |     |                                                                          `- error: 'DeviceType' is only available in visionOS 2.1 or newer
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.position = position
17 |         self.devicePreference = devicePreference
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/QualityTuner.swift:12:40: error: 'Preset' is unavailable in visionOS
10 | struct QualityTuner: AespaSessionTuning {
11 |     let needTransaction = true
12 |     var videoQuality: AVCaptureSession.Preset
   |                                        `- error: 'Preset' is unavailable in visionOS
13 |
14 |     func tune<T: AespaCoreSessionRepresentable>(_ session: T) throws {
/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/Aespa/Util/Extension/AVFoundation+Extension.swift:34:23: error: 'AVCapturePhoto' is unavailable in visionOS
32 | import UIKit
33 |
34 | nonisolated extension AVCapturePhoto {
   |                       `- error: 'AVCapturePhoto' is unavailable in visionOS
35 |     var image: UIImage? {
36 |         guard let imageData = fileDataRepresentation() else { return nil }
/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/Aespa/Util/Extension/UIKit+Extension.swift:12:29: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
10 |
11 | nonisolated extension UIDeviceOrientation {
12 |     var toVideoOrientation: AVCaptureVideoOrientation {
   |                             `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
13 |         let previewOrientation: AVCaptureVideoOrientation
14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/UIKit+Extension.swift:33:41: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
31 |
32 | nonisolated enum DeviceOrientationProvider {
33 |     static var currentVideoOrientation: AVCaptureVideoOrientation {
   |                                         `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
34 |         if Thread.isMainThread {
35 |             return MainActor.assumeIsolated {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:57:60: error: 'FocusMode' is unavailable in visionOS
 55 |
 56 |     // Focus
 57 |     @State private var preferredFocusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |                                                            `- error: 'FocusMode' is unavailable in visionOS
 58 |     @State private var focusingLocation = CGPoint.zero
 59 |
/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,
macro expansion @State:2:40: error: 'FocusMode' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:57:92: note: expanded code originates here
 55 |
 56 |     // Focus
 57 |     @State private var preferredFocusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |     `- note: in expansion of macro 'State' on property 'preferredFocusMode' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __preferredFocusMode = SwiftUICore.State._makeStorage(({
    | 2 |             let value: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |   |                                        `- error: 'FocusMode' is unavailable in visionOS
    | 3 |             return value
    | 4 |         }))
    +-------------------------------------------------------------------
 58 |     @State private var focusingLocation = CGPoint.zero
 59 |
/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,
macro expansion @State:8:43: error: 'FocusMode' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:57:92: note: expanded code originates here
 55 |
 56 |     // Focus
 57 |     @State private var preferredFocusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |     `- note: in expansion of macro 'State' on property 'preferredFocusMode' here
    +--- macro expansion @State ----------------------------------------
    | 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHM1QWVzcGExOEludGVyYWN0aXZlUHJldmlld1YxOHByZWZlcnJlZEZvY3VzTW9kZTMzX0JGRjc3MUUxQTA3Q0IwQUJERkJDMjE1OUI0REVBNUY1TEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
    | 7 | private var _preferredFocusMode: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 8 |         SwiftUICore.State<AVCaptureDevice.FocusMode>(initialValue: .continuousAutoFocus)
    |   |                                           `- error: 'FocusMode' is unavailable in visionOS
    | 9 |     })
    |10 |
    +-------------------------------------------------------------------
 58 |     @State private var focusingLocation = CGPoint.zero
 59 |
/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,
macro expansion @State:12:69: error: 'FocusMode' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:57:92: note: expanded code originates here
 55 |
 56 |     // Focus
 57 |     @State private var preferredFocusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |     `- note: in expansion of macro 'State' on property 'preferredFocusMode' here
    +--- macro expansion @State ----------------------------------------
    |10 |
    |11 | @SwiftUICore._StateProjectedValue
    |12 | private var $preferredFocusMode = SwiftUICore.State<AVCaptureDevice.FocusMode>(initialValue: .continuousAutoFocus).projectedValue
    |   |                                                                     `- error: 'FocusMode' is unavailable in visionOS
    |13 |
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQVZDYXB0dXJlRGV2aWNlLkZvY3VzTW9kZSA9IC5jb250aW51b3VzQXV0b0ZvY3VzCnJldHVybiB2YWx1ZSB9KSk=")
    +-------------------------------------------------------------------
 58 |     @State private var focusingLocation = CGPoint.zero
 59 |
/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,
macro expansion @State:16:36: error: 'FocusMode' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:57:92: note: expanded code originates here
 55 |
 56 |     // Focus
 57 |     @State private var preferredFocusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |     `- note: in expansion of macro 'State' on property 'preferredFocusMode' here
    +--- macro expansion @State ----------------------------------------
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQVZDYXB0dXJlRGV2aWNlLkZvY3VzTW9kZSA9IC5jb250aW51b3VzQXV0b0ZvY3VzCnJldHVybiB2YWx1ZSB9KSk=")
    |15 | private static var $s5Aespa18InteractivePreviewV18preferredFocusMode33_BFF771E1A07CB0ABDFBC2159B4DEA5F5LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
    |16 |             let x: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |   |                                    `- error: 'FocusMode' is unavailable in visionOS
    |17 |             return x
    |18 |         }()))
    +-------------------------------------------------------------------
 58 |     @State private var focusingLocation = CGPoint.zero
 59 |
/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/Aespa/View/InteractivePreview.swift:86:16: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 84 |     }
 85 |
 86 |     var layer: AVCaptureVideoPreviewLayer {
    |                `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 87 |         preview.previewLayer
 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/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/Aespa/View/InteractivePreview.swift:90:43: error: 'FocusMode' is unavailable in visionOS
 88 |     }
 89 |
 90 |     var currentFocusMode: AVCaptureDevice.FocusMode? {
    |                                           `- error: 'FocusMode' is unavailable in visionOS
 91 |         session.currentFocusMode
 92 |     }
/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/Aespa/View/Preview.swift:15:23: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
13 |     let session: AespaSession
14 |     let gravity: AVLayerVideoGravity
15 |     let previewLayer: AVCaptureVideoPreviewLayer
   |                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
16 |
17 |     init(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 31 |  */
 32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 33 | @interface AVCaptureVideoPreviewLayer : CALayer
    |            `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
 34 | {
 35 | @private
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Aespa.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/AespaError.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/AespaOption.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/AespaSession.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreAlbumManager.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreSession.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaEventManager.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaPhotoContext.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaVideoContext.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureConnection+AespaRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureDevice+AespaRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCaptureFileOutput+AespaRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AVCapturePhotoOutput+AespaRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/AespaCoreSession+AespaRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Representable/Photos+AespaRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Asset/PhotoAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Asset/VideoAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Event/VideoAssetEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/File/PhotoFile.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/File/VideoFile.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Proxy/AssetCachingProxy.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Loader/AespaLoading.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Loader/Asset/AssetLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/AespaProcessing.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Asset/PhotoAssetAdditionProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Asset/VideoAssetAdditionProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Capture/CapturePhotoProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/File/FileWritingProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Record/FinishRecordProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Record/StartRecordProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/AespaTuning.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Connection/VideoOrientationTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Connection/VideoStabilizationTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/ChangeMonitoringTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/FocusTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/TorchTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/ZoomTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/AudioTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/CameraPositionTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/QualityTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/SessionTerminationTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Album/AlbumImporter.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Authorization/AuthorizationChecker.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/AVFoundation+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/Subject+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/SwiftUI+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/UIKit+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/File/FilePathProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/File/PhotoFileGenerator.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/File/VideoFileGenerator.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Log/Logger.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/Preview.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aespa.build/Debug-xros/Aespa-t.build/Objects-normal/arm64/Aespa-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/Aespa.build/Debug-xros/Aespa-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aespa.build/Debug-xros/Aespa-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aespa.build/Debug-xros/Aespa-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Aespa -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aespa.build/Debug-xros/Aespa-t.build/Objects-normal/arm64/Aespa_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/Aespa.build/Debug-xros/Aespa-t.build/Objects-normal/arm64/Aespa.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aespa.build/Debug-xros/Aespa-t.build/Objects-normal/arm64/Aespa.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aespa.build/Debug-xros/Aespa-t.build/Objects-normal/arm64/Aespa-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aespa.build/Debug-xros/Aespa-t.build/Objects-normal/arm64/Aespa-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aespa.build/Debug-xros/Aespa-t.build/Objects-normal/arm64/Aespa-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aespa.build/Debug-xros/Aespa-t.build/Objects-normal/arm64/Aespa.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Aespa.build/Debug-xros/Aespa-t.build/Objects-normal/arm64/Aespa.abi.json
SwiftCompile normal arm64 (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ PhotoAsset.swift,\ VideoAsset.swift,\ VideoAssetEvent.swift,\ PhotoFile.swift,\ VideoFile.swift,\ AssetCachingProxy.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Asset/PhotoAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Asset/VideoAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Event/VideoAssetEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/File/PhotoFile.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/File/VideoFile.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Proxy/AssetCachingProxy.swift (in target 'Aespa' from project 'Aespa')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Asset/PhotoAsset.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PhotoAsset.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Asset/VideoAsset.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile VideoAsset.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Event/VideoAssetEvent.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile VideoAssetEvent.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/File/PhotoFile.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PhotoFile.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/File/VideoFile.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile VideoFile.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Data/Proxy/AssetCachingProxy.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AssetCachingProxy.swift
SwiftCompile normal arm64 Compiling\ ChangeMonitoringTuner.swift,\ FocusTuner.swift,\ TorchTuner.swift,\ ZoomTuner.swift,\ AudioTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/ChangeMonitoringTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/FocusTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/TorchTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/ZoomTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/AudioTuner.swift (in target 'Aespa' from project 'Aespa')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/ChangeMonitoringTuner.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ChangeMonitoringTuner.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/FocusTuner.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FocusTuner.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/TorchTuner.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile TorchTuner.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/ZoomTuner.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ZoomTuner.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/AudioTuner.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AudioTuner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Device/FocusTuner.swift:15:31: error: 'FocusMode' is unavailable in visionOS
13 |     let needLock = true
14 |
15 |     let mode: AVCaptureDevice.FocusMode
   |                               `- error: 'FocusMode' is unavailable in visionOS
16 |     let point: CGPoint?
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/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,
SwiftCompile normal arm64 Compiling\ AVFoundation+Extension.swift,\ Subject+Extension.swift,\ SwiftUI+Extension.swift,\ UIKit+Extension.swift,\ FilePathProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/AVFoundation+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/Subject+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/SwiftUI+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/UIKit+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/File/FilePathProvider.swift (in target 'Aespa' from project 'Aespa')
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/AVFoundation+Extension.swift:34:23: error: 'AVCapturePhoto' is unavailable in visionOS
32 | import UIKit
33 |
34 | nonisolated extension AVCapturePhoto {
   |                       `- error: 'AVCapturePhoto' is unavailable in visionOS
35 |     var image: UIImage? {
36 |         guard let imageData = fileDataRepresentation() else { return nil }
/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/Aespa/Util/Extension/AVFoundation+Extension.swift:12:48: error: 'DiscoverySession' is only available in visionOS 2.1 or newer
 8 | import AVFoundation
 9 |
10 | nonisolated extension AVCaptureDevice.Position {
   |             `- note: add '@available' attribute to enclosing extension
11 |     var chooseBestCamera: AVCaptureDevice? {
   |         `- note: add '@available' attribute to enclosing property
12 |         let discoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInDualCamera,
   |                                                |- error: 'DiscoverySession' is only available in visionOS 2.1 or newer
   |                                                `- note: add 'if #available' version check
13 |                                                                               .builtInTripleCamera,
14 |                                                                               .builtInWideAngleCamera],
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/AVFoundation+Extension.swift:12:80: error: 'builtInDualCamera' is unavailable in visionOS
10 | nonisolated extension AVCaptureDevice.Position {
11 |     var chooseBestCamera: AVCaptureDevice? {
12 |         let discoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInDualCamera,
   |                                                                                `- error: 'builtInDualCamera' is unavailable in visionOS
13 |                                                                               .builtInTripleCamera,
14 |                                                                               .builtInWideAngleCamera],
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:593:38: note: 'builtInDualCamera' has been explicitly marked unavailable here
 591 |     Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
 592 |  */
 593 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualCamera API_AVAILABLE(ios(10.2), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInDualCamera' has been explicitly marked unavailable here
 594 |
 595 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/AVFoundation+Extension.swift:13:80: error: 'builtInTripleCamera' is unavailable in visionOS
11 |     var chooseBestCamera: AVCaptureDevice? {
12 |         let discoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInDualCamera,
13 |                                                                               .builtInTripleCamera,
   |                                                                                `- error: 'builtInTripleCamera' is unavailable in visionOS
14 |                                                                               .builtInWideAngleCamera],
15 |                                                                 mediaType: .video,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:628:38: note: 'builtInTripleCamera' has been explicitly marked unavailable here
 626 |     Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
 627 |  */
 628 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTripleCamera API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInTripleCamera' has been explicitly marked unavailable here
 629 |
 630 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/AVFoundation+Extension.swift:14:80: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
 8 | import AVFoundation
 9 |
10 | nonisolated extension AVCaptureDevice.Position {
   |             `- note: add '@available' attribute to enclosing extension
11 |     var chooseBestCamera: AVCaptureDevice? {
   |         `- note: add '@available' attribute to enclosing property
12 |         let discoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInDualCamera,
13 |                                                                               .builtInTripleCamera,
14 |                                                                               .builtInWideAngleCamera],
   |                                                                                |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
   |                                                                                `- note: add 'if #available' version check
15 |                                                                 mediaType: .video,
16 |                                                                 position: self)
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/AVFoundation+Extension.swift:36:31: error: 'fileDataRepresentation()' is unavailable in visionOS
34 | nonisolated extension AVCapturePhoto {
35 |     var image: UIImage? {
36 |         guard let imageData = fileDataRepresentation() else { return nil }
   |                               `- error: 'fileDataRepresentation()' is unavailable in visionOS
37 |         return UIImage(data: imageData)
38 |     }
/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/Aespa/Util/Extension/SwiftUI+Extension.swift:21:16: warning: call to main actor-isolated initializer 'init(of:gravity:)' in a synchronous nonisolated context [#ActorIsolatedCall]
19 |     /// - Returns: A SwiftUI `View` that displays the video feed.
20 |     func preview(gravity: AVLayerVideoGravity = .resizeAspectFill) -> some View {
21 |         return Preview(of: self, gravity: gravity)
   |                `- warning: call to main actor-isolated initializer 'init(of:gravity:)' in a synchronous nonisolated context [#ActorIsolatedCall]
22 |     }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/Preview.swift:17:5: note: calls to initializer 'init(of:gravity:)' from outside of its actor context are implicitly asynchronous
15 |     let previewLayer: AVCaptureVideoPreviewLayer
16 |
17 |     init(
   |     |- note: calls to initializer 'init(of:gravity:)' from outside of its actor context are implicitly asynchronous
   |     `- note: main actor isolation inferred from conformance to protocol 'UIViewControllerRepresentable'
18 |         of session: AespaSession,
19 |         gravity: AVLayerVideoGravity
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/SwiftUI+Extension.swift:39:31: warning: call to main actor-isolated initializer 'init(of:gravity:)' in a synchronous nonisolated context [#ActorIsolatedCall]
37 |         option: InteractivePreviewOption = .init()
38 |     ) -> InteractivePreview {
39 |         let internalPreview = Preview(of: self, gravity: gravity)
   |                               `- warning: call to main actor-isolated initializer 'init(of:gravity:)' in a synchronous nonisolated context [#ActorIsolatedCall]
40 |         return InteractivePreview(internalPreview, option: option)
41 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/Preview.swift:17:5: note: calls to initializer 'init(of:gravity:)' from outside of its actor context are implicitly asynchronous
15 |     let previewLayer: AVCaptureVideoPreviewLayer
16 |
17 |     init(
   |     |- note: calls to initializer 'init(of:gravity:)' from outside of its actor context are implicitly asynchronous
   |     `- note: main actor isolation inferred from conformance to protocol 'UIViewControllerRepresentable'
18 |         of session: AespaSession,
19 |         gravity: AVLayerVideoGravity
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/SwiftUI+Extension.swift:40:16: warning: call to main actor-isolated initializer 'init(_:option:)' in a synchronous nonisolated context [#ActorIsolatedCall]
38 |     ) -> InteractivePreview {
39 |         let internalPreview = Preview(of: self, gravity: gravity)
40 |         return InteractivePreview(internalPreview, option: option)
   |                `- warning: call to main actor-isolated initializer 'init(_:option:)' in a synchronous nonisolated context [#ActorIsolatedCall]
41 |     }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:66:5: note: calls to initializer 'init(_:option:)' from outside of its actor context are implicitly asynchronous
 64 |     private var subjectAreaChangeMonitoringSubscription: Cancellable?
 65 |
 66 |     init(_ preview: Preview, option: InteractivePreviewOption = .init()) {
    |     |- note: calls to initializer 'init(_:option:)' from outside of its actor context are implicitly asynchronous
    |     `- note: main actor isolation inferred from conformance to protocol 'View'
 67 |         self.preview = preview
 68 |         self.option = option
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/UIKit+Extension.swift:12:29: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
10 |
11 | nonisolated extension UIDeviceOrientation {
12 |     var toVideoOrientation: AVCaptureVideoOrientation {
   |                             `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
13 |         let previewOrientation: AVCaptureVideoOrientation
14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/UIKit+Extension.swift:33:41: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
31 |
32 | nonisolated enum DeviceOrientationProvider {
33 |     static var currentVideoOrientation: AVCaptureVideoOrientation {
   |                                         `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
34 |         if Thread.isMainThread {
35 |             return MainActor.assumeIsolated {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/UIKit+Extension.swift:13:33: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
11 | nonisolated extension UIDeviceOrientation {
12 |     var toVideoOrientation: AVCaptureVideoOrientation {
13 |         let previewOrientation: AVCaptureVideoOrientation
   |                                 `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
14 |
15 |         switch self {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/UIKit+Extension.swift:36:34: error: 'orientation' is unavailable in visionOS
34 |         if Thread.isMainThread {
35 |             return MainActor.assumeIsolated {
36 |                 UIDevice.current.orientation.toVideoOrientation
   |                                  `- error: 'orientation' is unavailable in visionOS
37 |             }
38 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:44:51: note: 'orientation' has been explicitly marked unavailable here
42 | @property(nonatomic,readonly,strong) NSString    *systemName;        // e.g. @"iOS"
43 | @property(nonatomic,readonly,strong) NSString    *systemVersion;     // e.g. @"4.0"
44 | @property(nonatomic,readonly) UIDeviceOrientation orientation API_UNAVAILABLE(tvos, visionos);       // return current device orientation.  this will return UIDeviceOrientationUnknown unless device orientation notifications are being generated.
   |                                                   `- note: 'orientation' has been explicitly marked unavailable here
45 |
46 | @property(nullable, nonatomic,readonly,strong) NSUUID      *identifierForVendor API_AVAILABLE(ios(6.0));      // a UUID that may be used to uniquely identify the device, same across apps from a single vendor.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/AVFoundation+Extension.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AVFoundation+Extension.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/Subject+Extension.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Subject+Extension.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/SwiftUI+Extension.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftUI+Extension.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Extension/UIKit+Extension.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UIKit+Extension.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/File/FilePathProvider.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FilePathProvider.swift
SwiftCompile normal arm64 Compiling\ PhotoFileGenerator.swift,\ VideoFileGenerator.swift,\ Logger.swift,\ InteractivePreview.swift,\ Preview.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/File/PhotoFileGenerator.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/File/VideoFileGenerator.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Log/Logger.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/Preview.swift (in target 'Aespa' from project 'Aespa')
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/File/VideoFileGenerator.swift:27:46: error: 'copyCGImage(at:actualTime:)' is unavailable in visionOS
25 |
26 |         do {
27 |             let cgImage = try imageGenerator.copyCGImage(at: CMTimeMake(value: 0, timescale: 1),
   |                                              `- error: 'copyCGImage(at:actualTime:)' is unavailable in visionOS
28 |                                                          actualTime: nil)
29 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetImageGenerator.h:197:1: note: 'copyCGImage(at:actualTime:)' has been explicitly marked unavailable here
195 | 		On iOS and tvOS, it is particularly important to avoid blocking.  To preserve responsiveness, a synchronous request that blocks for too long (eg, a request to generate an image from an asset on a slow HTTP server) may lead to media services being reset.
196 | */
197 | - (nullable CGImageRef)copyCGImageAtTime:(CMTime)requestedTime actualTime:(nullable CMTime *)actualTime error:(NSError * _Nullable * _Nullable)outError CF_RETURNS_RETAINED API_DEPRECATED("Use generateCGImageAsynchronouslyForTime:completionHandler: instead", macos(10.7, 15.0), ios(4.0, 18.0), tvos(9.0, 18.0)) API_UNAVAILABLE(watchos, visionos);
    | `- note: 'copyCGImage(at:actualTime:)' has been explicitly marked unavailable here
198 |
199 | /* error object indicates the reason for failure if the result is AVAssetImageGeneratorFailed */
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:57:60: error: 'FocusMode' is unavailable in visionOS
 55 |
 56 |     // Focus
 57 |     @State private var preferredFocusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |                                                            `- error: 'FocusMode' is unavailable in visionOS
 58 |     @State private var focusingLocation = CGPoint.zero
 59 |
/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,
macro expansion @State:2:40: error: 'FocusMode' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:57:92: note: expanded code originates here
 55 |
 56 |     // Focus
 57 |     @State private var preferredFocusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |     `- note: in expansion of macro 'State' on property 'preferredFocusMode' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __preferredFocusMode = SwiftUICore.State._makeStorage(({
    | 2 |             let value: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |   |                                        `- error: 'FocusMode' is unavailable in visionOS
    | 3 |             return value
    | 4 |         }))
    +-------------------------------------------------------------------
 58 |     @State private var focusingLocation = CGPoint.zero
 59 |
/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,
macro expansion @State:8:43: error: 'FocusMode' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:57:92: note: expanded code originates here
 55 |
 56 |     // Focus
 57 |     @State private var preferredFocusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |     `- note: in expansion of macro 'State' on property 'preferredFocusMode' here
    +--- macro expansion @State ----------------------------------------
    | 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHM1QWVzcGExOEludGVyYWN0aXZlUHJldmlld1YxOHByZWZlcnJlZEZvY3VzTW9kZTMzX0JGRjc3MUUxQTA3Q0IwQUJERkJDMjE1OUI0REVBNUY1TEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
    | 7 | private var _preferredFocusMode: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 8 |         SwiftUICore.State<AVCaptureDevice.FocusMode>(initialValue: .continuousAutoFocus)
    |   |                                           `- error: 'FocusMode' is unavailable in visionOS
    | 9 |     })
    |10 |
    +-------------------------------------------------------------------
 58 |     @State private var focusingLocation = CGPoint.zero
 59 |
/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,
macro expansion @State:12:69: error: 'FocusMode' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:57:92: note: expanded code originates here
 55 |
 56 |     // Focus
 57 |     @State private var preferredFocusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |     `- note: in expansion of macro 'State' on property 'preferredFocusMode' here
    +--- macro expansion @State ----------------------------------------
    |10 |
    |11 | @SwiftUICore._StateProjectedValue
    |12 | private var $preferredFocusMode = SwiftUICore.State<AVCaptureDevice.FocusMode>(initialValue: .continuousAutoFocus).projectedValue
    |   |                                                                     `- error: 'FocusMode' is unavailable in visionOS
    |13 |
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQVZDYXB0dXJlRGV2aWNlLkZvY3VzTW9kZSA9IC5jb250aW51b3VzQXV0b0ZvY3VzCnJldHVybiB2YWx1ZSB9KSk=")
    +-------------------------------------------------------------------
 58 |     @State private var focusingLocation = CGPoint.zero
 59 |
/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,
macro expansion @State:16:36: error: 'FocusMode' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:57:92: note: expanded code originates here
 55 |
 56 |     // Focus
 57 |     @State private var preferredFocusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |     `- note: in expansion of macro 'State' on property 'preferredFocusMode' here
    +--- macro expansion @State ----------------------------------------
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQVZDYXB0dXJlRGV2aWNlLkZvY3VzTW9kZSA9IC5jb250aW51b3VzQXV0b0ZvY3VzCnJldHVybiB2YWx1ZSB9KSk=")
    |15 | private static var $s5Aespa18InteractivePreviewV18preferredFocusMode33_BFF771E1A07CB0ABDFBC2159B4DEA5F5LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
    |16 |             let x: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |   |                                    `- error: 'FocusMode' is unavailable in visionOS
    |17 |             return x
    |18 |         }()))
    +-------------------------------------------------------------------
 58 |     @State private var focusingLocation = CGPoint.zero
 59 |
/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,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/File/PhotoFileGenerator.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PhotoFileGenerator.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/File/VideoFileGenerator.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile VideoFileGenerator.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Log/Logger.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Logger.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile InteractivePreview.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/Preview.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Preview.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:86:16: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 84 |     }
 85 |
 86 |     var layer: AVCaptureVideoPreviewLayer {
    |                `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 87 |         preview.previewLayer
 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/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/Aespa/View/InteractivePreview.swift:90:43: error: 'FocusMode' is unavailable in visionOS
 88 |     }
 89 |
 90 |     var currentFocusMode: AVCaptureDevice.FocusMode? {
    |                                           `- error: 'FocusMode' is unavailable in visionOS
 91 |         session.currentFocusMode
 92 |     }
/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,
macro expansion @_StateInitialStoredValue:4:48: error: 'FocusMode' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/Aespa/View/InteractivePreview.swift:57:92: note: expanded code originates here
 55 |
 56 |     // Focus
 57 |     @State private var preferredFocusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |     `- note: in expansion of macro 'State' on property 'preferredFocusMode' here
    +--- macro expansion @State ----------------------------------------
    |12 | private var $preferredFocusMode = SwiftUICore.State<AVCaptureDevice.FocusMode>(initialValue: .continuousAutoFocus).projectedValue
    |13 |
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQVZDYXB0dXJlRGV2aWNlLkZvY3VzTW9kZSA9IC5jb250aW51b3VzQXV0b0ZvY3VzCnJldHVybiB2YWx1ZSB9KSk=")
    |   | `- note: in expansion of macro '_StateInitialStoredValue' on static property '$s5Aespa18InteractivePreviewV18preferredFocusMode33_BFF771E1A07CB0ABDFBC2159B4DEA5F5LL5StatefMp_20_initialStoredValue_fMu_' here
    |15 | private static var $s5Aespa18InteractivePreviewV18preferredFocusMode33_BFF771E1A07CB0ABDFBC2159B4DEA5F5LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
    |16 |             let x: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |17 |             return x
    |18 |         }()))
    |   +--- macro expansion @_StateInitialStoredValue -----------------
    |   |2 |     get {
    |   |3 |         SwiftUICore.State._makeStorage(({
    |   |4 |                     let value: AVCaptureDevice.FocusMode = .continuousAutoFocus
    |   |  |                                                `- error: 'FocusMode' is unavailable in visionOS
    |   |5 |                     return value
    |   |6 |                 }))
    |   +---------------------------------------------------------------
    +-------------------------------------------------------------------
 58 |     @State private var focusingLocation = CGPoint.zero
 59 |
/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/Aespa/View/InteractivePreview.swift:115:14: warning: 'onChange(of:perform:)' was deprecated in visionOS 1.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
113 |                     .animation(.spring(), value: focusFrameOpacity)
114 |             }
115 |             .onChange(of: geometry.size) { newSize in
    |              `- warning: 'onChange(of:perform:)' was deprecated in visionOS 1.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
116 |                 DispatchQueue.main.async {
117 |                     layer.frame = CGRect(origin: .zero, size: newSize)
SwiftCompile normal arm64 Compiling\ AespaCoreRecorder.swift,\ AespaCoreSession.swift,\ AespaEventManager.swift,\ AespaPhotoContext.swift,\ AespaVideoContext.swift,\ Context.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreSession.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaEventManager.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaPhotoContext.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaVideoContext.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift (in target 'Aespa' from project 'Aespa')
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreRecorder.swift:95:19: error: 'AVCaptureFileOutput' is unavailable in visionOS
 93 | nonisolated extension AespaCoreRecorder: AVCaptureFileOutputRecordingDelegate {
 94 |     func fileOutput(
 95 |         _ output: AVCaptureFileOutput,
    |                   `- error: 'AVCaptureFileOutput' is unavailable in visionOS
 96 |         didStartRecordingTo fileURL: URL,
 97 |         from connections: [AVCaptureConnection]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:36:12: note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
 34 |  */
 35 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 36 | @interface AVCaptureFileOutput : AVCaptureOutput
    |            `- note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
 37 | {
 38 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreRecorder.swift:103:19: error: 'AVCaptureFileOutput' is unavailable in visionOS
101 |
102 |     func fileOutput(
103 |         _ output: AVCaptureFileOutput,
    |                   `- error: 'AVCaptureFileOutput' is unavailable in visionOS
104 |         didFinishRecordingTo outputFileURL: URL,
105 |         from connections: [AVCaptureConnection],
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:36:12: note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
 34 |  */
 35 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 36 | @interface AVCaptureFileOutput : AVCaptureOutput
    |            `- note: 'AVCaptureFileOutput' has been explicitly marked unavailable here
 37 | {
 38 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreRecorder.swift:93:42: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
 91 | }
 92 |
 93 | nonisolated extension AespaCoreRecorder: AVCaptureFileOutputRecordingDelegate {
    |                                          `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
 94 |     func fileOutput(
 95 |         _ output: AVCaptureFileOutput,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:206:11: note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
204 |  */
205 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
206 | @protocol AVCaptureFileOutputRecordingDelegate <NSObject>
    |           `- note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
207 |
208 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaPhotoContext.swift:22:31: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 20 |     private let settingLock = NSRecursiveLock()
 21 |
 22 |     private var photoSetting: AVCapturePhotoSettings
    |                               `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 23 |     private let photoFileBufferSubject: CurrentValueSubject<Result<PhotoFile, Error>?, Never>
 24 |
/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/Aespa/Core/Context/AespaPhotoContext.swift:77:32: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 75 |     }
 76 |
 77 |     public var currentSetting: AVCapturePhotoSettings {
    |                                `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 78 |         withSettingLock {
 79 |             AVCapturePhotoSettings(from: photoSetting)
/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/Aespa/Core/Context/AespaPhotoContext.swift:169:52: error: 'FlashMode' is unavailable in visionOS
167 |     @available(*, deprecated, message: "Please use `photo` instead.")
168 |     @discardableResult
169 |     public func flashMode(to mode: AVCaptureDevice.FlashMode) -> AespaPhotoContext {
    |                                                    `- error: 'FlashMode' is unavailable in visionOS
170 |         withSettingLock {
171 |             photoSetting.flashMode = mode
/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/Aespa/Core/Context/AespaPhotoContext.swift:186:35: error: 'AVCapturePhotoSettings' is unavailable in visionOS
184 |
185 |     @available(*, deprecated, message: "Please use `photo` instead.")
186 |     public func custom(_ setting: AVCapturePhotoSettings) -> AespaPhotoContext {
    |                                   `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
187 |         withSettingLock {
188 |             photoSetting = AVCapturePhotoSettings(from: setting)
/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/Aespa/Core/Context/AespaPhotoContext.swift:36:29: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 34 |         self.option = option
 35 |
 36 |         self.photoSetting = AVCapturePhotoSettings()
    |                             `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 37 |         self.photoFileBufferSubject = .init(nil)
 38 |
/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/Aespa/Core/Context/AespaPhotoContext.swift:79:13: error: 'AVCapturePhotoSettings' is unavailable in visionOS
 77 |     public var currentSetting: AVCapturePhotoSettings {
 78 |         withSettingLock {
 79 |             AVCapturePhotoSettings(from: photoSetting)
    |             `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
 80 |         }
 81 |     }
/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/Aespa/Core/Context/AespaPhotoContext.swift:112:30: error: 'isAutoRedEyeReductionEnabled' is unavailable in visionOS
110 |         case .redEyeReduction(let enabled):
111 |             withSettingLock {
112 |                 photoSetting.isAutoRedEyeReductionEnabled = enabled
    |                              `- error: 'isAutoRedEyeReductionEnabled' is unavailable in visionOS
113 |             }
114 |         case .custom(let aVCapturePhotoSettings):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1372:64: note: 'isAutoRedEyeReductionEnabled' has been explicitly marked unavailable here
1370 |     Default is YES on platforms that support automatic red-eye reduction unless you are capturing a bracket using AVCapturePhotoBracketSettings or a RAW photo without a processed photo.  For RAW photos with a processed photo the red-eye reduction will be applied to the processed photo only (RAW photos by definition are not processed). When set to YES, red-eye reduction is applied as needed for flash captures if the photo output's autoRedEyeReductionSupported property returns YES.
1371 |  */
1372 | @property(nonatomic, getter=isAutoRedEyeReductionEnabled) BOOL autoRedEyeReductionEnabled API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                                                `- note: 'isAutoRedEyeReductionEnabled' has been explicitly marked unavailable here
1373 |
1374 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaPhotoContext.swift:116:32: error: 'AVCapturePhotoSettings' is unavailable in visionOS
114 |         case .custom(let aVCapturePhotoSettings):
115 |             withSettingLock {
116 |                 photoSetting = AVCapturePhotoSettings(from: aVCapturePhotoSettings)
    |                                `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
117 |             }
118 |         }
/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/Aespa/Core/Context/AespaPhotoContext.swift:143:13: error: 'AVCapturePhotoSettings' is unavailable in visionOS
141 |     func capturePhotoWithError(autoVideoOrientationEnabled: Bool) async throws -> PhotoFile {
142 |         let setting = withSettingLock {
143 |             AVCapturePhotoSettings(from: photoSetting)
    |             `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
144 |         }
145 |         let capturePhoto = try await camera.capture(setting: setting, autoVideoOrientationEnabled: autoVideoOrientationEnabled)
/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/Aespa/Core/Context/AespaPhotoContext.swift:147:47: error: 'fileDataRepresentation()' is unavailable in visionOS
145 |         let capturePhoto = try await camera.capture(setting: setting, autoVideoOrientationEnabled: autoVideoOrientationEnabled)
146 |
147 |         guard let rawPhotoData = capturePhoto.fileDataRepresentation() else {
    |                                               `- error: 'fileDataRepresentation()' is unavailable in visionOS
148 |             throw AespaError.file(reason: .unableToFlatten)
149 |         }
/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/Aespa/Core/Context/AespaPhotoContext.swift:180:26: error: 'isAutoRedEyeReductionEnabled' is unavailable in visionOS
178 |     public func redEyeReduction(enabled: Bool) -> AespaPhotoContext {
179 |         withSettingLock {
180 |             photoSetting.isAutoRedEyeReductionEnabled = enabled
    |                          `- error: 'isAutoRedEyeReductionEnabled' is unavailable in visionOS
181 |         }
182 |         return self
/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:1372:64: note: 'isAutoRedEyeReductionEnabled' has been explicitly marked unavailable here
1370 |     Default is YES on platforms that support automatic red-eye reduction unless you are capturing a bracket using AVCapturePhotoBracketSettings or a RAW photo without a processed photo.  For RAW photos with a processed photo the red-eye reduction will be applied to the processed photo only (RAW photos by definition are not processed). When set to YES, red-eye reduction is applied as needed for flash captures if the photo output's autoRedEyeReductionSupported property returns YES.
1371 |  */
1372 | @property(nonatomic, getter=isAutoRedEyeReductionEnabled) BOOL autoRedEyeReductionEnabled API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                                                `- note: 'isAutoRedEyeReductionEnabled' has been explicitly marked unavailable here
1373 |
1374 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaPhotoContext.swift:188:28: error: 'AVCapturePhotoSettings' is unavailable in visionOS
186 |     public func custom(_ setting: AVCapturePhotoSettings) -> AespaPhotoContext {
187 |         withSettingLock {
188 |             photoSetting = AVCapturePhotoSettings(from: setting)
    |                            `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
189 |         }
190 |         return self
/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/Aespa/Core/Context/AespaVideoContext.swift:197:15: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
195 |     @discardableResult
196 |     public func stabilization(
197 |         mode: AVCaptureVideoStabilizationMode,
    |               `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
198 |         _ onComplete: @escaping CompletionHandler = { _ in }
199 |     ) -> AespaVideoContext {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaVideoContext.swift:209:31: error: 'TorchMode' is unavailable in visionOS
207 |     @discardableResult
208 |     public func torch(
209 |         mode: AVCaptureDevice.TorchMode,
    |                               `- error: 'TorchMode' is unavailable in visionOS
210 |         level: Float,
211 |         _ onComplete: @escaping CompletionHandler = { _ 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:1049:28: note: 'TorchMode' has been explicitly marked unavailable here
1047 |     Indicates that the torch should be used automatically depending on ambient light conditions.
1048 |  */
1049 | typedef NS_ENUM(NSInteger, AVCaptureTorchMode) {
     |                            `- note: 'TorchMode' has been explicitly marked unavailable here
1050 |     AVCaptureTorchModeOff  = 0,
1051 |     AVCaptureTorchModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:54:37: error: 'Preset' is unavailable in visionOS
 52 |     /// - Returns: `AespaVideoContext`, for chaining calls.
 53 |     @discardableResult func quality(
 54 |         to preset: AVCaptureSession.Preset,
    |                                     `- error: 'Preset' is unavailable in visionOS
 55 |         _ onComplete: @escaping CompletionHandler
 56 |     ) -> CommonContextType
/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/Aespa/Core/Context/Context.swift:83:25: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
 81 |     ///     not the orientation of the `AVCaptureVideoPreviewLayer`.
 82 |     @discardableResult func orientation(
 83 |         to orientation: AVCaptureVideoOrientation,
    |                         `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
 84 |         _ onComplete: @escaping CompletionHandler
 85 |     ) -> CommonContextType
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:96:31: error: 'FocusMode' is unavailable in visionOS
 94 |     /// - Returns: `AespaVideoContext`, for chaining calls.
 95 |     @discardableResult func focus(
 96 |         mode: AVCaptureDevice.FocusMode,
    |                               `- error: 'FocusMode' is unavailable in visionOS
 97 |         point: CGPoint?,
 98 |         _ onComplete: @escaping CompletionHandler
/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/Aespa/Core/Context/Context.swift:230:15: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
228 |     @discardableResult
229 |     func stabilization(
230 |         mode: AVCaptureVideoStabilizationMode,
    |               `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
231 |         _ onComplete: @escaping CompletionHandler
232 |     ) -> VideoContextType
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:246:31: error: 'TorchMode' is unavailable in visionOS
244 |     @discardableResult
245 |     func torch(
246 |         mode: AVCaptureDevice.TorchMode,
    |                               `- error: 'TorchMode' is unavailable in visionOS
247 |         level: Float,
248 |         _ onComplete: @escaping CompletionHandler
/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:1049:28: note: 'TorchMode' has been explicitly marked unavailable here
1047 |     Indicates that the torch should be used automatically depending on ambient light conditions.
1048 |  */
1049 | typedef NS_ENUM(NSInteger, AVCaptureTorchMode) {
     |                            `- note: 'TorchMode' has been explicitly marked unavailable here
1050 |     AVCaptureTorchModeOff  = 0,
1051 |     AVCaptureTorchModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:278:25: error: 'AVCapturePhotoSettings' is unavailable in visionOS
276 |
277 |     /// A variable holding current `AVCapturePhotoSettings`
278 |     var currentSetting: AVCapturePhotoSettings { get }
    |                         `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
279 |
280 |     /// Asynchronously captures a photo using the specified `AVCapturePhotoSettings`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/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/Aespa/Core/Context/Context.swift:324:64: error: 'FlashMode' is unavailable in visionOS
322 |     /// - Parameter mode: The `AVCaptureDevice.FlashMode` to set for the camera.
323 |     /// - Returns: The updated `AespaPhotoContext` instance.
324 |     @discardableResult func flashMode(to mode: AVCaptureDevice.FlashMode) -> PhotoContextType
    |                                                                `- error: 'FlashMode' is unavailable in visionOS
325 |
326 |     /// Sets the red eye reduction mode for the camera and returns the updated `AespaPhotoContext` instance.
/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/Aespa/Core/Context/Context.swift:340:28: error: 'AVCapturePhotoSettings' is unavailable in visionOS
338 |     ///
339 |     /// - Parameter setting: The `AVCapturePhotoSettings` to use for photo capturing.
340 |     func custom(_ setting: AVCapturePhotoSettings) -> PhotoContextType
    |                            `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
341 |
342 |     // MARK: - Utilities
/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/Aespa/Core/Context/Context.swift:366:43: error: 'Preset' is unavailable in visionOS
364 |     /// - Parameters:
365 |     ///   - preset: An `AVCaptureSession.Preset` value indicating the quality preset to be set.
366 |     case quality(preset: AVCaptureSession.Preset)
    |                                           `- error: 'Preset' is unavailable in visionOS
367 |
368 |     /// Sets the camera position for the video recording session.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/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/Aespa/Core/Context/Context.swift:383:35: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
381 |     /// - Note: It sets the orientation of the video you are recording,
382 |     ///     not the orientation of the `AVCaptureVideoPreviewLayer`.
383 |     case orientation(orientation: AVCaptureVideoOrientation)
    |                                   `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
384 |
385 |     /// Sets the autofocusing mode for the video recording session.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:390:38: error: 'FocusMode' is unavailable in visionOS
388 |     ///   - mode: The focus mode(`AVCaptureDevice.FocusMode`) for the session.
389 |     ///   - point: The point in the camera's field of view that the auto focus should prioritize.
390 |     case focus(mode: AVCaptureDevice.FocusMode, point: CGPoint? = nil)
    |                                      `- error: 'FocusMode' is unavailable in visionOS
391 |
392 |     /// Sets the zoom factor for the video recording session.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h: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/Aespa/Core/Context/Context.swift:429:30: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
427 |     /// - Parameters:
428 |     ///   - mode: An `AVCaptureVideoStabilizationMode` value indicating the stabilization mode to be set.
429 |     case stabilization(mode: AVCaptureVideoStabilizationMode)
    |                              `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
430 |
431 |     /// Sets the torch mode and level for the video recording session.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:439:38: error: 'TorchMode' is unavailable in visionOS
437 |     /// - Note: This function might throw an error if the torch mode is not supported,
438 |     ///   or the specified level is not within the acceptable range.
439 |     case torch(mode: AVCaptureDevice.TorchMode, level: Float)
    |                                      `- error: 'TorchMode' is unavailable in visionOS
440 |
441 |     /// This function provides a way to use a custom tuner to modify the current session.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1049:28: note: 'TorchMode' has been explicitly marked unavailable here
1047 |     Indicates that the torch should be used automatically depending on ambient light conditions.
1048 |  */
1049 | typedef NS_ENUM(NSInteger, AVCaptureTorchMode) {
     |                            `- note: 'TorchMode' has been explicitly marked unavailable here
1050 |     AVCaptureTorchModeOff  = 0,
1051 |     AVCaptureTorchModeOn   = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift:460:42: error: 'FlashMode' is unavailable in visionOS
458 |     ///
459 |     /// - Parameter mode: The `AVCaptureDevice.FlashMode` to set for the camera.
460 |     case flashMode(mode: AVCaptureDevice.FlashMode)
    |                                          `- error: 'FlashMode' is unavailable in visionOS
461 |
462 |     /// Sets the red eye reduction mode for the camera and returns the updated `AespaPhotoContext` instance.
/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,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreRecorder.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AespaCoreRecorder.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaCoreSession.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AespaCoreSession.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/AespaEventManager.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AespaEventManager.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaPhotoContext.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AespaPhotoContext.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/AespaVideoContext.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AespaVideoContext.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Core/Context/Context.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Context.swift
SwiftCompile normal arm64 Compiling\ CameraPositionTuner.swift,\ QualityTuner.swift,\ SessionTerminationTuner.swift,\ AlbumImporter.swift,\ AuthorizationChecker.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/CameraPositionTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/QualityTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/SessionTerminationTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Album/AlbumImporter.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Authorization/AuthorizationChecker.swift (in target 'Aespa' from project 'Aespa')
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/CameraPositionTuner.swift:13:43: error: 'DeviceType' is only available in visionOS 2.1 or newer
 8 | import AVFoundation
 9 |
10 | struct CameraPositionTuner: AespaSessionTuning {
   |        `- note: add '@available' attribute to enclosing struct
11 |     let needTransaction = true
12 |     var position: AVCaptureDevice.Position
13 |     var devicePreference: AVCaptureDevice.DeviceType?
   |                                           `- error: 'DeviceType' is only available in visionOS 2.1 or newer
14 |
15 |     init(position: AVCaptureDevice.Position, devicePreference: AVCaptureDevice.DeviceType? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/CameraPositionTuner.swift:15:80: error: 'DeviceType' is only available in visionOS 2.1 or newer
 8 | import AVFoundation
 9 |
10 | struct CameraPositionTuner: AespaSessionTuning {
   |        `- note: add '@available' attribute to enclosing struct
11 |     let needTransaction = true
12 |     var position: AVCaptureDevice.Position
13 |     var devicePreference: AVCaptureDevice.DeviceType?
14 |
15 |     init(position: AVCaptureDevice.Position, devicePreference: AVCaptureDevice.DeviceType? = nil) {
   |     |                                                                          `- error: 'DeviceType' is only available in visionOS 2.1 or newer
   |     `- note: add '@available' attribute to enclosing initializer
16 |         self.position = position
17 |         self.devicePreference = devicePreference
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/CameraPositionTuner.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CameraPositionTuner.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/QualityTuner.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile QualityTuner.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Session/SessionTerminationTuner.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SessionTerminationTuner.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Album/AlbumImporter.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AlbumImporter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Util/Authorization/AuthorizationChecker.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AuthorizationChecker.swift
SwiftCompile normal arm64 Compiling\ FileWritingProcessor.swift,\ FinishRecordProcessor.swift,\ StartRecordProcessor.swift,\ AespaTuning.swift,\ VideoOrientationTuner.swift,\ VideoStabilizationTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/File/FileWritingProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Record/FinishRecordProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Record/StartRecordProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/AespaTuning.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Connection/VideoOrientationTuner.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Connection/VideoStabilizationTuner.swift (in target 'Aespa' from project 'Aespa')
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Record/StartRecordProcessor.swift:13:19: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
11 | nonisolated struct StartRecordProcessor: AespaMovieFileOutputProcessing, @unchecked Sendable {
12 |     let filePath: URL
13 |     let delegate: AVCaptureFileOutputRecordingDelegate
   |                   `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
14 |     let autoVideoOrientationEnabled: Bool
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:206:11: note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
204 |  */
205 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
206 | @protocol AVCaptureFileOutputRecordingDelegate <NSObject>
    |           `- note: 'AVCaptureFileOutputRecordingDelegate' has been explicitly marked unavailable here
207 |
208 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Connection/VideoOrientationTuner.swift:11:22: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
 9 |
10 | struct VideoOrientationTuner: AespaConnectionTuning {
11 |     var orientation: AVCaptureVideoOrientation
   |                      `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
12 |
13 |     func tune<T: AespaCaptureConnectionRepresentable>(_ connection: T) throws {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/File/FileWritingProcessor.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FileWritingProcessor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Record/FinishRecordProcessor.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FinishRecordProcessor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Record/StartRecordProcessor.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile StartRecordProcessor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/AespaTuning.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AespaTuning.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Connection/VideoOrientationTuner.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile VideoOrientationTuner.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Tuner/Connection/VideoStabilizationTuner.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile VideoStabilizationTuner.swift
SwiftCompile normal arm64 Compiling\ AespaLoading.swift,\ AssetLoader.swift,\ AespaProcessing.swift,\ PhotoAssetAdditionProcessor.swift,\ VideoAssetAdditionProcessor.swift,\ CapturePhotoProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Loader/AespaLoading.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Loader/Asset/AssetLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/AespaProcessing.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Asset/PhotoAssetAdditionProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Asset/VideoAssetAdditionProcessor.swift /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Capture/CapturePhotoProcessor.swift (in target 'Aespa' from project 'Aespa')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Loader/AespaLoading.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AespaLoading.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Loader/Asset/AssetLoader.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AssetLoader.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/AespaProcessing.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AespaProcessing.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Asset/PhotoAssetAdditionProcessor.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PhotoAssetAdditionProcessor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Asset/VideoAssetAdditionProcessor.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile VideoAssetAdditionProcessor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Aespa/Processor/Capture/CapturePhotoProcessor.swift (in target 'Aespa' from project 'Aespa')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CapturePhotoProcessor.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-20 15:23:35.131 xcodebuild[786:4762] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-20 15:23:35.232 xcodebuild[786:4762] [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\ Aespa (in target 'Aespa' from project 'Aespa')
	SwiftCompile normal arm64 (in target 'Aespa' from project 'Aespa')
	Building workspace Aespa with scheme Aespa
(3 failures)
BUILD FAILURE 6.4 visionOS