Build Information
Failed to build CameraKage, reference 1.2.3 (9bfb32), with Swift 6.4 for visionOS using Xcode 27.0 on 19 Sep 2026 08:56:49 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 CameraKage -destination generic/platform=xrOSBuild Log
| |- error: 'DeviceType' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
51 | ],
52 | mediaType: .video,
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/CameraDevice+AVFoundation.swift:50:40: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | extension CameraDevice {
| `- note: add '@available' attribute to enclosing extension
11 | var avDevicePosition: AVCaptureDevice.Position { self == .frontCamera ? .front : .back }
12 |
:
23 | }
24 |
25 | static var availableDevices: [CameraDevice] {
| `- note: add '@available' attribute to enclosing static property
26 | var devices: [CameraDevice] = []
27 | let avBackDevices = AVCaptureDevice.DiscoverySession(deviceTypes: [
:
48 |
49 | let avFrontDevices = AVCaptureDevice.DiscoverySession(deviceTypes: [
50 | AVCaptureDevice.DeviceType.builtInWideAngleCamera
| |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
51 | ],
52 | mediaType: .video,
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/CameraDevice+AVFoundation.swift:56:19: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | extension CameraDevice {
| `- note: add '@available' attribute to enclosing extension
11 | var avDevicePosition: AVCaptureDevice.Position { self == .frontCamera ? .front : .back }
12 |
:
23 | }
24 |
25 | static var availableDevices: [CameraDevice] {
| `- note: add '@available' attribute to enclosing static property
26 | var devices: [CameraDevice] = []
27 | let avBackDevices = AVCaptureDevice.DiscoverySession(deviceTypes: [
:
54 | avFrontDevices.devices.forEach { device in
55 | switch device.deviceType {
56 | case .builtInWideAngleCamera: devices.append(.frontCamera)
| |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
57 | default: break // Not using other device types
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/CameraDevice+AVFoundation.swift:55:27: error: 'deviceType' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | extension CameraDevice {
| `- note: add '@available' attribute to enclosing extension
11 | var avDevicePosition: AVCaptureDevice.Position { self == .frontCamera ? .front : .back }
12 |
:
23 | }
24 |
25 | static var availableDevices: [CameraDevice] {
| `- note: add '@available' attribute to enclosing static property
26 | var devices: [CameraDevice] = []
27 | let avBackDevices = AVCaptureDevice.DiscoverySession(deviceTypes: [
:
53 | position: .front)
54 | avFrontDevices.devices.forEach { device in
55 | switch device.deviceType {
| |- error: 'deviceType' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
56 | case .builtInWideAngleCamera: devices.append(.frontCamera)
57 | default: break // Not using other device types
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/CameraDevice+AVFoundation.swift:56:19: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | extension CameraDevice {
| `- note: add '@available' attribute to enclosing extension
11 | var avDevicePosition: AVCaptureDevice.Position { self == .frontCamera ? .front : .back }
12 |
:
23 | }
24 |
25 | static var availableDevices: [CameraDevice] {
| `- note: add '@available' attribute to enclosing static property
26 | var devices: [CameraDevice] = []
27 | let avBackDevices = AVCaptureDevice.DiscoverySession(deviceTypes: [
:
54 | avFrontDevices.devices.forEach { device in
55 | switch device.deviceType {
56 | case .builtInWideAngleCamera: devices.append(.frontCamera)
| |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
57 | default: break // Not using other device types
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/ExposureMode+AVFoundation.swift:11:43: error: 'ExposureMode' is unavailable in visionOS
9 |
10 | extension ExposureMode {
11 | var avExposureOption: AVCaptureDevice.ExposureMode {
| `- error: 'ExposureMode' is unavailable in visionOS
12 | switch self {
13 | case .locked: return .locked
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/FlashMode+AVFoundation.swift:11:40: error: 'FlashMode' is unavailable in visionOS
9 |
10 | extension FlashMode {
11 | var avFlashOption: AVCaptureDevice.FlashMode {
| `- error: 'FlashMode' is unavailable in visionOS
12 | switch self {
13 | case .on: return .on
/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/CameraKage/Extensions/AVFoundation/FlashMode+AVFoundation.swift:19:44: error: 'TorchMode' is unavailable in visionOS
17 | }
18 |
19 | var avTorchModeOption: AVCaptureDevice.TorchMode {
| `- error: 'TorchMode' is unavailable in visionOS
20 | switch self {
21 | case .on: return .on
/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/CameraKage/Extensions/AVFoundation/FocusMode+AVFoundation.swift:11:40: error: 'FocusMode' is unavailable in visionOS
9 |
10 | extension FocusMode {
11 | var avFocusOption: AVCaptureDevice.FocusMode {
| `- error: 'FocusMode' is unavailable in visionOS
12 | switch self {
13 | case .locked: return .locked
/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/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:11:19: error: 'AVMetadataObject' is unavailable in visionOS
9 |
10 | extension MetadataType {
11 | init?(avType: AVMetadataObject.ObjectType) {
| `- error: 'AVMetadataObject' is unavailable in visionOS
12 | switch avType {
13 | case .upce: self = .upce
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:30:25: error: 'AVMetadataObject' is unavailable in visionOS
28 | }
29 |
30 | var avMetadataType: AVMetadataObject.ObjectType {
| `- error: 'AVMetadataObject' is unavailable in visionOS
31 | switch self {
32 | case .upce: return .upce
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:13:15: error: 'upce' is unavailable in visionOS
11 | init?(avType: AVMetadataObject.ObjectType) {
12 | switch avType {
13 | case .upce: self = .upce
| `- error: 'upce' is unavailable in visionOS
14 | case .code39: self = .code39
15 | case .code39Mod43: self = .code39Mod43
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:451:39: note: 'upce' has been explicitly marked unavailable here
449 | AVMetadataMachineReadableCodeObject objects generated from UPC-E codes return this constant as their type.
450 | */
451 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeUPCECode API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'upce' has been explicitly marked unavailable here
452 |
453 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:14:15: error: 'code39' is unavailable in visionOS
12 | switch avType {
13 | case .upce: self = .upce
14 | case .code39: self = .code39
| `- error: 'code39' is unavailable in visionOS
15 | case .code39Mod43: self = .code39Mod43
16 | case .ean13: self = .ean13
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:461:39: note: 'code39' has been explicitly marked unavailable here
459 | AVMetadataMachineReadableCodeObject objects generated from Code 39 codes return this constant as their type.
460 | */
461 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeCode39Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'code39' has been explicitly marked unavailable here
462 |
463 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:15:15: error: 'code39Mod43' is unavailable in visionOS
13 | case .upce: self = .upce
14 | case .code39: self = .code39
15 | case .code39Mod43: self = .code39Mod43
| `- error: 'code39Mod43' is unavailable in visionOS
16 | case .ean13: self = .ean13
17 | case .ean8: self = .ean8
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:471:39: note: 'code39Mod43' has been explicitly marked unavailable here
469 | AVMetadataMachineReadableCodeObject objects generated from Code 39 mod 43 codes return this constant as their type.
470 | */
471 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeCode39Mod43Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'code39Mod43' has been explicitly marked unavailable here
472 |
473 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:16:15: error: 'ean13' is unavailable in visionOS
14 | case .code39: self = .code39
15 | case .code39Mod43: self = .code39Mod43
16 | case .ean13: self = .ean13
| `- error: 'ean13' is unavailable in visionOS
17 | case .ean8: self = .ean8
18 | case .code93: self = .code93
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:481:39: note: 'ean13' has been explicitly marked unavailable here
479 | AVMetadataMachineReadableCodeObject objects generated from EAN-13 (including UPC-A) codes return this constant as their type.
480 | */
481 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeEAN13Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'ean13' has been explicitly marked unavailable here
482 |
483 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:17:15: error: 'ean8' is unavailable in visionOS
15 | case .code39Mod43: self = .code39Mod43
16 | case .ean13: self = .ean13
17 | case .ean8: self = .ean8
| `- error: 'ean8' is unavailable in visionOS
18 | case .code93: self = .code93
19 | case .code128: self = .code128
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:491:39: note: 'ean8' has been explicitly marked unavailable here
489 | AVMetadataMachineReadableCodeObject objects generated from EAN-8 codes return this constant as their type.
490 | */
491 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeEAN8Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'ean8' has been explicitly marked unavailable here
492 |
493 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:18:15: error: 'code93' is unavailable in visionOS
16 | case .ean13: self = .ean13
17 | case .ean8: self = .ean8
18 | case .code93: self = .code93
| `- error: 'code93' is unavailable in visionOS
19 | case .code128: self = .code128
20 | case .pdf417: self = .pdf417
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:501:39: note: 'code93' has been explicitly marked unavailable here
499 | AVMetadataMachineReadableCodeObject objects generated from Code 93 codes return this constant as their type.
500 | */
501 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeCode93Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'code93' has been explicitly marked unavailable here
502 |
503 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:19:15: error: 'code128' is unavailable in visionOS
17 | case .ean8: self = .ean8
18 | case .code93: self = .code93
19 | case .code128: self = .code128
| `- error: 'code128' is unavailable in visionOS
20 | case .pdf417: self = .pdf417
21 | case .qr: self = .qr
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:511:39: note: 'code128' has been explicitly marked unavailable here
509 | AVMetadataMachineReadableCodeObject objects generated from Code 128 codes return this constant as their type.
510 | */
511 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeCode128Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'code128' has been explicitly marked unavailable here
512 |
513 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:20:15: error: 'pdf417' is unavailable in visionOS
18 | case .code93: self = .code93
19 | case .code128: self = .code128
20 | case .pdf417: self = .pdf417
| `- error: 'pdf417' is unavailable in visionOS
21 | case .qr: self = .qr
22 | case .aztec: self = .aztec
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:521:39: note: 'pdf417' has been explicitly marked unavailable here
519 | AVMetadataMachineReadableCodeObject objects generated from PDF417 codes return this constant as their type.
520 | */
521 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypePDF417Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'pdf417' has been explicitly marked unavailable here
522 |
523 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:21:15: error: 'qr' is unavailable in visionOS
19 | case .code128: self = .code128
20 | case .pdf417: self = .pdf417
21 | case .qr: self = .qr
| `- error: 'qr' is unavailable in visionOS
22 | case .aztec: self = .aztec
23 | case .interleaved2of5: self = .interleaved2of5
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:531:39: note: 'qr' has been explicitly marked unavailable here
529 | AVMetadataMachineReadableCodeObject objects generated from QR codes return this constant as their type.
530 | */
531 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeQRCode API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'qr' has been explicitly marked unavailable here
532 |
533 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:22:15: error: 'aztec' is unavailable in visionOS
20 | case .pdf417: self = .pdf417
21 | case .qr: self = .qr
22 | case .aztec: self = .aztec
| `- error: 'aztec' is unavailable in visionOS
23 | case .interleaved2of5: self = .interleaved2of5
24 | case .itf14: self = .itf14
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:541:39: note: 'aztec' has been explicitly marked unavailable here
539 | AVMetadataMachineReadableCodeObject objects generated from Aztec codes return this constant as their type.
540 | */
541 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeAztecCode API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'aztec' has been explicitly marked unavailable here
542 |
543 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:23:15: error: 'interleaved2of5' is unavailable in visionOS
21 | case .qr: self = .qr
22 | case .aztec: self = .aztec
23 | case .interleaved2of5: self = .interleaved2of5
| `- error: 'interleaved2of5' is unavailable in visionOS
24 | case .itf14: self = .itf14
25 | case .dataMatrix: self = .dataMatrix
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:551:39: note: 'interleaved2of5' has been explicitly marked unavailable here
549 | AVMetadataMachineReadableCodeObject objects generated from Interleaved 2 of 5 codes return this constant as their type.
550 | */
551 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeInterleaved2of5Code API_AVAILABLE(macos(10.15), ios(8.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'interleaved2of5' has been explicitly marked unavailable here
552 |
553 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:24:15: error: 'itf14' is unavailable in visionOS
22 | case .aztec: self = .aztec
23 | case .interleaved2of5: self = .interleaved2of5
24 | case .itf14: self = .itf14
| `- error: 'itf14' is unavailable in visionOS
25 | case .dataMatrix: self = .dataMatrix
26 | default: 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/AVMetadataObject.h:561:39: note: 'itf14' has been explicitly marked unavailable here
559 | AVMetadataMachineReadableCodeObject objects generated from ITF14 codes return this constant as their type.
560 | */
561 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeITF14Code API_AVAILABLE(macos(10.15), ios(8.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'itf14' has been explicitly marked unavailable here
562 |
563 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:25:15: error: 'dataMatrix' is unavailable in visionOS
23 | case .interleaved2of5: self = .interleaved2of5
24 | case .itf14: self = .itf14
25 | case .dataMatrix: self = .dataMatrix
| `- error: 'dataMatrix' is unavailable in visionOS
26 | default: return nil
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/AVMetadataObject.h:571:39: note: 'dataMatrix' has been explicitly marked unavailable here
569 | AVMetadataMachineReadableCodeObject objects generated from DataMatrix codes return this constant as their type.
570 | */
571 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeDataMatrixCode API_AVAILABLE(macos(10.15), ios(8.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'dataMatrix' has been explicitly marked unavailable here
572 |
573 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:32:29: error: 'upce' is unavailable in visionOS
30 | var avMetadataType: AVMetadataObject.ObjectType {
31 | switch self {
32 | case .upce: return .upce
| `- error: 'upce' is unavailable in visionOS
33 | case .code39: return .code39
34 | case .code39Mod43: return .code39Mod43
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:451:39: note: 'upce' has been explicitly marked unavailable here
449 | AVMetadataMachineReadableCodeObject objects generated from UPC-E codes return this constant as their type.
450 | */
451 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeUPCECode API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'upce' has been explicitly marked unavailable here
452 |
453 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:33:31: error: 'code39' is unavailable in visionOS
31 | switch self {
32 | case .upce: return .upce
33 | case .code39: return .code39
| `- error: 'code39' is unavailable in visionOS
34 | case .code39Mod43: return .code39Mod43
35 | case .ean13: return .ean13
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:461:39: note: 'code39' has been explicitly marked unavailable here
459 | AVMetadataMachineReadableCodeObject objects generated from Code 39 codes return this constant as their type.
460 | */
461 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeCode39Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'code39' has been explicitly marked unavailable here
462 |
463 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:34:36: error: 'code39Mod43' is unavailable in visionOS
32 | case .upce: return .upce
33 | case .code39: return .code39
34 | case .code39Mod43: return .code39Mod43
| `- error: 'code39Mod43' is unavailable in visionOS
35 | case .ean13: return .ean13
36 | case .ean8: return .ean8
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:471:39: note: 'code39Mod43' has been explicitly marked unavailable here
469 | AVMetadataMachineReadableCodeObject objects generated from Code 39 mod 43 codes return this constant as their type.
470 | */
471 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeCode39Mod43Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'code39Mod43' has been explicitly marked unavailable here
472 |
473 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:35:30: error: 'ean13' is unavailable in visionOS
33 | case .code39: return .code39
34 | case .code39Mod43: return .code39Mod43
35 | case .ean13: return .ean13
| `- error: 'ean13' is unavailable in visionOS
36 | case .ean8: return .ean8
37 | case .code93: return .code93
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:481:39: note: 'ean13' has been explicitly marked unavailable here
479 | AVMetadataMachineReadableCodeObject objects generated from EAN-13 (including UPC-A) codes return this constant as their type.
480 | */
481 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeEAN13Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'ean13' has been explicitly marked unavailable here
482 |
483 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:36:29: error: 'ean8' is unavailable in visionOS
34 | case .code39Mod43: return .code39Mod43
35 | case .ean13: return .ean13
36 | case .ean8: return .ean8
| `- error: 'ean8' is unavailable in visionOS
37 | case .code93: return .code93
38 | case .code128: return .code128
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:491:39: note: 'ean8' has been explicitly marked unavailable here
489 | AVMetadataMachineReadableCodeObject objects generated from EAN-8 codes return this constant as their type.
490 | */
491 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeEAN8Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'ean8' has been explicitly marked unavailable here
492 |
493 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:37:31: error: 'code93' is unavailable in visionOS
35 | case .ean13: return .ean13
36 | case .ean8: return .ean8
37 | case .code93: return .code93
| `- error: 'code93' is unavailable in visionOS
38 | case .code128: return .code128
39 | case .pdf417: return .pdf417
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:501:39: note: 'code93' has been explicitly marked unavailable here
499 | AVMetadataMachineReadableCodeObject objects generated from Code 93 codes return this constant as their type.
500 | */
501 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeCode93Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'code93' has been explicitly marked unavailable here
502 |
503 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:38:32: error: 'code128' is unavailable in visionOS
36 | case .ean8: return .ean8
37 | case .code93: return .code93
38 | case .code128: return .code128
| `- error: 'code128' is unavailable in visionOS
39 | case .pdf417: return .pdf417
40 | case .qr: return .qr
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:511:39: note: 'code128' has been explicitly marked unavailable here
509 | AVMetadataMachineReadableCodeObject objects generated from Code 128 codes return this constant as their type.
510 | */
511 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeCode128Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'code128' has been explicitly marked unavailable here
512 |
513 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:39:31: error: 'pdf417' is unavailable in visionOS
37 | case .code93: return .code93
38 | case .code128: return .code128
39 | case .pdf417: return .pdf417
| `- error: 'pdf417' is unavailable in visionOS
40 | case .qr: return .qr
41 | case .aztec: return .aztec
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:521:39: note: 'pdf417' has been explicitly marked unavailable here
519 | AVMetadataMachineReadableCodeObject objects generated from PDF417 codes return this constant as their type.
520 | */
521 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypePDF417Code API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'pdf417' has been explicitly marked unavailable here
522 |
523 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:40:27: error: 'qr' is unavailable in visionOS
38 | case .code128: return .code128
39 | case .pdf417: return .pdf417
40 | case .qr: return .qr
| `- error: 'qr' is unavailable in visionOS
41 | case .aztec: return .aztec
42 | case .interleaved2of5: return .interleaved2of5
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:531:39: note: 'qr' has been explicitly marked unavailable here
529 | AVMetadataMachineReadableCodeObject objects generated from QR codes return this constant as their type.
530 | */
531 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeQRCode API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'qr' has been explicitly marked unavailable here
532 |
533 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:41:30: error: 'aztec' is unavailable in visionOS
39 | case .pdf417: return .pdf417
40 | case .qr: return .qr
41 | case .aztec: return .aztec
| `- error: 'aztec' is unavailable in visionOS
42 | case .interleaved2of5: return .interleaved2of5
43 | case .itf14: return .itf14
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:541:39: note: 'aztec' has been explicitly marked unavailable here
539 | AVMetadataMachineReadableCodeObject objects generated from Aztec codes return this constant as their type.
540 | */
541 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeAztecCode API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'aztec' has been explicitly marked unavailable here
542 |
543 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:42:40: error: 'interleaved2of5' is unavailable in visionOS
40 | case .qr: return .qr
41 | case .aztec: return .aztec
42 | case .interleaved2of5: return .interleaved2of5
| `- error: 'interleaved2of5' is unavailable in visionOS
43 | case .itf14: return .itf14
44 | case .dataMatrix: return .dataMatrix
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:551:39: note: 'interleaved2of5' has been explicitly marked unavailable here
549 | AVMetadataMachineReadableCodeObject objects generated from Interleaved 2 of 5 codes return this constant as their type.
550 | */
551 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeInterleaved2of5Code API_AVAILABLE(macos(10.15), ios(8.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'interleaved2of5' has been explicitly marked unavailable here
552 |
553 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:43:30: error: 'itf14' is unavailable in visionOS
41 | case .aztec: return .aztec
42 | case .interleaved2of5: return .interleaved2of5
43 | case .itf14: return .itf14
| `- error: 'itf14' is unavailable in visionOS
44 | case .dataMatrix: return .dataMatrix
45 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:561:39: note: 'itf14' has been explicitly marked unavailable here
559 | AVMetadataMachineReadableCodeObject objects generated from ITF14 codes return this constant as their type.
560 | */
561 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeITF14Code API_AVAILABLE(macos(10.15), ios(8.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'itf14' has been explicitly marked unavailable here
562 |
563 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:44:35: error: 'dataMatrix' is unavailable in visionOS
42 | case .interleaved2of5: return .interleaved2of5
43 | case .itf14: return .itf14
44 | case .dataMatrix: return .dataMatrix
| `- error: 'dataMatrix' is unavailable in visionOS
45 | }
46 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:571:39: note: 'dataMatrix' has been explicitly marked unavailable here
569 | AVMetadataMachineReadableCodeObject objects generated from DataMatrix codes return this constant as their type.
570 | */
571 | AVF_EXPORT AVMetadataObjectType const AVMetadataObjectTypeDataMatrixCode API_AVAILABLE(macos(10.15), ios(8.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos);
| `- note: 'dataMatrix' has been explicitly marked unavailable here
572 |
573 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/PhotoQualityPrioritizationMode+AVFoundation.swift:11:38: error: 'AVCapturePhotoOutput' is unavailable in visionOS
9 |
10 | extension PhotoQualityPrioritizationMode {
11 | var avQualityPrioritizationMode: AVCapturePhotoOutput.QualityPrioritization {
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
12 | switch self {
13 | case .speed: return .speed
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVAsset/AVAsset+TrackLoading.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVAsset+TrackLoading.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/CameraDevice+AVFoundation.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraDevice+AVFoundation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/ExposureMode+AVFoundation.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ExposureMode+AVFoundation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/FlashMode+AVFoundation.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FlashMode+AVFoundation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/FocusMode+AVFoundation.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusMode+AVFoundation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/LayerVideoGravity+AVFoundation.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LayerVideoGravity+AVFoundation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MediaType+AVFoundation.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MediaType+AVFoundation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MetadataType+AVFoundation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/PhotoQualityPrioritizationMode+AVFoundation.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PhotoQualityPrioritizationMode+AVFoundation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/VideoOrientationMode+AVFoundation.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoOrientationMode+AVFoundation.swift
SwiftCompile normal arm64 Compiling\ VideoLayer.swift,\ MetadataCapturer.swift,\ MetadataOutput.swift,\ MetadataScanOutput.swift,\ MovieCapturer.swift,\ MovieOutput.swift,\ PhotoCapturer.swift,\ PhotoOutput.swift,\ CaptureSession.swift,\ Session.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Layers/Video/VideoLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataCapturer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataScanOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieCapturer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoCapturer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Session/AVSession/CaptureSession.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Session/AVSession/Session.swift (in target 'CameraKage' from project 'CameraKage')
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift:10:23: error: 'AVCaptureMetadataOutput' is unavailable in visionOS
8 | import AVFoundation
9 |
10 | class MetadataOutput: AVCaptureMetadataOutput, MetadataCapturer {
| `- error: 'AVCaptureMetadataOutput' is unavailable in visionOS
11 | private let session: CaptureSession
12 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift:33:35: error: 'AVCaptureMetadataOutput' is unavailable in visionOS
31 | // MARK: - AVCaptureMetadataOutputObjectsDelegate
32 | extension MetadataOutput: AVCaptureMetadataOutputObjectsDelegate {
33 | func metadataOutput(_ output: AVCaptureMetadataOutput,
| `- error: 'AVCaptureMetadataOutput' is unavailable in visionOS
34 | didOutput metadataObjects: [AVMetadataObject],
35 | from connection: 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/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift:34:53: error: 'AVMetadataObject' is unavailable in visionOS
32 | extension MetadataOutput: AVCaptureMetadataOutputObjectsDelegate {
33 | func metadataOutput(_ output: AVCaptureMetadataOutput,
34 | didOutput metadataObjects: [AVMetadataObject],
| `- error: 'AVMetadataObject' is unavailable in visionOS
35 | from connection: AVCaptureConnection) {
36 | let outputs = metadataObjects.compactMap { createScanOutput(fromMetadataObject: $0) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift:40:62: error: 'AVMetadataObject' is unavailable in visionOS
38 | }
39 |
40 | private func createScanOutput(fromMetadataObject object: AVMetadataObject) -> MetadataScanOutput? {
| `- error: 'AVMetadataObject' is unavailable in visionOS
41 | guard let readableObject = object as? AVMetadataMachineReadableCodeObject,
42 | let type = MetadataType(avType: object.type),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift:32:27: error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in visionOS
30 |
31 | // MARK: - AVCaptureMetadataOutputObjectsDelegate
32 | extension MetadataOutput: AVCaptureMetadataOutputObjectsDelegate {
| `- error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in visionOS
33 | func metadataOutput(_ output: AVCaptureMetadataOutput,
34 | didOutput metadataObjects: [AVMetadataObject],
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:126:11: note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
124 | */
125 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
126 | @protocol AVCaptureMetadataOutputObjectsDelegate <NSObject>
| `- note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
127 |
128 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift:41:47: error: 'AVMetadataMachineReadableCodeObject' is unavailable in visionOS
39 |
40 | private func createScanOutput(fromMetadataObject object: AVMetadataObject) -> MetadataScanOutput? {
41 | guard let readableObject = object as? AVMetadataMachineReadableCodeObject,
| `- error: 'AVMetadataMachineReadableCodeObject' is unavailable in visionOS
42 | let type = MetadataType(avType: object.type),
43 | let value = readableObject.stringValue 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/AVMetadataObject.h:649:12: note: 'AVMetadataMachineReadableCodeObject' has been explicitly marked unavailable here
647 | */
648 | API_AVAILABLE(macos(10.15), ios(7.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
649 | @interface AVMetadataMachineReadableCodeObject : AVMetadataObject
| `- note: 'AVMetadataMachineReadableCodeObject' has been explicitly marked unavailable here
650 | {
651 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:10:20: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
8 | import AVFoundation
9 |
10 | class MovieOutput: AVCaptureMovieFileOutput, MovieCapturer {
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
/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/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:92:31: error: 'AVCaptureFileOutput' is unavailable in visionOS
90 | // MARK: - AVCaptureFileOutputRecordingDelegate
91 | extension MovieOutput: AVCaptureFileOutputRecordingDelegate {
92 | func fileOutput(_ output: AVCaptureFileOutput,
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
93 | didStartRecordingTo fileURL: URL,
94 | 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/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:98:31: error: 'AVCaptureFileOutput' is unavailable in visionOS
96 | }
97 |
98 | func fileOutput(_ output: AVCaptureFileOutput,
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
99 | didFinishRecordingTo outputFileURL: URL,
100 | 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/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:91:24: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
89 |
90 | // MARK: - AVCaptureFileOutputRecordingDelegate
91 | extension MovieOutput: AVCaptureFileOutputRecordingDelegate {
| `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
92 | func fileOutput(_ output: AVCaptureFileOutput,
93 | didStartRecordingTo fileURL: URL,
/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/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:52:21: error: 'removeConnection' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class MovieOutput: AVCaptureMovieFileOutput, MovieCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
41 | }
42 |
43 | func handleFlip() throws {
| `- note: add '@available' attribute to enclosing instance method
44 | session.removeOutput(self)
45 | let containsVideoConnection = session.connections.contains(where: { connection in
:
50 | })
51 | if let videoPortConnection, containsVideoConnection {
52 | session.removeConnection(videoPortConnection)
| |- error: 'removeConnection' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
53 | }
54 | if let audioPortConnection, containsAudioConnection {
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:55:21: error: 'removeConnection' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class MovieOutput: AVCaptureMovieFileOutput, MovieCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
41 | }
42 |
43 | func handleFlip() throws {
| `- note: add '@available' attribute to enclosing instance method
44 | session.removeOutput(self)
45 | let containsVideoConnection = session.connections.contains(where: { connection in
:
53 | }
54 | if let audioPortConnection, containsAudioConnection {
55 | session.removeConnection(audioPortConnection)
| |- error: 'removeConnection' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
56 | }
57 | if !configureMovieFileOutput() {
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:64:17: error: 'addOutputWithNoConnections' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class MovieOutput: AVCaptureMovieFileOutput, MovieCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
60 | }
61 |
62 | private func configureMovieFileOutput() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
63 | guard session.canAddOutput(self) else { return false }
64 | session.addOutputWithNoConnections(self)
| |- error: 'addOutputWithNoConnections' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
65 | maxRecordedDuration = CMTime(seconds: options.maxVideoDuration, preferredTimescale: .max)
66 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:67:31: error: 'init(inputPorts:output:)' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class MovieOutput: AVCaptureMovieFileOutput, MovieCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
60 | }
61 |
62 | private func configureMovieFileOutput() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
63 | guard session.canAddOutput(self) else { return false }
64 | session.addOutputWithNoConnections(self)
65 | maxRecordedDuration = CMTime(seconds: options.maxVideoDuration, preferredTimescale: .max)
66 |
67 | let videoConnection = AVCaptureConnection(inputPorts: [videoDevice.videoDevicePort], output: self)
| |- error: 'init(inputPorts:output:)' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
68 | guard session.canAddConnection(videoConnection) else { return false }
69 | session.addConnection(videoConnection)
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:68:23: error: 'canAddConnection' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class MovieOutput: AVCaptureMovieFileOutput, MovieCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
60 | }
61 |
62 | private func configureMovieFileOutput() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
63 | guard session.canAddOutput(self) else { return false }
64 | session.addOutputWithNoConnections(self)
:
66 |
67 | let videoConnection = AVCaptureConnection(inputPorts: [videoDevice.videoDevicePort], output: self)
68 | guard session.canAddConnection(videoConnection) else { return false }
| |- error: 'canAddConnection' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
69 | session.addConnection(videoConnection)
70 | videoConnection.isVideoMirrored = videoDevice.isVideoMirrored
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:69:17: error: 'addConnection' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class MovieOutput: AVCaptureMovieFileOutput, MovieCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
60 | }
61 |
62 | private func configureMovieFileOutput() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
63 | guard session.canAddOutput(self) else { return false }
64 | session.addOutputWithNoConnections(self)
:
67 | let videoConnection = AVCaptureConnection(inputPorts: [videoDevice.videoDevicePort], output: self)
68 | guard session.canAddConnection(videoConnection) else { return false }
69 | session.addConnection(videoConnection)
| |- error: 'addConnection' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
70 | videoConnection.isVideoMirrored = videoDevice.isVideoMirrored
71 | videoConnection.videoOrientation = options.cameraOrientation.avVideoOrientationMode
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:71:25: error: 'videoOrientation' is unavailable in visionOS
69 | session.addConnection(videoConnection)
70 | videoConnection.isVideoMirrored = videoDevice.isVideoMirrored
71 | videoConnection.videoOrientation = options.cameraOrientation.avVideoOrientationMode
| `- error: 'videoOrientation' is unavailable in visionOS
72 | if videoConnection.isVideoStabilizationSupported {
73 | videoConnection.preferredVideoStabilizationMode = options.videoStabilizationMode.avVideoStabilizationMode
/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' has been explicitly marked unavailable 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' has been explicitly marked unavailable here
1112 |
1113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:72:28: error: 'isVideoStabilizationSupported' is unavailable in visionOS
70 | videoConnection.isVideoMirrored = videoDevice.isVideoMirrored
71 | videoConnection.videoOrientation = options.cameraOrientation.avVideoOrientationMode
72 | if videoConnection.isVideoStabilizationSupported {
| `- error: 'isVideoStabilizationSupported' is unavailable in visionOS
73 | videoConnection.preferredVideoStabilizationMode = options.videoStabilizationMode.avVideoStabilizationMode
74 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1233:75: note: 'isVideoStabilizationSupported' has been explicitly marked unavailable here
1231 | This property is only applicable to AVCaptureConnection instances involving video. In such connections, the -enablesVideoStabilizationWhenAvailable property may only be set if -supportsVideoStabilization returns YES. This property returns YES if the connection's input device has one or more formats that support video stabilization and the connection's output supports video stabilization (or in the case of ProRes RAW, support stabilization metadata attachments). See [AVCaptureDeviceFormat isVideoStabilizationModeSupported:] to check which video stabilization modes are supported by the active device format.
1232 | */
1233 | @property(nonatomic, readonly, getter=isVideoStabilizationSupported) BOOL supportsVideoStabilization API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
| `- note: 'isVideoStabilizationSupported' has been explicitly marked unavailable here
1234 |
1235 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:73:29: error: 'preferredVideoStabilizationMode' is unavailable in visionOS
71 | videoConnection.videoOrientation = options.cameraOrientation.avVideoOrientationMode
72 | if videoConnection.isVideoStabilizationSupported {
73 | videoConnection.preferredVideoStabilizationMode = options.videoStabilizationMode.avVideoStabilizationMode
| `- error: 'preferredVideoStabilizationMode' is unavailable in visionOS
74 | }
75 | self.videoPortConnection = videoConnection
/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' has been explicitly marked unavailable 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' has been explicitly marked unavailable here
1214 |
1215 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:77:31: error: 'init(inputPorts:output:)' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class MovieOutput: AVCaptureMovieFileOutput, MovieCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
60 | }
61 |
62 | private func configureMovieFileOutput() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
63 | guard session.canAddOutput(self) else { return false }
64 | session.addOutputWithNoConnections(self)
:
75 | self.videoPortConnection = videoConnection
76 |
77 | let audioConnection = AVCaptureConnection(inputPorts: [audioDevice.audioDevicePort], output: self)
| |- error: 'init(inputPorts:output:)' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
78 | guard session.canAddConnection(audioConnection) else { return false }
79 | session.addConnection(audioConnection)
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:78:23: error: 'canAddConnection' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class MovieOutput: AVCaptureMovieFileOutput, MovieCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
60 | }
61 |
62 | private func configureMovieFileOutput() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
63 | guard session.canAddOutput(self) else { return false }
64 | session.addOutputWithNoConnections(self)
:
76 |
77 | let audioConnection = AVCaptureConnection(inputPorts: [audioDevice.audioDevicePort], output: self)
78 | guard session.canAddConnection(audioConnection) else { return false }
| |- error: 'canAddConnection' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
79 | session.addConnection(audioConnection)
80 | if availableVideoCodecTypes.contains(.hevc) {
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:79:17: error: 'addConnection' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class MovieOutput: AVCaptureMovieFileOutput, MovieCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
60 | }
61 |
62 | private func configureMovieFileOutput() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
63 | guard session.canAddOutput(self) else { return false }
64 | session.addOutputWithNoConnections(self)
:
77 | let audioConnection = AVCaptureConnection(inputPorts: [audioDevice.audioDevicePort], output: self)
78 | guard session.canAddConnection(audioConnection) else { return false }
79 | session.addConnection(audioConnection)
| |- error: 'addConnection' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
80 | if availableVideoCodecTypes.contains(.hevc) {
81 | setOutputSettings([AVVideoCodecKey: AVVideoCodecType.hevc],
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:80:12: error: 'availableVideoCodecTypes' is unavailable in visionOS
78 | guard session.canAddConnection(audioConnection) else { return false }
79 | session.addConnection(audioConnection)
80 | if availableVideoCodecTypes.contains(.hevc) {
| `- error: 'availableVideoCodecTypes' is unavailable in visionOS
81 | setOutputSettings([AVVideoCodecKey: AVVideoCodecType.hevc],
82 | for: videoConnection)
/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:447:59: note: 'availableVideoCodecTypes' has been explicitly marked unavailable here
445 | The value of this property is an NSArray of AVVideoCodecTypes that can be used as values for the AVVideoCodecKey in the receiver's setOutputSettingsForConnection: dictionary. The array of available video codecs may change depending on the current session preset. The first codec in the array is used by default when recording a file.
446 | */
447 | @property(nonatomic, readonly) NSArray<AVVideoCodecType> *availableVideoCodecTypes API_AVAILABLE(ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
| `- note: 'availableVideoCodecTypes' has been explicitly marked unavailable here
448 |
449 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:81:13: error: 'setOutputSettings(_:for:)' is unavailable in visionOS
79 | session.addConnection(audioConnection)
80 | if availableVideoCodecTypes.contains(.hevc) {
81 | setOutputSettings([AVVideoCodecKey: AVVideoCodecType.hevc],
| `- error: 'setOutputSettings(_:for:)' is unavailable in visionOS
82 | for: videoConnection)
83 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h:494:1: note: 'setOutputSettings(_:for:)' has been explicitly marked unavailable here
492 | On iOS, -outputSettingsForConnection: always provides a fully populated dictionary. If you call -outputSettingsForConnection: with the intent of overriding a few of the values, you must take care to exclude keys that are not supported before calling -setOutputSettings:forConnection:. When providing an AVVideoCompressionPropertiesKey sub dictionary, you may specify a sparse dictionary. AVCaptureMovieFileOutput will always fill in missing keys with default values for the current AVCaptureSession configuration.
493 | */
494 | - (void)setOutputSettings:(nullable NSDictionary<NSString *, id> *)outputSettings forConnection:(AVCaptureConnection *)connection API_AVAILABLE(ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'setOutputSettings(_:for:)' has been explicitly marked unavailable here
495 |
496 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:10:20: error: 'AVCapturePhotoOutput' is unavailable in visionOS
8 | import AVFoundation
9 |
10 | class PhotoOutput: AVCapturePhotoOutput, PhotoCapturer {
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
/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/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:77:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
75 | // MARK: - AVCapturePhotoCaptureDelegate
76 | extension PhotoOutput: AVCapturePhotoCaptureDelegate {
77 | func photoOutput(_ output: AVCapturePhotoOutput,
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
78 | didFinishProcessingPhoto photo: AVCapturePhoto,
79 | error: Error?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:78:54: error: 'AVCapturePhoto' is unavailable in visionOS
76 | extension PhotoOutput: AVCapturePhotoCaptureDelegate {
77 | func photoOutput(_ output: AVCapturePhotoOutput,
78 | didFinishProcessingPhoto photo: AVCapturePhoto,
| `- error: 'AVCapturePhoto' is unavailable in visionOS
79 | error: Error?) {
80 | guard error == nil else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/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/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:87:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
85 | }
86 |
87 | func photoOutput(_ output: AVCapturePhotoOutput,
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
88 | didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings,
89 | error: Error?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:88:60: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
86 |
87 | func photoOutput(_ output: AVCapturePhotoOutput,
88 | didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings,
| `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
89 | error: Error?) {
90 | guard error == nil, let photoData else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 | */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
| `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:77:10: error: cannot override 'photoOutput' which has been marked unavailable
75 | // MARK: - AVCapturePhotoCaptureDelegate
76 | extension PhotoOutput: AVCapturePhotoCaptureDelegate {
77 | func photoOutput(_ output: AVCapturePhotoOutput,
| `- error: cannot override 'photoOutput' which has been marked unavailable
78 | didFinishProcessingPhoto photo: AVCapturePhoto,
79 | error: Error?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 | This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 | */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:76:24: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
74 |
75 | // MARK: - AVCapturePhotoCaptureDelegate
76 | extension PhotoOutput: AVCapturePhotoCaptureDelegate {
| `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
77 | func photoOutput(_ output: AVCapturePhotoOutput,
78 | didFinishProcessingPhoto photo: AVCapturePhoto,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h: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/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:32:29: error: 'AVCapturePhotoSettings' is unavailable in visionOS
30 |
31 | func capturePhoto(_ flashMode: FlashMode, redEyeCorrection: Bool) {
32 | var photoSettings = AVCapturePhotoSettings()
| `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
33 | photoSettings.flashMode = flashMode.avFlashOption
34 | photoSettings.isAutoRedEyeReductionEnabled = redEyeCorrection
/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/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:34:23: error: 'isAutoRedEyeReductionEnabled' is unavailable in visionOS
32 | var photoSettings = AVCapturePhotoSettings()
33 | photoSettings.flashMode = flashMode.avFlashOption
34 | photoSettings.isAutoRedEyeReductionEnabled = redEyeCorrection
| `- error: 'isAutoRedEyeReductionEnabled' is unavailable in visionOS
35 |
36 | if availablePhotoCodecTypes.contains(.hevc) {
/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/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:37:29: error: 'AVCapturePhotoSettings' is unavailable in visionOS
35 |
36 | if availablePhotoCodecTypes.contains(.hevc) {
37 | photoSettings = AVCapturePhotoSettings(format: [AVVideoCodecKey: AVVideoCodecType.hevc])
| `- error: 'AVCapturePhotoSettings' is unavailable in visionOS
38 | }
39 | if let previewPhotoPixelFormatType = photoSettings.availablePreviewPhotoPixelFormatTypes.first {
/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/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:39:60: error: 'availablePreviewPhotoPixelFormatTypes' is unavailable in visionOS
37 | photoSettings = AVCapturePhotoSettings(format: [AVVideoCodecKey: AVVideoCodecType.hevc])
38 | }
39 | if let previewPhotoPixelFormatType = photoSettings.availablePreviewPhotoPixelFormatTypes.first {
| `- error: 'availablePreviewPhotoPixelFormatTypes' is unavailable in visionOS
40 | photoSettings.previewPhotoFormat = [kCVPixelBufferPixelFormatTypeKey as String: previewPhotoPixelFormatType]
41 | }
AVFoundation.AVCapturePhotoSettings.availablePreviewPhotoPixelFormatTypes:2:21: note: 'availablePreviewPhotoPixelFormatTypes' has been explicitly marked unavailable here
1 | class AVCapturePhotoSettings {
2 | @nonobjc public var availablePreviewPhotoPixelFormatTypes: [OSType] { get }}
| `- note: 'availablePreviewPhotoPixelFormatTypes' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:52:21: error: 'removeConnection' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class PhotoOutput: AVCapturePhotoOutput, PhotoCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
44 | }
45 |
46 | func handleFlip() throws {
| `- note: add '@available' attribute to enclosing instance method
47 | session.removeOutput(self)
48 | let containsVideoConnection = session.connections.contains(where: { connection in
:
50 | })
51 | if let videoPortConnection = videoPortConnection, containsVideoConnection {
52 | session.removeConnection(videoPortConnection)
| |- error: 'removeConnection' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
53 | }
54 | if !configurePhotoOutput() {
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:61:17: error: 'addOutputWithNoConnections' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class PhotoOutput: AVCapturePhotoOutput, PhotoCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
57 | }
58 |
59 | private func configurePhotoOutput() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
60 | guard session.canAddOutput(self) else { return false }
61 | session.addOutputWithNoConnections(self)
| |- error: 'addOutputWithNoConnections' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
62 | maxPhotoQualityPrioritization = options.photoQualityPrioritizationMode.avQualityPrioritizationMode
63 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:62:9: error: 'maxPhotoQualityPrioritization' is unavailable in visionOS
60 | guard session.canAddOutput(self) else { return false }
61 | session.addOutputWithNoConnections(self)
62 | maxPhotoQualityPrioritization = options.photoQualityPrioritizationMode.avQualityPrioritizationMode
| `- error: 'maxPhotoQualityPrioritization' is unavailable in visionOS
63 |
64 | let photoConnection = AVCaptureConnection(inputPorts: [videoDevice.videoDevicePort], output: 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:350:58: note: 'maxPhotoQualityPrioritization' has been explicitly marked unavailable here
348 | Setting the maxPhotoQualityPrioritization to .quality will turn on optical image stabilization if the -isHighPhotoQualitySupported of the source device's -activeFormat is true.
349 | */
350 | @property(nonatomic) AVCapturePhotoQualityPrioritization maxPhotoQualityPrioritization API_AVAILABLE(macos(13.0), ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'maxPhotoQualityPrioritization' has been explicitly marked unavailable here
351 |
352 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:64:31: error: 'init(inputPorts:output:)' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class PhotoOutput: AVCapturePhotoOutput, PhotoCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
57 | }
58 |
59 | private func configurePhotoOutput() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
60 | guard session.canAddOutput(self) else { return false }
61 | session.addOutputWithNoConnections(self)
62 | maxPhotoQualityPrioritization = options.photoQualityPrioritizationMode.avQualityPrioritizationMode
63 |
64 | let photoConnection = AVCaptureConnection(inputPorts: [videoDevice.videoDevicePort], output: self)
| |- error: 'init(inputPorts:output:)' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
65 | guard session.canAddConnection(photoConnection) else { return false }
66 | session.addConnection(photoConnection)
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:65:23: error: 'canAddConnection' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class PhotoOutput: AVCapturePhotoOutput, PhotoCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
57 | }
58 |
59 | private func configurePhotoOutput() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
60 | guard session.canAddOutput(self) else { return false }
61 | session.addOutputWithNoConnections(self)
:
63 |
64 | let photoConnection = AVCaptureConnection(inputPorts: [videoDevice.videoDevicePort], output: self)
65 | guard session.canAddConnection(photoConnection) else { return false }
| |- error: 'canAddConnection' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
66 | session.addConnection(photoConnection)
67 | photoConnection.videoOrientation = options.cameraOrientation.avVideoOrientationMode
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:66:17: error: 'addConnection' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class PhotoOutput: AVCapturePhotoOutput, PhotoCapturer {
| `- note: add '@available' attribute to enclosing class
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
:
57 | }
58 |
59 | private func configurePhotoOutput() -> Bool {
| `- note: add '@available' attribute to enclosing instance method
60 | guard session.canAddOutput(self) else { return false }
61 | session.addOutputWithNoConnections(self)
:
64 | let photoConnection = AVCaptureConnection(inputPorts: [videoDevice.videoDevicePort], output: self)
65 | guard session.canAddConnection(photoConnection) else { return false }
66 | session.addConnection(photoConnection)
| |- error: 'addConnection' is only available in visionOS 2.1 or newer
| `- note: add 'if #available' version check
67 | photoConnection.videoOrientation = options.cameraOrientation.avVideoOrientationMode
68 | photoConnection.isVideoMirrored = videoDevice.isVideoMirrored
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:67:25: error: 'videoOrientation' is unavailable in visionOS
65 | guard session.canAddConnection(photoConnection) else { return false }
66 | session.addConnection(photoConnection)
67 | photoConnection.videoOrientation = options.cameraOrientation.avVideoOrientationMode
| `- error: 'videoOrientation' is unavailable in visionOS
68 | photoConnection.isVideoMirrored = videoDevice.isVideoMirrored
69 | self.videoPortConnection = photoConnection
/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' has been explicitly marked unavailable 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' has been explicitly marked unavailable here
1112 |
1113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:84:27: error: 'fileDataRepresentation()' is unavailable in visionOS
82 | return
83 | }
84 | photoData = photo.fileDataRepresentation()
| `- error: 'fileDataRepresentation()' is unavailable in visionOS
85 | }
86 |
/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/CameraKage/Devices/Session/AVSession/CaptureSession.swift:10:23: error: 'AVCaptureMultiCamSession' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class CaptureSession: AVCaptureMultiCamSession, Session {
| | `- error: 'AVCaptureMultiCamSession' is only available in visionOS 2.1 or newer
| `- note: add '@available' attribute to enclosing class
11 | weak var delegate: SessionDelegate?
12 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Session/AVSession/CaptureSession.swift:44:55: error: 'AVCaptureDeviceSubjectAreaDidChange' is unavailable in visionOS
42 | NotificationCenter.default.addObserver(self,
43 | selector: #selector(deviceSubjectAreaDidChange),
44 | name: .AVCaptureDeviceSubjectAreaDidChange,
| `- error: 'AVCaptureDeviceSubjectAreaDidChange' is unavailable in visionOS
45 | object: self)
46 | }
AVFoundation.NSNotification.Name.AVCaptureDeviceSubjectAreaDidChange:9:23: note: 'AVCaptureDeviceSubjectAreaDidChange' has been explicitly marked unavailable here
7 | @available(visionOS, unavailable)
8 | @available(watchOS, unavailable)
9 | public static var AVCaptureDeviceSubjectAreaDidChange: NSNotification.Name { get } }
| `- note: 'AVCaptureDeviceSubjectAreaDidChange' has been explicitly marked unavailable here
10 | }
11 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Layers/Video/VideoLayer.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoLayer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataCapturer.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MetadataCapturer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MetadataOutput.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataScanOutput.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MetadataScanOutput.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieCapturer.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MovieCapturer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MovieOutput.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoCapturer.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PhotoCapturer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PhotoOutput.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Session/AVSession/CaptureSession.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CaptureSession.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Session/AVSession/Session.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Session.swift
SwiftCompile normal arm64 Compiling\ CameraView.swift,\ InteractableCameraView.swift,\ MetadataCameraView.swift,\ PhotoCameraView.swift,\ SessionCameraView.swift,\ VideoCameraView.swift,\ ARCamera.swift,\ ARCameraInterface.swift,\ Camera.swift,\ CameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/CameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/InteractableCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/MetadataCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/PhotoCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/SessionCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/VideoCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/ARCamera/ARCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/ARCamera/ARCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/Camera/Camera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/Camera/CameraInterface.swift (in target 'CameraKage' from project 'CameraKage')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/CameraView.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/InteractableCameraView.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InteractableCameraView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/MetadataCameraView.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MetadataCameraView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/PhotoCameraView.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PhotoCameraView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/SessionCameraView.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SessionCameraView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/VideoCameraView.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoCameraView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/ARCamera/ARCamera.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ARCamera.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/ARCamera/ARCameraInterface.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ARCameraInterface.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/Camera/Camera.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Camera.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/Camera/CameraInterface.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraInterface.swift
SwiftCompile normal arm64 Compiling\ InteractableCamera.swift,\ InteractableCameraInterface.swift,\ MetadataCamera.swift,\ MetadataCameraInterface.swift,\ PhotoCamera.swift,\ PhotoCameraInterface.swift,\ SessionCamera.swift,\ SessionCameraInterface.swift,\ VideoCamera.swift,\ VideoCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/InteractableCamera/InteractableCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/InteractableCamera/InteractableCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/MetadataCamera/MetadataCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/MetadataCamera/MetadataCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/PhotoCamera/PhotoCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/PhotoCamera/PhotoCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/SessionCamera/SessionCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/SessionCamera/SessionCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/VideoCamera/VideoCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/VideoCamera/VideoCameraInterface.swift (in target 'CameraKage' from project 'CameraKage')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/InteractableCamera/InteractableCamera.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InteractableCamera.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/InteractableCamera/InteractableCameraInterface.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InteractableCameraInterface.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/MetadataCamera/MetadataCamera.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MetadataCamera.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/MetadataCamera/MetadataCameraInterface.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MetadataCameraInterface.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/PhotoCamera/PhotoCamera.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PhotoCamera.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/PhotoCamera/PhotoCameraInterface.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PhotoCameraInterface.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/SessionCamera/SessionCamera.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SessionCamera.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/SessionCamera/SessionCameraInterface.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SessionCameraInterface.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/VideoCamera/VideoCamera.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoCamera.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/VideoCamera/VideoCameraInterface.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoCameraInterface.swift
SwiftCompile normal arm64 Compiling\ FlashMode.swift,\ FocusMode.swift,\ LayerVideoGravity.swift,\ MediaType.swift,\ MetadataType.swift,\ OutputType.swift,\ PhotoQualityPrioritizationMode.swift,\ VideoOrientationMode.swift,\ VideoStabilizationMode.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/FlashMode.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/FocusMode.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/LayerVideoGravity.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/MediaType.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/MetadataType.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/OutputType.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/PhotoQualityPrioritizationMode.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/VideoOrientationMode.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/VideoStabilizationMode.swift (in target 'CameraKage' from project 'CameraKage')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/FlashMode.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FlashMode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/FocusMode.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusMode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/LayerVideoGravity.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LayerVideoGravity.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/MediaType.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MediaType.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/MetadataType.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MetadataType.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/OutputType.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OutputType.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/PhotoQualityPrioritizationMode.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PhotoQualityPrioritizationMode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/VideoOrientationMode.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoOrientationMode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/VideoStabilizationMode.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoStabilizationMode.swift
SwiftCompile normal arm64 Compiling\ ARSessionDelegate.swift,\ SessionDelegate.swift,\ ARCameraViewDelegate.swift,\ CameraDelegate.swift,\ InteractableCameraDelegate.swift,\ MetadataCameraDelegate.swift,\ PhotoCameraDelegate.swift,\ SessionCameraDelegate.swift,\ VideoCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/ARSessionDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/SessionDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/ARCameraViewDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/CameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/InteractableCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/MetadataCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/PhotoCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/SessionCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/VideoCameraDelegate.swift (in target 'CameraKage' from project 'CameraKage')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/ARSessionDelegate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ARSessionDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/SessionDelegate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SessionDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/ARCameraViewDelegate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ARCameraViewDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/CameraDelegate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/InteractableCameraDelegate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InteractableCameraDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/MetadataCameraDelegate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MetadataCameraDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/PhotoCameraDelegate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PhotoCameraDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/SessionCameraDelegate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SessionCameraDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/VideoCameraDelegate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoCameraDelegate.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ CameraKage (in target 'CameraKage' from project 'CameraKage')
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift:11:22: error: cannot find type 'ARSCNView' in scope
9 | import SceneKit
10 |
11 | class ARPreviewView: ARSCNView, ARPreviewer {
| `- error: cannot find type 'ARSCNView' in scope
12 | private let options: ARCameraComponentParsedOptions
13 | private var faceGeometry = ARSCNFaceGeometry(device: MTLCreateSystemDefaultDevice()!)
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift:13:32: error: cannot find 'ARSCNFaceGeometry' in scope
11 | class ARPreviewView: ARSCNView, ARPreviewer {
12 | private let options: ARCameraComponentParsedOptions
13 | private var faceGeometry = ARSCNFaceGeometry(device: MTLCreateSystemDefaultDevice()!)
| `- error: cannot find 'ARSCNFaceGeometry' in scope
14 | private var faceOverlayNode: SCNNode?
15 | lazy var renderer: SCNRenderer = {
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift:17:26: error: cannot find 'scene' in scope
15 | lazy var renderer: SCNRenderer = {
16 | let renderer = SCNRenderer(device: MTLCreateSystemDefaultDevice()!, options: nil)
17 | renderer.scene = scene
| `- error: cannot find 'scene' in scope
18 | renderer.autoenablesDefaultLighting = options.autoenablesDefaultLighting
19 | renderer.isJitteringEnabled = options.isJitteringEnabled
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift:81:26: error: cannot find type 'ARSCNViewDelegate' in scope
79 |
80 | // MARK: - ARSCNViewDelegate
81 | extension ARPreviewView: ARSCNViewDelegate {
| `- error: cannot find type 'ARSCNViewDelegate' in scope
82 | func session(_ session: ARSession, didFailWithError error: Error) {
83 | sessionDelegate?.arSession(didFailWithError: .arSessionFailed(message: error.localizedDescription))
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift:82:29: warning: 'ARSession' was deprecated in visionOS 1.0 [#DeprecatedDeclaration]
80 | // MARK: - ARSCNViewDelegate
81 | extension ARPreviewView: ARSCNViewDelegate {
82 | func session(_ session: ARSession, didFailWithError error: Error) {
| `- warning: 'ARSession' was deprecated in visionOS 1.0 [#DeprecatedDeclaration]
83 | sessionDelegate?.arSession(didFailWithError: .arSessionFailed(message: error.localizedDescription))
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift:86:43: warning: 'ARSession' was deprecated in visionOS 1.0 [#DeprecatedDeclaration]
84 | }
85 |
86 | func sessionWasInterrupted(_ session: ARSession) {
| `- warning: 'ARSession' was deprecated in visionOS 1.0 [#DeprecatedDeclaration]
87 | sessionDelegate?.arSessionWasInterrupted()
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift:90:46: warning: 'ARSession' was deprecated in visionOS 1.0 [#DeprecatedDeclaration]
88 | }
89 |
90 | func sessionInterruptionEnded(_ session: ARSession) {
| `- warning: 'ARSession' was deprecated in visionOS 1.0 [#DeprecatedDeclaration]
91 | sessionDelegate?.arSessionInterruptionEnded()
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift:94:29: warning: 'ARSession' was deprecated in visionOS 1.0 [#DeprecatedDeclaration]
92 | }
93 |
94 | func session(_ session: ARSession, didOutputAudioSampleBuffer audioSampleBuffer: CMSampleBuffer) {
| `- warning: 'ARSession' was deprecated in visionOS 1.0 [#DeprecatedDeclaration]
95 | sessionDelegate?.arSession(didOutputAudioBuffer: audioSampleBuffer)
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift:98:65: error: 'ARAnchor' is unavailable in visionOS
96 | }
97 |
98 | func renderer(_ renderer: SCNSceneRenderer, nodeFor anchor: ARAnchor) -> SCNNode? {
| `- error: 'ARAnchor' is unavailable in visionOS
99 | guard let faceAnchor = anchor as? ARFaceAnchor else { return nil }
100 | faceGeometry?.update(from: faceAnchor.geometry)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARAnchor.h:57:12: note: 'ARAnchor' has been explicitly marked unavailable here
55 | API_AVAILABLE(ios(11.0))
56 | NS_SWIFT_SENDABLE
57 | @interface ARAnchor : NSObject <ARAnchorCopying,
| `- note: 'ARAnchor' has been explicitly marked unavailable here
58 | NSSecureCoding
59 | >
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift:108:86: error: 'ARAnchor' is unavailable in visionOS
106 | }
107 |
108 | func renderer(_ renderer: SCNSceneRenderer, didUpdate node: SCNNode, for anchor: ARAnchor) {
| `- error: 'ARAnchor' is unavailable in visionOS
109 | guard let faceAnchor = anchor as? ARFaceAnchor else { return }
110 | faceAnchor.blendShapes.forEach { (key, value) in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARAnchor.h:57:12: note: 'ARAnchor' has been explicitly marked unavailable here
55 | API_AVAILABLE(ios(11.0))
56 | NS_SWIFT_SENDABLE
57 | @interface ARAnchor : NSObject <ARAnchorCopying,
| `- note: 'ARAnchor' has been explicitly marked unavailable here
58 | NSSecureCoding
59 | >
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift:115:56: warning: 'ARSession' was deprecated in visionOS 1.0 [#DeprecatedDeclaration]
113 | }
114 |
115 | func sessionShouldAttemptRelocalization(_ session: ARSession) -> Bool {
| `- warning: 'ARSession' was deprecated in visionOS 1.0 [#DeprecatedDeclaration]
116 | true
117 | }
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Inputs/Audio/AudioCaptureDevice.swift:15:60: error: 'Port' is unavailable in visionOS
13 | private(set) var audioDevice: AVCaptureDevice!
14 | private(set) var audioDeviceInput: AVCaptureDeviceInput!
15 | private(set) var audioDevicePort: AVCaptureDeviceInput.Port!
| `- error: 'Port' is unavailable in visionOS
16 |
17 | init?(session: CaptureSession,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h:83:12: note: 'Port' has been explicitly marked unavailable here
81 | */
82 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
83 | @interface AVCaptureInputPort : NSObject
| `- note: 'Port' has been explicitly marked unavailable here
84 | {
85 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Inputs/Video/VideoCaptureDevice.swift:15:60: error: 'Port' is unavailable in visionOS
13 | @objc private(set) dynamic var videoDevice: AVCaptureDevice!
14 | @objc private(set) dynamic var videoDeviceInput: AVCaptureDeviceInput!
15 | private(set) var videoDevicePort: AVCaptureDeviceInput.Port!
| `- error: 'Port' is unavailable in visionOS
16 |
17 | private var isFlipped = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h:83:12: note: 'Port' has been explicitly marked unavailable here
81 | */
82 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
83 | @interface AVCaptureInputPort : NSObject
| `- note: 'Port' has been explicitly marked unavailable here
84 | {
85 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Layers/Video/PreviewLayer.swift:10:21: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
8 | import AVFoundation
9 |
10 | class PreviewLayer: AVCaptureVideoPreviewLayer, VideoLayer {
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
11 | private let captureSession: CaptureSession
12 | private let options: CameraComponentParsedOptions
/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/CameraKage/Devices/Layers/Video/PreviewLayer.swift:10:7: error: type 'PreviewLayer' does not conform to protocol 'VideoLayer'
8 | import AVFoundation
9 |
10 | class PreviewLayer: AVCaptureVideoPreviewLayer, VideoLayer {
| `- error: type 'PreviewLayer' does not conform to protocol 'VideoLayer'
11 | private let captureSession: CaptureSession
12 | private let options: CameraComponentParsedOptions
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Layers/Video/PreviewLayer.swift:10:7: error: unavailable instance method 'captureDevicePointConverted(fromLayerPoint:)' was used to satisfy a requirement of protocol 'VideoLayer'
8 | import AVFoundation
9 |
10 | class PreviewLayer: AVCaptureVideoPreviewLayer, VideoLayer {
| `- error: unavailable instance method 'captureDevicePointConverted(fromLayerPoint:)' was used to satisfy a requirement of protocol 'VideoLayer'
11 | private let captureSession: CaptureSession
12 | private let options: CameraComponentParsedOptions
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:150:1: note: 'captureDevicePointConverted(fromLayerPoint:)' declared here
148 | AVCaptureDevice pointOfInterest is expressed as a CGPoint where {0,0} represents the top left of the picture area, and {1,1} represents the bottom right on an unrotated picture. This convenience method converts a point in the coordinate space of the receiver to a point of interest in the coordinate space of the AVCaptureDevice providing input to the receiver. The conversion takes frameSize and videoGravity into consideration.
149 | */
150 | - (CGPoint)captureDevicePointOfInterestForPoint:(CGPoint)pointInLayer API_AVAILABLE(macos(10.15), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'captureDevicePointConverted(fromLayerPoint:)' declared here
151 |
152 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Layers/Video/VideoLayer.swift:15:10: note: requirement 'captureDevicePointConverted(fromLayerPoint:)' declared here
13 | func removeFromSuperlayer()
14 | func reloadPreviewLayer() throws
15 | func captureDevicePointConverted(fromLayerPoint: CGPoint) -> CGPoint
| `- note: requirement 'captureDevicePointConverted(fromLayerPoint:)' declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift:10:23: error: 'AVCaptureMetadataOutput' is unavailable in visionOS
8 | import AVFoundation
9 |
10 | class MetadataOutput: AVCaptureMetadataOutput, MetadataCapturer {
| `- error: 'AVCaptureMetadataOutput' is unavailable in visionOS
11 | private let session: CaptureSession
12 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift:33:35: error: 'AVCaptureMetadataOutput' is unavailable in visionOS
31 | // MARK: - AVCaptureMetadataOutputObjectsDelegate
32 | extension MetadataOutput: AVCaptureMetadataOutputObjectsDelegate {
33 | func metadataOutput(_ output: AVCaptureMetadataOutput,
| `- error: 'AVCaptureMetadataOutput' is unavailable in visionOS
34 | didOutput metadataObjects: [AVMetadataObject],
35 | from connection: 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/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift:34:53: error: 'AVMetadataObject' is unavailable in visionOS
32 | extension MetadataOutput: AVCaptureMetadataOutputObjectsDelegate {
33 | func metadataOutput(_ output: AVCaptureMetadataOutput,
34 | didOutput metadataObjects: [AVMetadataObject],
| `- error: 'AVMetadataObject' is unavailable in visionOS
35 | from connection: AVCaptureConnection) {
36 | let outputs = metadataObjects.compactMap { createScanOutput(fromMetadataObject: $0) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift:40:62: error: 'AVMetadataObject' is unavailable in visionOS
38 | }
39 |
40 | private func createScanOutput(fromMetadataObject object: AVMetadataObject) -> MetadataScanOutput? {
| `- error: 'AVMetadataObject' is unavailable in visionOS
41 | guard let readableObject = object as? AVMetadataMachineReadableCodeObject,
42 | let type = MetadataType(avType: object.type),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift:32:27: error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in visionOS
30 |
31 | // MARK: - AVCaptureMetadataOutputObjectsDelegate
32 | extension MetadataOutput: AVCaptureMetadataOutputObjectsDelegate {
| `- error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in visionOS
33 | func metadataOutput(_ output: AVCaptureMetadataOutput,
34 | didOutput metadataObjects: [AVMetadataObject],
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:126:11: note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
124 | */
125 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
126 | @protocol AVCaptureMetadataOutputObjectsDelegate <NSObject>
| `- note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
127 |
128 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:10:20: error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
8 | import AVFoundation
9 |
10 | class MovieOutput: AVCaptureMovieFileOutput, MovieCapturer {
| `- error: 'AVCaptureMovieFileOutput' is unavailable in visionOS
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
/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/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:92:31: error: 'AVCaptureFileOutput' is unavailable in visionOS
90 | // MARK: - AVCaptureFileOutputRecordingDelegate
91 | extension MovieOutput: AVCaptureFileOutputRecordingDelegate {
92 | func fileOutput(_ output: AVCaptureFileOutput,
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
93 | didStartRecordingTo fileURL: URL,
94 | 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/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:98:31: error: 'AVCaptureFileOutput' is unavailable in visionOS
96 | }
97 |
98 | func fileOutput(_ output: AVCaptureFileOutput,
| `- error: 'AVCaptureFileOutput' is unavailable in visionOS
99 | didFinishRecordingTo outputFileURL: URL,
100 | 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/CameraKage/Devices/Outputs/Movie/MovieOutput.swift:91:24: error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
89 |
90 | // MARK: - AVCaptureFileOutputRecordingDelegate
91 | extension MovieOutput: AVCaptureFileOutputRecordingDelegate {
| `- error: 'AVCaptureFileOutputRecordingDelegate' is unavailable in visionOS
92 | func fileOutput(_ output: AVCaptureFileOutput,
93 | didStartRecordingTo fileURL: URL,
/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/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:10:20: error: 'AVCapturePhotoOutput' is unavailable in visionOS
8 | import AVFoundation
9 |
10 | class PhotoOutput: AVCapturePhotoOutput, PhotoCapturer {
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
11 | private let session: CaptureSession
12 | private let options: CameraComponentParsedOptions
/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/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:77:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
75 | // MARK: - AVCapturePhotoCaptureDelegate
76 | extension PhotoOutput: AVCapturePhotoCaptureDelegate {
77 | func photoOutput(_ output: AVCapturePhotoOutput,
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
78 | didFinishProcessingPhoto photo: AVCapturePhoto,
79 | error: Error?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:78:54: error: 'AVCapturePhoto' is unavailable in visionOS
76 | extension PhotoOutput: AVCapturePhotoCaptureDelegate {
77 | func photoOutput(_ output: AVCapturePhotoOutput,
78 | didFinishProcessingPhoto photo: AVCapturePhoto,
| `- error: 'AVCapturePhoto' is unavailable in visionOS
79 | error: Error?) {
80 | guard error == nil else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/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/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:87:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
85 | }
86 |
87 | func photoOutput(_ output: AVCapturePhotoOutput,
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
88 | didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings,
89 | error: Error?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:88:60: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
86 |
87 | func photoOutput(_ output: AVCapturePhotoOutput,
88 | didFinishCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings,
| `- error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
89 | error: Error?) {
90 | guard error == nil, let photoData else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1788:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1786 | */
1787 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1788 | @interface AVCaptureResolvedPhotoSettings : NSObject
| `- note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
1789 | {
1790 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:77:10: error: cannot override 'photoOutput' which has been marked unavailable
75 | // MARK: - AVCapturePhotoCaptureDelegate
76 | extension PhotoOutput: AVCapturePhotoCaptureDelegate {
77 | func photoOutput(_ output: AVCapturePhotoOutput,
| `- error: cannot override 'photoOutput' which has been marked unavailable
78 | didFinishProcessingPhoto photo: AVCapturePhoto,
79 | error: Error?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 | This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 | */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
| `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift:76:24: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
74 |
75 | // MARK: - AVCapturePhotoCaptureDelegate
76 | extension PhotoOutput: AVCapturePhotoCaptureDelegate {
| `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
77 | func photoOutput(_ output: AVCapturePhotoOutput,
78 | didFinishProcessingPhoto photo: AVCapturePhoto,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h: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/CameraKage/Devices/Session/AVSession/CaptureSession.swift:10:23: error: 'AVCaptureMultiCamSession' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | class CaptureSession: AVCaptureMultiCamSession, Session {
| | `- error: 'AVCaptureMultiCamSession' is only available in visionOS 2.1 or newer
| `- note: add '@available' attribute to enclosing class
11 | weak var delegate: SessionDelegate?
12 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/CameraDevice+AVFoundation.swift:13:39: error: 'DeviceType' is only available in visionOS 2.1 or newer
8 | import AVFoundation
9 |
10 | extension CameraDevice {
| `- note: add '@available' attribute to enclosing extension
11 | var avDevicePosition: AVCaptureDevice.Position { self == .frontCamera ? .front : .back }
12 |
13 | var avDeviceType: AVCaptureDevice.DeviceType {
| | `- error: 'DeviceType' is only available in visionOS 2.1 or newer
| `- note: add '@available' attribute to enclosing property
14 | switch self {
15 | case .frontCamera: return .builtInWideAngleCamera
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/ExposureMode+AVFoundation.swift:11:43: error: 'ExposureMode' is unavailable in visionOS
9 |
10 | extension ExposureMode {
11 | var avExposureOption: AVCaptureDevice.ExposureMode {
| `- error: 'ExposureMode' is unavailable in visionOS
12 | switch self {
13 | case .locked: return .locked
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/FlashMode+AVFoundation.swift:11:40: error: 'FlashMode' is unavailable in visionOS
9 |
10 | extension FlashMode {
11 | var avFlashOption: AVCaptureDevice.FlashMode {
| `- error: 'FlashMode' is unavailable in visionOS
12 | switch self {
13 | case .on: return .on
/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/CameraKage/Extensions/AVFoundation/FlashMode+AVFoundation.swift:19:44: error: 'TorchMode' is unavailable in visionOS
17 | }
18 |
19 | var avTorchModeOption: AVCaptureDevice.TorchMode {
| `- error: 'TorchMode' is unavailable in visionOS
20 | switch self {
21 | case .on: return .on
/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/CameraKage/Extensions/AVFoundation/FocusMode+AVFoundation.swift:11:40: error: 'FocusMode' is unavailable in visionOS
9 |
10 | extension FocusMode {
11 | var avFocusOption: AVCaptureDevice.FocusMode {
| `- error: 'FocusMode' is unavailable in visionOS
12 | switch self {
13 | case .locked: return .locked
/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/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:11:19: error: 'AVMetadataObject' is unavailable in visionOS
9 |
10 | extension MetadataType {
11 | init?(avType: AVMetadataObject.ObjectType) {
| `- error: 'AVMetadataObject' is unavailable in visionOS
12 | switch avType {
13 | case .upce: self = .upce
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift:30:25: error: 'AVMetadataObject' is unavailable in visionOS
28 | }
29 |
30 | var avMetadataType: AVMetadataObject.ObjectType {
| `- error: 'AVMetadataObject' is unavailable in visionOS
31 | switch self {
32 | case .upce: return .upce
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/PhotoQualityPrioritizationMode+AVFoundation.swift:11:38: error: 'AVCapturePhotoOutput' is unavailable in visionOS
9 |
10 | extension PhotoQualityPrioritizationMode {
11 | var avQualityPrioritizationMode: AVCapturePhotoOutput.QualityPrioritization {
| `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
12 | switch self {
13 | case .speed: return .speed
/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/CameraKage/Extensions/AVFoundation/VideoOrientationMode+AVFoundation.swift:11:33: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
9 |
10 | extension VideoOrientationMode {
11 | var avVideoOrientationMode: AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
12 | switch self {
13 | case .portrait: return .portrait
/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/CameraKage/Extensions/AVFoundation/VideoStabilizationMode+AVFoundation.swift:11:35: error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
9 |
10 | extension VideoStabilizationMode {
11 | var avVideoStabilizationMode: AVCaptureVideoStabilizationMode {
| `- error: 'AVCaptureVideoStabilizationMode' is unavailable in visionOS
12 | switch self {
13 | case .off: return .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: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,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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/CameraKage/CameraKage.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/ARPreviewView/ARPreviewer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/AssetWriter/ARAssetWriter.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/AssetWriter/AssetWriterInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Inputs/Audio/AudioCaptureDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Inputs/Audio/AudioInput.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Inputs/Video/VideoCaptureDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Inputs/Video/VideoInput.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Layers/Video/PreviewLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Layers/Video/VideoLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataCapturer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Metadata/MetadataScanOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieCapturer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Movie/MovieOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoCapturer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Outputs/Photo/PhotoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Session/AVSession/CaptureSession.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Devices/Session/AVSession/Session.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVAsset/AVAsset+TrackLoading.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/CameraDevice+AVFoundation.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/ExposureMode+AVFoundation.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/FlashMode+AVFoundation.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/FocusMode+AVFoundation.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/LayerVideoGravity+AVFoundation.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MediaType+AVFoundation.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/MetadataType+AVFoundation.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/PhotoQualityPrioritizationMode+AVFoundation.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/VideoOrientationMode+AVFoundation.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/VideoStabilizationMode+AVFoundation.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/CGSize/CGSize+Scale.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/TimeInterval/TimeInterval+CMTime.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/UIImage/UIImage+PixelBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/UIImage/UIImage+Resize.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/UIView/UIView+LayoutToFill.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/URL/URL+TemporaryURL.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/ARCameraError.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraError.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/ARCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/CameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/InteractableCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/MetadataCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/PhotoCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/SessionCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/VideoCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/ARCamera/ARCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/ARCamera/ARCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/Camera/Camera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/Camera/CameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/InteractableCamera/InteractableCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/InteractableCamera/InteractableCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/MetadataCamera/MetadataCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/MetadataCamera/MetadataCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/PhotoCamera/PhotoCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/PhotoCamera/PhotoCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/SessionCamera/SessionCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/SessionCamera/SessionCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/VideoCamera/VideoCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Cameras/VideoCamera/VideoCameraInterface.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/BitRate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionAssetsManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionAssetsManagerBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/ImageQuality.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/Resolution.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CompressionError.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/DelegatesManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/ARAssetWriterDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/ARCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/ARSessionDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/SessionDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/ARCameraViewDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/CameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/InteractableCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/MetadataCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/PhotoCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/SessionCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Public/VideoCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Permissions/PermissionStatus.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Permissions/PermissionsManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Permissions/PermissionsManagerProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Session/SessionComposer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Session/SessionInterruptionReason.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/ARCameraComponentOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/CameraComponentOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/CameraDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/ExposureMode.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/FlashMode.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/FocusMode.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/LayerVideoGravity.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/MediaType.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/MetadataType.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/OutputType.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/PhotoQualityPrioritizationMode.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/VideoOrientationMode.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/VideoStabilizationMode.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import SceneKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/SceneKit.framework/Modules/SceneKit.swiftcrossimport/SwiftUI.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/CameraKage.build/Debug-xros/CameraKage-t.build/Objects-normal/arm64/CameraKage-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraKage.build/Debug-xros/CameraKage-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraKage.build/Debug-xros/CameraKage-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraKage.build/Debug-xros/CameraKage-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CameraKage -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraKage.build/Debug-xros/CameraKage-t.build/Objects-normal/arm64/CameraKage_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/CameraKage.build/Debug-xros/CameraKage-t.build/Objects-normal/arm64/CameraKage.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraKage.build/Debug-xros/CameraKage-t.build/Objects-normal/arm64/CameraKage.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraKage.build/Debug-xros/CameraKage-t.build/Objects-normal/arm64/CameraKage-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraKage.build/Debug-xros/CameraKage-t.build/Objects-normal/arm64/CameraKage-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraKage.build/Debug-xros/CameraKage-t.build/Objects-normal/arm64/CameraKage-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraKage.build/Debug-xros/CameraKage-t.build/Objects-normal/arm64/CameraKage.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraKage.build/Debug-xros/CameraKage-t.build/Objects-normal/arm64/CameraKage.abi.json
SwiftCompile normal arm64 (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ PermissionStatus.swift,\ PermissionsManager.swift,\ PermissionsManagerProtocol.swift,\ SessionComposer.swift,\ SessionInterruptionReason.swift,\ ARCameraComponentOptions.swift,\ CameraComponentOptions.swift,\ CameraDevice.swift,\ ExposureMode.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Permissions/PermissionStatus.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Permissions/PermissionsManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Permissions/PermissionsManagerProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Session/SessionComposer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Session/SessionInterruptionReason.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/ARCameraComponentOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/CameraComponentOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/CameraDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/ExposureMode.swift (in target 'CameraKage' from project 'CameraKage')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Permissions/PermissionStatus.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PermissionStatus.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Permissions/PermissionsManager.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PermissionsManager.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Permissions/PermissionsManagerProtocol.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PermissionsManagerProtocol.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Session/SessionComposer.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SessionComposer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Session/SessionInterruptionReason.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SessionInterruptionReason.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/ARCameraComponentOptions.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ARCameraComponentOptions.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/CameraComponentOptions.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraComponentOptions.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/CameraDevice.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraDevice.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Settings/ExposureMode.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ExposureMode.swift
SwiftCompile normal arm64 Compiling\ BitRate.swift,\ CompressionAssetsManager.swift,\ CompressionAssetsManagerBuilder.swift,\ CompressionManager.swift,\ ImageQuality.swift,\ Resolution.swift,\ CompressionError.swift,\ DelegatesManager.swift,\ ARAssetWriterDelegate.swift,\ ARCameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/BitRate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionAssetsManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionAssetsManagerBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/ImageQuality.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/Resolution.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CompressionError.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/DelegatesManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/ARAssetWriterDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/ARCameraDelegate.swift (in target 'CameraKage' from project 'CameraKage')
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionManager.swift:49:57: warning: 'preferredTransform' was deprecated in visionOS 1.0: Use load(.preferredTransform) instead [#DeprecatedDeclaration]
47 |
48 | let videoWriterInput = createWriterInput(with: videoWriterSettings)
49 | videoWriterInput.transform = videoTrack.preferredTransform
| `- warning: 'preferredTransform' was deprecated in visionOS 1.0: Use load(.preferredTransform) instead [#DeprecatedDeclaration]
50 | compressionAssetsManagerBuilder.setVideoWriterInput(videoWriterInput)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionManager.swift:192:41: warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead [#DeprecatedDeclaration]
190 | AVVideoCodecKey: AVVideoCodecType.hevc as AnyObject,
191 | AVVideoCompressionPropertiesKey: [AVVideoAverageBitRateKey: Int(bitrate.rawValue)] as AnyObject,
192 | AVVideoWidthKey: videoTrack.naturalSize.width < resolution.width ? videoTrack.naturalSize.width as AnyObject : resolution.width as AnyObject,
| `- warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead [#DeprecatedDeclaration]
193 | AVVideoHeightKey: videoTrack.naturalSize.height < resolution.height ? videoTrack.naturalSize.height as AnyObject : resolution.height as AnyObject
194 | ]
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionManager.swift:192:91: warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead [#DeprecatedDeclaration]
190 | AVVideoCodecKey: AVVideoCodecType.hevc as AnyObject,
191 | AVVideoCompressionPropertiesKey: [AVVideoAverageBitRateKey: Int(bitrate.rawValue)] as AnyObject,
192 | AVVideoWidthKey: videoTrack.naturalSize.width < resolution.width ? videoTrack.naturalSize.width as AnyObject : resolution.width as AnyObject,
| `- warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead [#DeprecatedDeclaration]
193 | AVVideoHeightKey: videoTrack.naturalSize.height < resolution.height ? videoTrack.naturalSize.height as AnyObject : resolution.height as AnyObject
194 | ]
/Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionManager.swift:193:42: warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead [#DeprecatedDeclaration]
191 | AVVideoCompressionPropertiesKey: [AVVideoAverageBitRateKey: Int(bitrate.rawValue)] as AnyObject,
192 | AVVideoWidthKey: videoTrack.naturalSize.width < resolution.width ? videoTrack.naturalSize.width as AnyObject : resolution.width as AnyObject,
193 | AVVideoHeightKey: videoTrack.naturalSize.height < resolution.height ? videoTrack.naturalSize.height as AnyObject : resolution.height as AnyObject
| `- warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead [#DeprecatedDeclaration]
194 | ]
195 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/BitRate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BitRate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionAssetsManager.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CompressionAssetsManager.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionAssetsManagerBuilder.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CompressionAssetsManagerBuilder.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/CompressionManager.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CompressionManager.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/ImageQuality.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ImageQuality.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Compression/Resolution.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Resolution.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CompressionError.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CompressionError.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/DelegatesManager.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DelegatesManager.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/ARAssetWriterDelegate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ARAssetWriterDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/Delegates/Internal/ARCameraDelegate.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ARCameraDelegate.swift
SwiftCompile normal arm64 Compiling\ VideoStabilizationMode+AVFoundation.swift,\ CGSize+Scale.swift,\ TimeInterval+CMTime.swift,\ UIImage+PixelBuffer.swift,\ UIImage+Resize.swift,\ UIView+LayoutToFill.swift,\ URL+TemporaryURL.swift,\ ARCameraError.swift,\ CameraError.swift,\ ARCameraView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/VideoStabilizationMode+AVFoundation.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/CGSize/CGSize+Scale.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/TimeInterval/TimeInterval+CMTime.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/UIImage/UIImage+PixelBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/UIImage/UIImage+Resize.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/UIView/UIView+LayoutToFill.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/URL/URL+TemporaryURL.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/ARCameraError.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraError.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/ARCameraView.swift (in target 'CameraKage' from project 'CameraKage')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/AVFoundation/VideoStabilizationMode+AVFoundation.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoStabilizationMode+AVFoundation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/CGSize/CGSize+Scale.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CGSize+Scale.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/TimeInterval/TimeInterval+CMTime.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TimeInterval+CMTime.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/UIImage/UIImage+PixelBuffer.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIImage+PixelBuffer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/UIImage/UIImage+Resize.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIImage+Resize.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/UIView/UIView+LayoutToFill.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+LayoutToFill.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/Extensions/URL/URL+TemporaryURL.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile URL+TemporaryURL.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/ARCameraError.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ARCameraError.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraError.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraError.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraKage/General/CameraViews/ARCameraView.swift (in target 'CameraKage' from project 'CameraKage')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ARCameraView.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-19 04:56:47.649 xcodebuild[770:4779] [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\ CameraKage (in target 'CameraKage' from project 'CameraKage')
SwiftCompile normal arm64 (in target 'CameraKage' from project 'CameraKage')
Building workspace CameraKage with scheme CameraKage
(3 failures)
BUILD FAILURE 6.4 visionOS