Build Information
Failed to build CameraCapture, reference main (d84247), with Swift 6.4 for watchOS using Xcode 27.0 on 20 Sep 2026 12:27:40 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 CameraCapture -destination generic/platform=watchOSBuild Log
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:25:60: error: 'AVCaptureDeviceInput' is unavailable in watchOS
23 |
24 | var selectedCamera: Device? {
25 | guard let camera = captureSession.inputs.first as? AVCaptureDeviceInput else {
| `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
26 | return nil
27 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h:182:12: note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
180 | */
181 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
182 | @interface AVCaptureDeviceInput : AVCaptureInput
| `- note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
183 | {
184 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:44:28: error: 'AVCaptureDevice' is unavailable in watchOS
42 |
43 | func addInput(with id: String) {
44 | guard let device = AVCaptureDevice(uniqueID: id),
| `- error: 'AVCaptureDevice' is unavailable in watchOS
45 | let captureDeviceInput = try? AVCaptureDeviceInput(device: device) else {
46 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:45:45: error: 'AVCaptureDeviceInput' is unavailable in watchOS
43 | func addInput(with id: String) {
44 | guard let device = AVCaptureDevice(uniqueID: id),
45 | let captureDeviceInput = try? AVCaptureDeviceInput(device: device) else {
| `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
46 | return
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h:182:12: note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
180 | */
181 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
182 | @interface AVCaptureDeviceInput : AVCaptureInput
| `- note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
183 | {
184 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:49:41: error: 'high' is unavailable in watchOS
47 | }
48 |
49 | captureSession.sessionPreset = .high
| `- error: 'high' is unavailable in watchOS
50 | if captureSession.canAddInput(captureDeviceInput) {
51 | captureSession.addInput(captureDeviceInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:41:41: note: 'high' has been explicitly marked unavailable here
39 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetHigh to achieve high quality video and audio output. AVCaptureSessionPresetHigh is the default sessionPreset value.
40 | */
41 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetHigh API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'high' has been explicitly marked unavailable here
42 |
43 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:52:52: error: 'hd4K3840x2160' is unavailable in watchOS
50 | if captureSession.canAddInput(captureDeviceInput) {
51 | captureSession.addInput(captureDeviceInput)
52 | if captureSession.canSetSessionPreset(.hd4K3840x2160) {
| `- error: 'hd4K3840x2160' is unavailable in watchOS
53 | captureSession.sessionPreset = .hd4K3840x2160
54 | } else if captureSession.canSetSessionPreset(.hd1920x1080) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:131:41: note: 'hd4K3840x2160' has been explicitly marked unavailable here
129 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset3840x2160 to achieve 3840x2160 output.
130 | */
131 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160 API_AVAILABLE(macos(10.15), ios(9.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'hd4K3840x2160' has been explicitly marked unavailable here
132 |
133 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:53:49: error: 'hd4K3840x2160' is unavailable in watchOS
51 | captureSession.addInput(captureDeviceInput)
52 | if captureSession.canSetSessionPreset(.hd4K3840x2160) {
53 | captureSession.sessionPreset = .hd4K3840x2160
| `- error: 'hd4K3840x2160' is unavailable in watchOS
54 | } else if captureSession.canSetSessionPreset(.hd1920x1080) {
55 | captureSession.sessionPreset = .hd1920x1080
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:131:41: note: 'hd4K3840x2160' has been explicitly marked unavailable here
129 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset3840x2160 to achieve 3840x2160 output.
130 | */
131 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160 API_AVAILABLE(macos(10.15), ios(9.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'hd4K3840x2160' has been explicitly marked unavailable here
132 |
133 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:54:59: error: 'hd1920x1080' is unavailable in watchOS
52 | if captureSession.canSetSessionPreset(.hd4K3840x2160) {
53 | captureSession.sessionPreset = .hd4K3840x2160
54 | } else if captureSession.canSetSessionPreset(.hd1920x1080) {
| `- error: 'hd1920x1080' is unavailable in watchOS
55 | captureSession.sessionPreset = .hd1920x1080
56 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:121:41: note: 'hd1920x1080' has been explicitly marked unavailable here
119 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset1920x1080 to achieve 1920x1080 output.
120 | */
121 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset1920x1080 API_AVAILABLE(macos(10.15), ios(5.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'hd1920x1080' has been explicitly marked unavailable here
122 |
123 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:55:49: error: 'hd1920x1080' is unavailable in watchOS
53 | captureSession.sessionPreset = .hd4K3840x2160
54 | } else if captureSession.canSetSessionPreset(.hd1920x1080) {
55 | captureSession.sessionPreset = .hd1920x1080
| `- error: 'hd1920x1080' is unavailable in watchOS
56 | } else {
57 | captureSession.sessionPreset = .high
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:121:41: note: 'hd1920x1080' has been explicitly marked unavailable here
119 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset1920x1080 to achieve 1920x1080 output.
120 | */
121 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset1920x1080 API_AVAILABLE(macos(10.15), ios(5.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'hd1920x1080' has been explicitly marked unavailable here
122 |
123 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:57:49: error: 'high' is unavailable in watchOS
55 | captureSession.sessionPreset = .hd1920x1080
56 | } else {
57 | captureSession.sessionPreset = .high
| `- error: 'high' is unavailable in watchOS
58 | }
59 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:41:41: note: 'high' has been explicitly marked unavailable here
39 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetHigh to achieve high quality video and audio output. AVCaptureSessionPresetHigh is the default sessionPreset value.
40 | */
41 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetHigh API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'high' has been explicitly marked unavailable here
42 |
43 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:12:32: error: 'AVCapturePhotoOutput' is unavailable in watchOS
10 | }
11 |
12 | func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhotoOutput' is unavailable in watchOS
13 | handler?.didCapturePhoto(photo.fileDataRepresentation(with: Customizer(photo: photo)), error: error)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:12:86: error: 'AVCapturePhoto' is unavailable in watchOS
10 | }
11 |
12 | func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhoto' is unavailable in watchOS
13 | handler?.didCapturePhoto(photo.fileDataRepresentation(with: Customizer(photo: photo)), error: error)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:18:28: error: 'AVCapturePhoto' is unavailable in watchOS
16 | class Customizer: NSObject, AVCapturePhotoFileDataRepresentationCustomizer {
17 |
18 | private let photo: AVCapturePhoto
| `- error: 'AVCapturePhoto' is unavailable in watchOS
19 |
20 | init(photo: AVCapturePhoto) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:20:21: error: 'AVCapturePhoto' is unavailable in watchOS
18 | private let photo: AVCapturePhoto
19 |
20 | init(photo: AVCapturePhoto) {
| `- error: 'AVCapturePhoto' is unavailable in watchOS
21 | self.photo = photo
22 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:24:45: error: 'AVCapturePhoto' is unavailable in watchOS
22 | }
23 |
24 | func replacementMetadata(for photo: AVCapturePhoto) -> [String : Any]? {
| `- error: 'AVCapturePhoto' is unavailable in watchOS
25 | return photo.metadata
26 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:16:33: error: 'AVCapturePhotoFileDataRepresentationCustomizer' is unavailable in watchOS
14 | }
15 |
16 | class Customizer: NSObject, AVCapturePhotoFileDataRepresentationCustomizer {
| `- error: 'AVCapturePhotoFileDataRepresentationCustomizer' is unavailable in watchOS
17 |
18 | private let photo: AVCapturePhoto
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2358:11: note: 'AVCapturePhotoFileDataRepresentationCustomizer' has been explicitly marked unavailable here
2356 | */
2357 | API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
2358 | @protocol AVCapturePhotoFileDataRepresentationCustomizer <NSObject>
| `- note: 'AVCapturePhotoFileDataRepresentationCustomizer' has been explicitly marked unavailable here
2359 |
2360 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:4:36: error: 'AVCapturePhotoCaptureDelegate' is unavailable in watchOS
2 | import UIKit
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
| `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in watchOS
5 |
6 | private var handler: CaptureHandler?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraController.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVCameraController.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVCameraSession.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVCaptureDelegate.swift
SwiftCompile normal arm64 Compiling\ FocusUseCase.swift,\ RetrieveAvailableCamerasUseCase.swift,\ RotateCameraUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/FocusUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/RetrieveAvailableCamerasUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/RotateCameraUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/FocusUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusUseCase.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/RetrieveAvailableCamerasUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RetrieveAvailableCamerasUseCase.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/RotateCameraUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RotateCameraUseCase.swift
SwiftCompile normal arm64 Compiling\ SetCameraUseCase.swift,\ SetFlashStateUseCase.swift,\ SetRotationUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetCameraUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetFlashStateUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetRotationUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetCameraUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SetCameraUseCase.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetFlashStateUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SetFlashStateUseCase.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetRotationUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SetRotationUseCase.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-20 08:27:29.773 xcodebuild[627:3903] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-20 08:27:29.921 xcodebuild[627:3903] [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\ CameraCapture (in target 'CameraCapture' from project 'CameraCapture')
SwiftCompile normal arm64 (in target 'CameraCapture' from project 'CameraCapture')
Building workspace CameraCapture with scheme CameraCapture
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
CameraCapture: /Users/admin/builder/spi-builder-workspace
resolved source packages: CameraCapture
2026-09-20 08:27:37.108 xcodebuild[791:4615] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-20 08:27:37.258 xcodebuild[791:4615] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "CameraCapture",
"name" : "CameraCapture",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "CameraCapture",
"targets" : [
"CameraCapture"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CameraCaptureTests",
"module_type" : "SwiftTarget",
"name" : "CameraCaptureTests",
"path" : "Tests/CameraCaptureTests",
"sources" : [
"CameraSettingsToAVSettingsTests.swift",
"DeviceAdaptionTests.swift",
"FocusTests.swift",
"RetrieveAvailableCamerasTests.swift",
"RotateCameraTests.swift",
"SetCameraTests.swift",
"SetFlashStateTests.swift",
"StartCameraTests.swift",
"System.swift",
"TakePhotoTests.swift",
"ZoomTests.swift"
],
"target_dependencies" : [
"CameraCapture"
],
"type" : "test"
},
{
"c99name" : "CameraCapture",
"module_type" : "SwiftTarget",
"name" : "CameraCapture",
"path" : "Sources/CameraCapture",
"product_memberships" : [
"CameraCapture"
],
"sources" : [
"Implementation/AVFoundation/AVCameraController.swift",
"Implementation/AVFoundation/AVCameraSession.swift",
"Implementation/AVFoundation/AVCaptureDelegate.swift",
"Implementation/AVFoundation/AVDataSource.swift",
"Implementation/AVFoundation/AVFlashController.swift",
"Implementation/AVFoundation/AVFocusController.swift",
"Implementation/AVFoundation/AVZoomController.swift",
"Implementation/Adapters.swift",
"Implementation/CameraRepo.swift",
"Implementation/CaptureHandler.swift",
"Implementation/DefaultCamera.swift",
"Implementation/SettingsRepo.swift",
"Implementation/Use Cases/FocusUseCase.swift",
"Implementation/Use Cases/RetrieveAvailableCamerasUseCase.swift",
"Implementation/Use Cases/RotateCameraUseCase.swift",
"Implementation/Use Cases/SetCameraUseCase.swift",
"Implementation/Use Cases/SetFlashStateUseCase.swift",
"Implementation/Use Cases/SetRotationUseCase.swift",
"Implementation/Use Cases/SetZoomUseCase.swift",
"Implementation/Use Cases/StartCameraUseCase.swift",
"Implementation/Use Cases/TakePhotoUseCase.swift",
"Implementation/Views/Presenter.swift",
"Implementation/Views/PreviewView.swift",
"Public API/Camera.swift",
"Public API/CameraFactory.swift",
"Public API/Models/CameraSettings.swift",
"Public API/Models/Device.swift",
"Public API/Models/PhotoCaptureError.swift",
"Public API/Models/ZoomObserver.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "CameraCapture",
"schemes" : [
"CameraCapture"
]
}
}
2026-09-20 08:27:38.336 xcodebuild[799:4685] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-20 08:27:38.465 xcodebuild[799:4685] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme CameraCapture -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme CameraCapture -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
CameraCapture: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'CameraCapture-product' in project 'CameraCapture'
➜ Explicit dependency on target 'CameraCapture' in project 'CameraCapture'
Target 'CameraCapture' in project 'CameraCapture' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver CameraCapture normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name CameraCapture -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64/CameraCapture.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64/CameraCapture-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64/CameraCapture.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64/CameraCapture-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64/CameraCapture_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64/CameraCapture-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver CameraCapture normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name CameraCapture -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ CaptureHandler.swift,\ DefaultCamera.swift,\ SettingsRepo.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/CaptureHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/DefaultCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/SettingsRepo.swift (in target 'CameraCapture' from project 'CameraCapture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/CaptureHandler.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CaptureHandler.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/DefaultCamera.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DefaultCamera.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/SettingsRepo.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SettingsRepo.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/DefaultCamera.swift:4:22: error: 'UIView' is unavailable in watchOS
2 |
3 | class DefaultCamera: Camera {
4 | var previewView: UIView
| `- error: 'UIView' is unavailable in watchOS
5 | var availableDevices: [Device] {
6 | retrieveCameraUseCase.get()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 Compiling\ AVZoomController.swift,\ Adapters.swift,\ CameraRepo.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVZoomController.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/CameraRepo.swift (in target 'CameraCapture' from project 'CameraCapture')
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVZoomController.swift:9:26: error: 'AVCaptureSession' is unavailable in watchOS
7 | class AVZoomController: ZoomController {
8 |
9 | private let session: AVCaptureSession
| `- error: 'AVCaptureSession' is unavailable in watchOS
10 |
11 | init(session: AVCaptureSession) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVZoomController.swift:11:19: error: 'AVCaptureSession' is unavailable in watchOS
9 | private let session: AVCaptureSession
10 |
11 | init(session: AVCaptureSession) {
| `- error: 'AVCaptureSession' is unavailable in watchOS
12 | self.session = session
13 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVZoomController.swift:16:53: error: 'AVCaptureDeviceInput' is unavailable in watchOS
14 |
15 | func zoom(to value: Double) throws {
16 | guard let camera = session.inputs.first as? AVCaptureDeviceInput else {
| `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
17 | throw ZoomError.noSelectedCamera
18 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h:182:12: note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
180 | */
181 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
182 | @interface AVCaptureDeviceInput : AVCaptureInput
| `- note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
183 | {
184 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:31:31: error: 'AVCaptureDevice' is unavailable in watchOS
29 | enum AVCaptureDeviceToCameraAdapter {
30 |
31 | static func adapt(device: AVCaptureDevice, flashDataSource: FlashDataSource) -> Device {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
32 | var zoomOptions: [Double] = []
33 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:59:39: error: 'AVCaptureDevice' is unavailable in watchOS
57 | }
58 |
59 | private static func adapt(device: AVCaptureDevice.DeviceType?) -> DeviceType {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
60 | guard let device = device else {
61 | return .unspecified
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:75:41: error: 'AVCaptureDevice' is unavailable in watchOS
73 | }
74 |
75 | private static func adapt(position: AVCaptureDevice.Position) -> DevicePosition {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
76 | switch position {
77 | case .back: return .back
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:35:15: error: 'builtInDualWideCamera' is unavailable in watchOS
33 |
34 | switch device.deviceType {
35 | case .builtInDualWideCamera, .builtInTripleCamera:
| `- error: 'builtInDualWideCamera' is unavailable in watchOS
36 | zoomOptions.append(0.5)
37 | break
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:611:38: note: 'builtInDualWideCamera' has been explicitly marked unavailable here
609 | Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
610 | */
611 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualWideCamera API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInDualWideCamera' has been explicitly marked unavailable here
612 |
613 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:35:39: error: 'builtInTripleCamera' is unavailable in watchOS
33 |
34 | switch device.deviceType {
35 | case .builtInDualWideCamera, .builtInTripleCamera:
| `- error: 'builtInTripleCamera' is unavailable in watchOS
36 | zoomOptions.append(0.5)
37 | break
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:628:38: note: 'builtInTripleCamera' has been explicitly marked unavailable here
626 | Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
627 | */
628 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTripleCamera API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInTripleCamera' has been explicitly marked unavailable here
629 |
630 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:38:15: error: 'builtInDualCamera' is unavailable in watchOS
36 | zoomOptions.append(0.5)
37 | break
38 | case .builtInDualCamera:
| `- error: 'builtInDualCamera' is unavailable in watchOS
39 | zoomOptions.append(1.0)
40 | break
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:593:38: note: 'builtInDualCamera' has been explicitly marked unavailable here
591 | Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
592 | */
593 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualCamera API_AVAILABLE(ios(10.2), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInDualCamera' has been explicitly marked unavailable here
594 |
595 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:45:47: error: 'virtualDeviceSwitchOverVideoZoomFactors' is unavailable in watchOS
43 | }
44 |
45 | zoomOptions.append(contentsOf: device.virtualDeviceSwitchOverVideoZoomFactors.map { ZoomScaleToMultiplication.adapt(deviceType: self.adapt(device: device.deviceType),
| `- error: 'virtualDeviceSwitchOverVideoZoomFactors' is unavailable in watchOS
46 | scale: $0.doubleValue) })
47 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:852:53: note: 'virtualDeviceSwitchOverVideoZoomFactors' has been explicitly marked unavailable here
850 | This array contains zoom factors at which one of the constituent device's field of view matches the next constituent device's full field of view. The number of switch over video zoom factors is always one less than the count of the constituentDevices property, and the factors progress in the same order as the devices listed in that property. On non-virtual devices this property returns an empty array.
851 | */
852 | @property(nonatomic, readonly) NSArray<NSNumber *> *virtualDeviceSwitchOverVideoZoomFactors API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'virtualDeviceSwitchOverVideoZoomFactors' has been explicitly marked unavailable here
853 |
854 | /// Whether locking to a particular primary constituent device is supported.
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:64:15: error: 'builtInUltraWideCamera' is unavailable in watchOS
62 | }
63 | switch device {
64 | case .builtInUltraWideCamera: return .ultraWideCamera
| `- error: 'builtInUltraWideCamera' is unavailable in watchOS
65 | case .builtInTelephotoCamera: return .telephotoCamera
66 | case .builtInWideAngleCamera: return .wideAngleCamera
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:574:38: note: 'builtInUltraWideCamera' has been explicitly marked unavailable here
572 | A built-in camera device with a shorter focal length than a wide angle camera. Note that devices of this type may only be discovered using an AVCaptureDeviceDiscoverySession.
573 | */
574 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInUltraWideCamera API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInUltraWideCamera' has been explicitly marked unavailable here
575 |
576 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:65:15: error: 'builtInTelephotoCamera' is unavailable in watchOS
63 | switch device {
64 | case .builtInUltraWideCamera: return .ultraWideCamera
65 | case .builtInTelephotoCamera: return .telephotoCamera
| `- error: 'builtInTelephotoCamera' is unavailable in watchOS
66 | case .builtInWideAngleCamera: return .wideAngleCamera
67 | case .builtInDualCamera: return .dualCamera
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:568:38: note: 'builtInTelephotoCamera' has been explicitly marked unavailable here
566 | A built-in camera device with a longer focal length than a wide angle camera. Note that devices of this type may only be discovered using an AVCaptureDeviceDiscoverySession.
567 | */
568 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTelephotoCamera API_AVAILABLE(ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInTelephotoCamera' has been explicitly marked unavailable here
569 |
570 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:66:15: error: 'builtInWideAngleCamera' is unavailable in watchOS
64 | case .builtInUltraWideCamera: return .ultraWideCamera
65 | case .builtInTelephotoCamera: return .telephotoCamera
66 | case .builtInWideAngleCamera: return .wideAngleCamera
| `- error: 'builtInWideAngleCamera' is unavailable in watchOS
67 | case .builtInDualCamera: return .dualCamera
68 | case .builtInDualWideCamera: return .dualWideCamera
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:562:38: note: 'builtInWideAngleCamera' has been explicitly marked unavailable here
560 | A built-in wide angle camera device. These devices are suitable for general purpose use.
561 | */
562 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInWideAngleCamera API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(watchos);
| `- note: 'builtInWideAngleCamera' has been explicitly marked unavailable here
563 |
564 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:67:15: error: 'builtInDualCamera' is unavailable in watchOS
65 | case .builtInTelephotoCamera: return .telephotoCamera
66 | case .builtInWideAngleCamera: return .wideAngleCamera
67 | case .builtInDualCamera: return .dualCamera
| `- error: 'builtInDualCamera' is unavailable in watchOS
68 | case .builtInDualWideCamera: return .dualWideCamera
69 | case .builtInTripleCamera: return .tripleCamera
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:593:38: note: 'builtInDualCamera' has been explicitly marked unavailable here
591 | Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
592 | */
593 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualCamera API_AVAILABLE(ios(10.2), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInDualCamera' has been explicitly marked unavailable here
594 |
595 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:68:15: error: 'builtInDualWideCamera' is unavailable in watchOS
66 | case .builtInWideAngleCamera: return .wideAngleCamera
67 | case .builtInDualCamera: return .dualCamera
68 | case .builtInDualWideCamera: return .dualWideCamera
| `- error: 'builtInDualWideCamera' is unavailable in watchOS
69 | case .builtInTripleCamera: return .tripleCamera
70 | default:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:611:38: note: 'builtInDualWideCamera' has been explicitly marked unavailable here
609 | Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
610 | */
611 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualWideCamera API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInDualWideCamera' has been explicitly marked unavailable here
612 |
613 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVZoomController.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVZoomController.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Adapters.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/CameraRepo.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraRepo.swift
SwiftCompile normal arm64 Compiling\ AVDataSource.swift,\ AVFlashController.swift,\ AVFocusController.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVFlashController.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVFocusController.swift (in target 'CameraCapture' from project 'CameraCapture')
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:11:33: error: cannot find type 'AVCaptureSession' in scope
9 | class AVCaptureDeviceDataSource: DataSource {
10 |
11 | private let captureSession: AVCaptureSession
| `- error: cannot find type 'AVCaptureSession' in scope
12 | private let flashDataSource: FlashDataSource
13 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:14:26: error: cannot find type 'AVCaptureSession' in scope
12 | private let flashDataSource: FlashDataSource
13 |
14 | init(captureSession: AVCaptureSession,
| `- error: cannot find type 'AVCaptureSession' in scope
15 | flashDataSource: FlashDataSource) {
16 | self.captureSession = captureSession
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:21:38: error: cannot find 'AVCaptureDevice' in scope
19 |
20 | var cameras: [Device] {
21 | let deviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInDualCamera,
| `- error: cannot find 'AVCaptureDevice' in scope
22 | .builtInDualWideCamera,
23 | .builtInTripleCamera,
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:27:82: error: cannot find 'AVMediaType' in scope
25 | .builtInTelephotoCamera,
26 | .builtInUltraWideCamera],
27 | mediaType: AVMediaType.video,
| `- error: cannot find 'AVMediaType' in scope
28 | position: .unspecified)
29 | let cameras = deviceDiscoverySession.devices.compactMap { device in
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:21:86: error: reference to member 'builtInDualCamera' cannot be resolved without a contextual type
19 |
20 | var cameras: [Device] {
21 | let deviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInDualCamera,
| `- error: reference to member 'builtInDualCamera' cannot be resolved without a contextual type
22 | .builtInDualWideCamera,
23 | .builtInTripleCamera,
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:22:86: error: reference to member 'builtInDualWideCamera' cannot be resolved without a contextual type
20 | var cameras: [Device] {
21 | let deviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInDualCamera,
22 | .builtInDualWideCamera,
| `- error: reference to member 'builtInDualWideCamera' cannot be resolved without a contextual type
23 | .builtInTripleCamera,
24 | .builtInWideAngleCamera,
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:23:86: error: reference to member 'builtInTripleCamera' cannot be resolved without a contextual type
21 | let deviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInDualCamera,
22 | .builtInDualWideCamera,
23 | .builtInTripleCamera,
| `- error: reference to member 'builtInTripleCamera' cannot be resolved without a contextual type
24 | .builtInWideAngleCamera,
25 | .builtInTelephotoCamera,
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:24:86: error: reference to member 'builtInWideAngleCamera' cannot be resolved without a contextual type
22 | .builtInDualWideCamera,
23 | .builtInTripleCamera,
24 | .builtInWideAngleCamera,
| `- error: reference to member 'builtInWideAngleCamera' cannot be resolved without a contextual type
25 | .builtInTelephotoCamera,
26 | .builtInUltraWideCamera],
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:25:86: error: reference to member 'builtInTelephotoCamera' cannot be resolved without a contextual type
23 | .builtInTripleCamera,
24 | .builtInWideAngleCamera,
25 | .builtInTelephotoCamera,
| `- error: reference to member 'builtInTelephotoCamera' cannot be resolved without a contextual type
26 | .builtInUltraWideCamera],
27 | mediaType: AVMediaType.video,
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:26:86: error: reference to member 'builtInUltraWideCamera' cannot be resolved without a contextual type
24 | .builtInWideAngleCamera,
25 | .builtInTelephotoCamera,
26 | .builtInUltraWideCamera],
| `- error: reference to member 'builtInUltraWideCamera' cannot be resolved without a contextual type
27 | mediaType: AVMediaType.video,
28 | position: .unspecified)
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:37:60: error: cannot find type 'AVCaptureDeviceInput' in scope
35 |
36 | var selectedCamera: Device? {
37 | guard let camera = captureSession.inputs.first as? AVCaptureDeviceInput else {
| `- error: cannot find type 'AVCaptureDeviceInput' in scope
38 | return nil
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVFocusController.swift:9:26: error: 'AVCaptureSession' is unavailable in watchOS
7 | class AVFocusController: FocusController {
8 |
9 | private let session: AVCaptureSession
| `- error: 'AVCaptureSession' is unavailable in watchOS
10 |
11 | init(session: AVCaptureSession) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVFocusController.swift:11:19: error: 'AVCaptureSession' is unavailable in watchOS
9 | private let session: AVCaptureSession
10 |
11 | init(session: AVCaptureSession) {
| `- error: 'AVCaptureSession' is unavailable in watchOS
12 | self.session = session
13 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVDataSource.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVFlashController.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVFlashController.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVFocusController.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVFocusController.swift
SwiftCompile normal arm64 Compiling\ AVCameraController.swift,\ AVCameraSession.swift,\ AVCaptureDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraController.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift (in target 'CameraCapture' from project 'CameraCapture')
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:12:30: error: 'AVCapturePhotoOutput' is unavailable in watchOS
10 | class AVCameraController: CameraController {
11 |
12 | private let photoOutput: AVCapturePhotoOutput
| `- error: 'AVCapturePhotoOutput' is unavailable in watchOS
13 | private let delegate = AVCaptureDelegate()
14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:15:23: error: 'AVCapturePhotoOutput' is unavailable in watchOS
13 | private let delegate = AVCaptureDelegate()
14 |
15 | init(photoOutput: AVCapturePhotoOutput) {
| `- error: 'AVCapturePhotoOutput' is unavailable in watchOS
16 | self.photoOutput = photoOutput
17 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:36:50: error: 'AVCaptureDevice' is unavailable in watchOS
34 |
35 | enum CameraFlashToAVSettings {
36 | static func adapt(flashState: FlashState) -> AVCaptureDevice.FlashMode {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
37 | switch flashState {
38 | case .on:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:49:58: error: 'AVCaptureVideoOrientation' is unavailable in watchOS
47 |
48 | enum CameraOrientationToAVSettings {
49 | static func adapt(orientation: CameraOrientation) -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in watchOS
50 | switch orientation {
51 | case .landscapeLeft:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:23:24: error: 'AVCapturePhotoSettings' is unavailable in watchOS
21 | handler: CaptureHandler) {
22 | delegate.set(handler)
23 | let settings = AVCapturePhotoSettings(format: [AVVideoCodecKey: CameraSettingsToAVSettings.adapt(settings: settings)])
| `- error: 'AVCapturePhotoSettings' is unavailable in watchOS
24 | settings.flashMode = CameraFlashToAVSettings.adapt(flashState: flashState)
25 | photoOutput.capturePhoto(with: settings,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:23:56: error: 'AVVideoCodecKey' is unavailable in watchOS
21 | handler: CaptureHandler) {
22 | delegate.set(handler)
23 | let settings = AVCapturePhotoSettings(format: [AVVideoCodecKey: CameraSettingsToAVSettings.adapt(settings: settings)])
| `- error: 'AVVideoCodecKey' is unavailable in watchOS
24 | settings.flashMode = CameraFlashToAVSettings.adapt(flashState: flashState)
25 | photoOutput.capturePhoto(with: settings,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h:35:28: note: 'AVVideoCodecKey' has been explicitly marked unavailable here
33 | */
34 |
35 | AVF_EXPORT NSString *const AVVideoCodecKey /* NSString (CMVideoCodecType) */ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'AVVideoCodecKey' has been explicitly marked unavailable here
36 |
37 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:67:37: error: 'hevc' is unavailable in watchOS
65 | switch settings.fileType {
66 | case .hevc:
67 | return AVVideoCodecType.hevc
| `- error: 'hevc' is unavailable in watchOS
68 | case .jpeg:
69 | return AVVideoCodecType.jpeg
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h:43:36: note: 'hevc' has been explicitly marked unavailable here
41 | typedef NSString * AVVideoCodecType NS_STRING_ENUM;
42 |
43 | AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeHEVC /* @"hvc1" */ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'hevc' has been explicitly marked unavailable here
44 | AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeH264 /* @"avc1" */ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos);
45 | AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeJPEG /* @"jpeg" */ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:69:37: error: 'jpeg' is unavailable in watchOS
67 | return AVVideoCodecType.hevc
68 | case .jpeg:
69 | return AVVideoCodecType.jpeg
| `- error: 'jpeg' is unavailable in watchOS
70 | }
71 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h:45:36: note: 'jpeg' has been explicitly marked unavailable here
43 | AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeHEVC /* @"hvc1" */ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos);
44 | AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeH264 /* @"avc1" */ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos);
45 | AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeJPEG /* @"jpeg" */ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'jpeg' has been explicitly marked unavailable here
46 | AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeJPEGXL /* @"jxlc" */ API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
47 | AVF_EXPORT AVVideoCodecType const AVVideoCodecTypeAppleProRes4444 /* @"ap4h" */ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:13:33: error: 'AVCaptureSession' is unavailable in watchOS
11 |
12 | class AVCameraSession: CameraSesion {
13 | private let captureSession: AVCaptureSession
| `- error: 'AVCaptureSession' is unavailable in watchOS
14 | private let flashDataSource: FlashDataSource
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:31:26: error: 'AVCaptureSession' is unavailable in watchOS
29 | }
30 |
31 | init(captureSession: AVCaptureSession,
| `- error: 'AVCaptureSession' is unavailable in watchOS
32 | flashDataSource: FlashDataSource) {
33 | self.captureSession = captureSession
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:25:60: error: 'AVCaptureDeviceInput' is unavailable in watchOS
23 |
24 | var selectedCamera: Device? {
25 | guard let camera = captureSession.inputs.first as? AVCaptureDeviceInput else {
| `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
26 | return nil
27 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h:182:12: note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
180 | */
181 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
182 | @interface AVCaptureDeviceInput : AVCaptureInput
| `- note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
183 | {
184 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:44:28: error: 'AVCaptureDevice' is unavailable in watchOS
42 |
43 | func addInput(with id: String) {
44 | guard let device = AVCaptureDevice(uniqueID: id),
| `- error: 'AVCaptureDevice' is unavailable in watchOS
45 | let captureDeviceInput = try? AVCaptureDeviceInput(device: device) else {
46 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:45:45: error: 'AVCaptureDeviceInput' is unavailable in watchOS
43 | func addInput(with id: String) {
44 | guard let device = AVCaptureDevice(uniqueID: id),
45 | let captureDeviceInput = try? AVCaptureDeviceInput(device: device) else {
| `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
46 | return
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h:182:12: note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
180 | */
181 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
182 | @interface AVCaptureDeviceInput : AVCaptureInput
| `- note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
183 | {
184 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:49:41: error: 'high' is unavailable in watchOS
47 | }
48 |
49 | captureSession.sessionPreset = .high
| `- error: 'high' is unavailable in watchOS
50 | if captureSession.canAddInput(captureDeviceInput) {
51 | captureSession.addInput(captureDeviceInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:41:41: note: 'high' has been explicitly marked unavailable here
39 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetHigh to achieve high quality video and audio output. AVCaptureSessionPresetHigh is the default sessionPreset value.
40 | */
41 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetHigh API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'high' has been explicitly marked unavailable here
42 |
43 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:52:52: error: 'hd4K3840x2160' is unavailable in watchOS
50 | if captureSession.canAddInput(captureDeviceInput) {
51 | captureSession.addInput(captureDeviceInput)
52 | if captureSession.canSetSessionPreset(.hd4K3840x2160) {
| `- error: 'hd4K3840x2160' is unavailable in watchOS
53 | captureSession.sessionPreset = .hd4K3840x2160
54 | } else if captureSession.canSetSessionPreset(.hd1920x1080) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:131:41: note: 'hd4K3840x2160' has been explicitly marked unavailable here
129 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset3840x2160 to achieve 3840x2160 output.
130 | */
131 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160 API_AVAILABLE(macos(10.15), ios(9.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'hd4K3840x2160' has been explicitly marked unavailable here
132 |
133 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:53:49: error: 'hd4K3840x2160' is unavailable in watchOS
51 | captureSession.addInput(captureDeviceInput)
52 | if captureSession.canSetSessionPreset(.hd4K3840x2160) {
53 | captureSession.sessionPreset = .hd4K3840x2160
| `- error: 'hd4K3840x2160' is unavailable in watchOS
54 | } else if captureSession.canSetSessionPreset(.hd1920x1080) {
55 | captureSession.sessionPreset = .hd1920x1080
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:131:41: note: 'hd4K3840x2160' has been explicitly marked unavailable here
129 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset3840x2160 to achieve 3840x2160 output.
130 | */
131 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160 API_AVAILABLE(macos(10.15), ios(9.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'hd4K3840x2160' has been explicitly marked unavailable here
132 |
133 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:54:59: error: 'hd1920x1080' is unavailable in watchOS
52 | if captureSession.canSetSessionPreset(.hd4K3840x2160) {
53 | captureSession.sessionPreset = .hd4K3840x2160
54 | } else if captureSession.canSetSessionPreset(.hd1920x1080) {
| `- error: 'hd1920x1080' is unavailable in watchOS
55 | captureSession.sessionPreset = .hd1920x1080
56 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:121:41: note: 'hd1920x1080' has been explicitly marked unavailable here
119 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset1920x1080 to achieve 1920x1080 output.
120 | */
121 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset1920x1080 API_AVAILABLE(macos(10.15), ios(5.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'hd1920x1080' has been explicitly marked unavailable here
122 |
123 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:55:49: error: 'hd1920x1080' is unavailable in watchOS
53 | captureSession.sessionPreset = .hd4K3840x2160
54 | } else if captureSession.canSetSessionPreset(.hd1920x1080) {
55 | captureSession.sessionPreset = .hd1920x1080
| `- error: 'hd1920x1080' is unavailable in watchOS
56 | } else {
57 | captureSession.sessionPreset = .high
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:121:41: note: 'hd1920x1080' has been explicitly marked unavailable here
119 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset1920x1080 to achieve 1920x1080 output.
120 | */
121 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset1920x1080 API_AVAILABLE(macos(10.15), ios(5.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'hd1920x1080' has been explicitly marked unavailable here
122 |
123 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:57:49: error: 'high' is unavailable in watchOS
55 | captureSession.sessionPreset = .hd1920x1080
56 | } else {
57 | captureSession.sessionPreset = .high
| `- error: 'high' is unavailable in watchOS
58 | }
59 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:41:41: note: 'high' has been explicitly marked unavailable here
39 | Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetHigh to achieve high quality video and audio output. AVCaptureSessionPresetHigh is the default sessionPreset value.
40 | */
41 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetHigh API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
| `- note: 'high' has been explicitly marked unavailable here
42 |
43 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:12:32: error: 'AVCapturePhotoOutput' is unavailable in watchOS
10 | }
11 |
12 | func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhotoOutput' is unavailable in watchOS
13 | handler?.didCapturePhoto(photo.fileDataRepresentation(with: Customizer(photo: photo)), error: error)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:12:86: error: 'AVCapturePhoto' is unavailable in watchOS
10 | }
11 |
12 | func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhoto' is unavailable in watchOS
13 | handler?.didCapturePhoto(photo.fileDataRepresentation(with: Customizer(photo: photo)), error: error)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:18:28: error: 'AVCapturePhoto' is unavailable in watchOS
16 | class Customizer: NSObject, AVCapturePhotoFileDataRepresentationCustomizer {
17 |
18 | private let photo: AVCapturePhoto
| `- error: 'AVCapturePhoto' is unavailable in watchOS
19 |
20 | init(photo: AVCapturePhoto) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:20:21: error: 'AVCapturePhoto' is unavailable in watchOS
18 | private let photo: AVCapturePhoto
19 |
20 | init(photo: AVCapturePhoto) {
| `- error: 'AVCapturePhoto' is unavailable in watchOS
21 | self.photo = photo
22 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:24:45: error: 'AVCapturePhoto' is unavailable in watchOS
22 | }
23 |
24 | func replacementMetadata(for photo: AVCapturePhoto) -> [String : Any]? {
| `- error: 'AVCapturePhoto' is unavailable in watchOS
25 | return photo.metadata
26 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:16:33: error: 'AVCapturePhotoFileDataRepresentationCustomizer' is unavailable in watchOS
14 | }
15 |
16 | class Customizer: NSObject, AVCapturePhotoFileDataRepresentationCustomizer {
| `- error: 'AVCapturePhotoFileDataRepresentationCustomizer' is unavailable in watchOS
17 |
18 | private let photo: AVCapturePhoto
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2358:11: note: 'AVCapturePhotoFileDataRepresentationCustomizer' has been explicitly marked unavailable here
2356 | */
2357 | API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
2358 | @protocol AVCapturePhotoFileDataRepresentationCustomizer <NSObject>
| `- note: 'AVCapturePhotoFileDataRepresentationCustomizer' has been explicitly marked unavailable here
2359 |
2360 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:4:36: error: 'AVCapturePhotoCaptureDelegate' is unavailable in watchOS
2 | import UIKit
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
| `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in watchOS
5 |
6 | private var handler: CaptureHandler?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraController.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVCameraController.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVCameraSession.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVCaptureDelegate.swift
SwiftCompile normal arm64 Compiling\ FocusUseCase.swift,\ RetrieveAvailableCamerasUseCase.swift,\ RotateCameraUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/FocusUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/RetrieveAvailableCamerasUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/RotateCameraUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/FocusUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusUseCase.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/RetrieveAvailableCamerasUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RetrieveAvailableCamerasUseCase.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/RotateCameraUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RotateCameraUseCase.swift
SwiftCompile normal arm64 Compiling\ CameraFactory.swift,\ CameraSettings.swift,\ Device.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/CameraFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/Models/CameraSettings.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/Models/Device.swift (in target 'CameraCapture' from project 'CameraCapture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/CameraFactory.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraFactory.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/Models/CameraSettings.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraSettings.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/Models/Device.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Device.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public API/CameraFactory.swift:17:32: error: 'AVCaptureSession' is unavailable in watchOS
15 | */
16 | public static func make() -> Camera {
17 | let avCaptureSession = AVCaptureSession()
| `- error: 'AVCaptureSession' is unavailable in watchOS
18 |
19 | let photoOutput = AVCapturePhotoOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public API/CameraFactory.swift:19:27: error: 'AVCapturePhotoOutput' is unavailable in watchOS
17 | let avCaptureSession = AVCaptureSession()
18 |
19 | let photoOutput = AVCapturePhotoOutput()
| `- error: 'AVCapturePhotoOutput' is unavailable in watchOS
20 | avCaptureSession.addOutput(photoOutput)
21 | let previewLayer = AVCaptureVideoPreviewLayer(session: avCaptureSession)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Public API/CameraFactory.swift:21:28: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
19 | let photoOutput = AVCapturePhotoOutput()
20 | avCaptureSession.addOutput(photoOutput)
21 | let previewLayer = AVCaptureVideoPreviewLayer(session: avCaptureSession)
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
22 | previewLayer.videoGravity = .resizeAspect
23 | let flashDataSource = DefaultFlashDataSource()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Public API/CameraFactory.swift:22:38: error: 'resizeAspect' is unavailable in watchOS
20 | avCaptureSession.addOutput(photoOutput)
21 | let previewLayer = AVCaptureVideoPreviewLayer(session: avCaptureSession)
22 | previewLayer.videoGravity = .resizeAspect
| `- error: 'resizeAspect' is unavailable in watchOS
23 | let flashDataSource = DefaultFlashDataSource()
24 | let cameraSession = AVCameraSession(captureSession: avCaptureSession, flashDataSource: flashDataSource)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAnimation.h:31:38: note: 'resizeAspect' has been explicitly marked unavailable here
29 | property of an AVPlayerLayer or AVCaptureVideoPreviewLayer instance.
30 | */
31 | AVF_EXPORT AVLayerVideoGravity const AVLayerVideoGravityResizeAspect API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'resizeAspect' has been explicitly marked unavailable here
32 |
33 |
SwiftCompile normal arm64 Compiling\ Presenter.swift,\ PreviewView.swift,\ Camera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/Presenter.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/Camera.swift (in target 'CameraCapture' from project 'CameraCapture')
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:6:31: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
4 | class PreviewView: UIView {
5 |
6 | private let previewLayer: AVCaptureVideoPreviewLayer
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
7 | private let presenter: Presenter
8 | private var pinchRecognizer: UIPinchGestureRecognizer!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/Views/PreviewView.swift:8:34: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
6 | private let previewLayer: AVCaptureVideoPreviewLayer
7 | private let presenter: Presenter
8 | private var pinchRecognizer: UIPinchGestureRecognizer!
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
9 | private var tapRecognizer: UITapGestureRecognizer!
10 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h:20:12: note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIPinchGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic) CGFloat scale; // scale relative to the touch points in screen coordinates
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:9:32: error: 'UITapGestureRecognizer' is unavailable in watchOS
7 | private let presenter: Presenter
8 | private var pinchRecognizer: UIPinchGestureRecognizer!
9 | private var tapRecognizer: UITapGestureRecognizer!
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
10 |
11 | init(previewLayer: AVCaptureVideoPreviewLayer,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:11:24: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
9 | private var tapRecognizer: UITapGestureRecognizer!
10 |
11 | init(previewLayer: AVCaptureVideoPreviewLayer,
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
12 | presenter: Presenter) {
13 | self.previewLayer = previewLayer
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/Views/PreviewView.swift:47:52: error: 'UIDeviceOrientation' is unavailable in watchOS
45 | }
46 |
47 | private func videoOrientation(viewOrientation: UIDeviceOrientation) -> AVCaptureVideoOrientation? {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
48 | switch viewOrientation {
49 | case .portraitUpsideDown: return .portraitUpsideDown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:47:76: error: 'AVCaptureVideoOrientation' is unavailable in watchOS
45 | }
46 |
47 | private func videoOrientation(viewOrientation: UIDeviceOrientation) -> AVCaptureVideoOrientation? {
| `- error: 'AVCaptureVideoOrientation' is unavailable in watchOS
48 | switch viewOrientation {
49 | case .portraitUpsideDown: return .portraitUpsideDown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/Views/PreviewView.swift:57:53: error: 'UIDeviceOrientation' is unavailable in watchOS
55 | }
56 |
57 | private func cameraOrientation(viewOrientation: UIDeviceOrientation) -> CameraOrientation? {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
58 | switch viewOrientation {
59 | case .portraitUpsideDown: return .portraitUpsideDown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:67:36: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
65 | }
66 |
67 | @IBAction func pinch(_ sender: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
68 | if sender.state == .changed {
69 | presenter.didZoomTo(sender.scale)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h:20:12: note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIPinchGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic) CGFloat scale; // scale relative to the touch points in screen coordinates
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:74:62: error: 'UITapGestureRecognizer' is unavailable in watchOS
72 | }
73 |
74 | @objc private func cameraViewTapped(_ gestureRecognizer: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
75 | let location = gestureRecognizer.location(in: self)
76 | showBox(at: location)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:134:37: error: 'CALayer' is unavailable in watchOS
132 | }
133 |
134 | private lazy var focusBoxLayer: CALayer = {
| `- error: 'CALayer' is unavailable in watchOS
135 | let box = CALayer()
136 | box.bounds = CGRect(x: 0, y: 0, width: 200, height: 200)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:135:19: error: 'CALayer' is unavailable in watchOS
133 |
134 | private lazy var focusBoxLayer: CALayer = {
135 | let box = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
136 | box.bounds = CGRect(x: 0, y: 0, width: 200, height: 200)
137 | box.borderWidth = 4
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:4:20: error: 'UIView' is unavailable in watchOS
2 | import AVFoundation
3 |
4 | class PreviewView: UIView {
| `- error: 'UIView' is unavailable in watchOS
5 |
6 | private let previewLayer: AVCaptureVideoPreviewLayer
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:20:27: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
18 | layer.addSublayer(focusBoxLayer)
19 |
20 | pinchRecognizer = UIPinchGestureRecognizer(target: self, action:#selector(pinch(_:)))
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
21 | self.addGestureRecognizer(pinchRecognizer)
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h:20:12: note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIPinchGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic) CGFloat scale; // scale relative to the touch points in screen coordinates
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:23:25: error: 'UITapGestureRecognizer' is unavailable in watchOS
21 | self.addGestureRecognizer(pinchRecognizer)
22 |
23 | tapRecognizer = UITapGestureRecognizer(target: self, action:#selector(cameraViewTapped(_:)))
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
24 | self.addGestureRecognizer(tapRecognizer)
25 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:32:29: error: 'UIDevice' is unavailable in watchOS
30 |
31 | func setupOrientation() {
32 | let currentDevice = UIDevice.current
| `- error: 'UIDevice' is unavailable in watchOS
33 | let orientation: UIDeviceOrientation = currentDevice.orientation
34 | let videoOrientation: AVCaptureVideoOrientation = videoOrientation(viewOrientation: orientation) ?? .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:33:26: error: 'UIDeviceOrientation' is unavailable in watchOS
31 | func setupOrientation() {
32 | let currentDevice = UIDevice.current
33 | let orientation: UIDeviceOrientation = currentDevice.orientation
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
34 | let videoOrientation: AVCaptureVideoOrientation = videoOrientation(viewOrientation: orientation) ?? .portrait
35 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:34:31: error: 'AVCaptureVideoOrientation' is unavailable in watchOS
32 | let currentDevice = UIDevice.current
33 | let orientation: UIDeviceOrientation = currentDevice.orientation
34 | let videoOrientation: AVCaptureVideoOrientation = videoOrientation(viewOrientation: orientation) ?? .portrait
| `- error: 'AVCaptureVideoOrientation' is unavailable in watchOS
35 |
36 | previewLayer.frame = layer.bounds
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/Views/PreviewView.swift:94:9: error: 'CATransaction' is unavailable in watchOS
92 | else { return }
93 |
94 | CATransaction.begin()
| `- error: 'CATransaction' is unavailable in watchOS
95 | CATransaction.setDisableActions(true)
96 | focusBoxLayer.position = point
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:95:9: error: 'CATransaction' is unavailable in watchOS
93 |
94 | CATransaction.begin()
95 | CATransaction.setDisableActions(true)
| `- error: 'CATransaction' is unavailable in watchOS
96 | focusBoxLayer.position = point
97 | CATransaction.commit()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:97:9: error: 'CATransaction' is unavailable in watchOS
95 | CATransaction.setDisableActions(true)
96 | focusBoxLayer.position = point
97 | CATransaction.commit()
| `- error: 'CATransaction' is unavailable in watchOS
98 |
99 | let scale = CABasicAnimation(keyPath: "transform.scale")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:99:21: error: 'CABasicAnimation' is unavailable in watchOS
97 | CATransaction.commit()
98 |
99 | let scale = CABasicAnimation(keyPath: "transform.scale")
| `- error: 'CABasicAnimation' is unavailable in watchOS
100 | scale.fromValue = 1
101 | scale.toValue = 0.375
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:104:27: error: 'forwards' is unavailable in watchOS
102 | scale.duration = 0.3
103 | scale.isRemovedOnCompletion = false
104 | scale.fillMode = .forwards
| `- error: 'forwards' is unavailable in watchOS
105 |
106 | let opacityFadeIn = CABasicAnimation(keyPath: "opacity")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:86:39: note: 'forwards' has been explicitly marked unavailable here
84 | /* `fillMode' options. */
85 |
86 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeForwards
| `- note: 'forwards' has been explicitly marked unavailable here
87 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:106:29: error: 'CABasicAnimation' is unavailable in watchOS
104 | scale.fillMode = .forwards
105 |
106 | let opacityFadeIn = CABasicAnimation(keyPath: "opacity")
| `- error: 'CABasicAnimation' is unavailable in watchOS
107 | opacityFadeIn.fromValue = 0
108 | opacityFadeIn.toValue = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:111:35: error: 'forwards' is unavailable in watchOS
109 | opacityFadeIn.duration = 0.3
110 | opacityFadeIn.isRemovedOnCompletion = false
111 | opacityFadeIn.fillMode = .forwards
| `- error: 'forwards' is unavailable in watchOS
112 |
113 | let pulsing = CABasicAnimation(keyPath: "borderColor")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:86:39: note: 'forwards' has been explicitly marked unavailable here
84 | /* `fillMode' options. */
85 |
86 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeForwards
| `- note: 'forwards' has been explicitly marked unavailable here
87 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:113:23: error: 'CABasicAnimation' is unavailable in watchOS
111 | opacityFadeIn.fillMode = .forwards
112 |
113 | let pulsing = CABasicAnimation(keyPath: "borderColor")
| `- error: 'CABasicAnimation' is unavailable in watchOS
114 | pulsing.toValue = UIColor(red: 248/255, green: 216/255, blue: 74/255, alpha: 0.5).cgColor
115 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:118:29: error: 'CACurrentMediaTime()' is unavailable in watchOS
116 | pulsing.repeatCount = 2
117 | pulsing.duration = 0.2
118 | pulsing.beginTime = CACurrentMediaTime() + 0.3
| `- error: 'CACurrentMediaTime()' is unavailable in watchOS
119 |
120 | let opacityFadeOut = CABasicAnimation(keyPath: "opacity")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h:127:26: note: 'CACurrentMediaTime()' has been explicitly marked unavailable here
125 | * calling mach_absolute_time () and converting the units to seconds. */
126 |
127 | CA_EXTERN CFTimeInterval CACurrentMediaTime (void)
| `- note: 'CACurrentMediaTime()' has been explicitly marked unavailable here
128 | API_AVAILABLE(macos(10.5), ios(2.0)) API_UNAVAILABLE(watchos);
129 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:120:30: error: 'CABasicAnimation' is unavailable in watchOS
118 | pulsing.beginTime = CACurrentMediaTime() + 0.3
119 |
120 | let opacityFadeOut = CABasicAnimation(keyPath: "opacity")
| `- error: 'CABasicAnimation' is unavailable in watchOS
121 | opacityFadeOut.fromValue = 1
122 | opacityFadeOut.toValue = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:124:36: error: 'CACurrentMediaTime()' is unavailable in watchOS
122 | opacityFadeOut.toValue = 0
123 | opacityFadeOut.duration = 0.5
124 | opacityFadeOut.beginTime = CACurrentMediaTime() + 1
| `- error: 'CACurrentMediaTime()' is unavailable in watchOS
125 | opacityFadeOut.isRemovedOnCompletion = false
126 | opacityFadeOut.fillMode = .forwards
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h:127:26: note: 'CACurrentMediaTime()' has been explicitly marked unavailable here
125 | * calling mach_absolute_time () and converting the units to seconds. */
126 |
127 | CA_EXTERN CFTimeInterval CACurrentMediaTime (void)
| `- note: 'CACurrentMediaTime()' has been explicitly marked unavailable here
128 | API_AVAILABLE(macos(10.5), ios(2.0)) API_UNAVAILABLE(watchos);
129 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:126:36: error: 'forwards' is unavailable in watchOS
124 | opacityFadeOut.beginTime = CACurrentMediaTime() + 1
125 | opacityFadeOut.isRemovedOnCompletion = false
126 | opacityFadeOut.fillMode = .forwards
| `- error: 'forwards' is unavailable in watchOS
127 |
128 | focusBoxLayer.add(scale, forKey: scaleKey)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:86:39: note: 'forwards' has been explicitly marked unavailable here
84 | /* `fillMode' options. */
85 |
86 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeForwards
| `- note: 'forwards' has been explicitly marked unavailable here
87 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/Presenter.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Presenter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PreviewView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/Camera.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Camera.swift
SwiftCompile normal arm64 Compiling\ SetZoomUseCase.swift,\ StartCameraUseCase.swift,\ TakePhotoUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetZoomUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/StartCameraUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/TakePhotoUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetZoomUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SetZoomUseCase.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/StartCameraUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StartCameraUseCase.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/TakePhotoUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TakePhotoUseCase.swift
SwiftCompile normal arm64 Compiling\ SetCameraUseCase.swift,\ SetFlashStateUseCase.swift,\ SetRotationUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetCameraUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetFlashStateUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetRotationUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetCameraUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SetCameraUseCase.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetFlashStateUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SetFlashStateUseCase.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetRotationUseCase.swift (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SetRotationUseCase.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ CameraCapture (in target 'CameraCapture' from project 'CameraCapture')
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:12:30: error: 'AVCapturePhotoOutput' is unavailable in watchOS
10 | class AVCameraController: CameraController {
11 |
12 | private let photoOutput: AVCapturePhotoOutput
| `- error: 'AVCapturePhotoOutput' is unavailable in watchOS
13 | private let delegate = AVCaptureDelegate()
14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:15:23: error: 'AVCapturePhotoOutput' is unavailable in watchOS
13 | private let delegate = AVCaptureDelegate()
14 |
15 | init(photoOutput: AVCapturePhotoOutput) {
| `- error: 'AVCapturePhotoOutput' is unavailable in watchOS
16 | self.photoOutput = photoOutput
17 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:36:50: error: 'AVCaptureDevice' is unavailable in watchOS
34 |
35 | enum CameraFlashToAVSettings {
36 | static func adapt(flashState: FlashState) -> AVCaptureDevice.FlashMode {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
37 | switch flashState {
38 | case .on:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraController.swift:49:58: error: 'AVCaptureVideoOrientation' is unavailable in watchOS
47 |
48 | enum CameraOrientationToAVSettings {
49 | static func adapt(orientation: CameraOrientation) -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in watchOS
50 | switch orientation {
51 | case .landscapeLeft:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:13:33: error: 'AVCaptureSession' is unavailable in watchOS
11 |
12 | class AVCameraSession: CameraSesion {
13 | private let captureSession: AVCaptureSession
| `- error: 'AVCaptureSession' is unavailable in watchOS
14 | private let flashDataSource: FlashDataSource
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift:31:26: error: 'AVCaptureSession' is unavailable in watchOS
29 | }
30 |
31 | init(captureSession: AVCaptureSession,
| `- error: 'AVCaptureSession' is unavailable in watchOS
32 | flashDataSource: FlashDataSource) {
33 | self.captureSession = captureSession
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:12:32: error: 'AVCapturePhotoOutput' is unavailable in watchOS
10 | }
11 |
12 | func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhotoOutput' is unavailable in watchOS
13 | handler?.didCapturePhoto(photo.fileDataRepresentation(with: Customizer(photo: photo)), error: error)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:12:86: error: 'AVCapturePhoto' is unavailable in watchOS
10 | }
11 |
12 | func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhoto' is unavailable in watchOS
13 | handler?.didCapturePhoto(photo.fileDataRepresentation(with: Customizer(photo: photo)), error: error)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:18:28: error: 'AVCapturePhoto' is unavailable in watchOS
16 | class Customizer: NSObject, AVCapturePhotoFileDataRepresentationCustomizer {
17 |
18 | private let photo: AVCapturePhoto
| `- error: 'AVCapturePhoto' is unavailable in watchOS
19 |
20 | init(photo: AVCapturePhoto) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:20:21: error: 'AVCapturePhoto' is unavailable in watchOS
18 | private let photo: AVCapturePhoto
19 |
20 | init(photo: AVCapturePhoto) {
| `- error: 'AVCapturePhoto' is unavailable in watchOS
21 | self.photo = photo
22 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:24:45: error: 'AVCapturePhoto' is unavailable in watchOS
22 | }
23 |
24 | func replacementMetadata(for photo: AVCapturePhoto) -> [String : Any]? {
| `- error: 'AVCapturePhoto' is unavailable in watchOS
25 | return photo.metadata
26 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:16:33: error: 'AVCapturePhotoFileDataRepresentationCustomizer' is unavailable in watchOS
14 | }
15 |
16 | class Customizer: NSObject, AVCapturePhotoFileDataRepresentationCustomizer {
| `- error: 'AVCapturePhotoFileDataRepresentationCustomizer' is unavailable in watchOS
17 |
18 | private let photo: AVCapturePhoto
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2358:11: note: 'AVCapturePhotoFileDataRepresentationCustomizer' has been explicitly marked unavailable here
2356 | */
2357 | API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
2358 | @protocol AVCapturePhotoFileDataRepresentationCustomizer <NSObject>
| `- note: 'AVCapturePhotoFileDataRepresentationCustomizer' has been explicitly marked unavailable here
2359 |
2360 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:4:36: error: 'AVCapturePhotoCaptureDelegate' is unavailable in watchOS
2 | import UIKit
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
| `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in watchOS
5 |
6 | private var handler: CaptureHandler?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:11:33: error: cannot find type 'AVCaptureSession' in scope
9 | class AVCaptureDeviceDataSource: DataSource {
10 |
11 | private let captureSession: AVCaptureSession
| `- error: cannot find type 'AVCaptureSession' in scope
12 | private let flashDataSource: FlashDataSource
13 |
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift:14:26: error: cannot find type 'AVCaptureSession' in scope
12 | private let flashDataSource: FlashDataSource
13 |
14 | init(captureSession: AVCaptureSession,
| `- error: cannot find type 'AVCaptureSession' in scope
15 | flashDataSource: FlashDataSource) {
16 | self.captureSession = captureSession
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVFocusController.swift:9:26: error: 'AVCaptureSession' is unavailable in watchOS
7 | class AVFocusController: FocusController {
8 |
9 | private let session: AVCaptureSession
| `- error: 'AVCaptureSession' is unavailable in watchOS
10 |
11 | init(session: AVCaptureSession) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVFocusController.swift:11:19: error: 'AVCaptureSession' is unavailable in watchOS
9 | private let session: AVCaptureSession
10 |
11 | init(session: AVCaptureSession) {
| `- error: 'AVCaptureSession' is unavailable in watchOS
12 | self.session = session
13 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVZoomController.swift:9:26: error: 'AVCaptureSession' is unavailable in watchOS
7 | class AVZoomController: ZoomController {
8 |
9 | private let session: AVCaptureSession
| `- error: 'AVCaptureSession' is unavailable in watchOS
10 |
11 | init(session: AVCaptureSession) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVZoomController.swift:11:19: error: 'AVCaptureSession' is unavailable in watchOS
9 | private let session: AVCaptureSession
10 |
11 | init(session: AVCaptureSession) {
| `- error: 'AVCaptureSession' is unavailable in watchOS
12 | self.session = session
13 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:31:31: error: 'AVCaptureDevice' is unavailable in watchOS
29 | enum AVCaptureDeviceToCameraAdapter {
30 |
31 | static func adapt(device: AVCaptureDevice, flashDataSource: FlashDataSource) -> Device {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
32 | var zoomOptions: [Double] = []
33 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:59:39: error: 'AVCaptureDevice' is unavailable in watchOS
57 | }
58 |
59 | private static func adapt(device: AVCaptureDevice.DeviceType?) -> DeviceType {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
60 | guard let device = device else {
61 | return .unspecified
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift:75:41: error: 'AVCaptureDevice' is unavailable in watchOS
73 | }
74 |
75 | private static func adapt(position: AVCaptureDevice.Position) -> DevicePosition {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
76 | switch position {
77 | case .back: return .back
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/DefaultCamera.swift:4:22: error: 'UIView' is unavailable in watchOS
2 |
3 | class DefaultCamera: Camera {
4 | var previewView: UIView
| `- error: 'UIView' is unavailable in watchOS
5 | var availableDevices: [Device] {
6 | retrieveCameraUseCase.get()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/DefaultCamera.swift:15:23: error: 'UIView' is unavailable in watchOS
13 | private let setZoomUseCase: SetZoomUseCase
14 |
15 | init(previewView: UIView,
| `- error: 'UIView' is unavailable in watchOS
16 | setCameraUseCase: SetCameraUseCase,
17 | retrieveCameraUseCase: RetrieveAvailableCamerasUseCase,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:6:31: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
4 | class PreviewView: UIView {
5 |
6 | private let previewLayer: AVCaptureVideoPreviewLayer
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
7 | private let presenter: Presenter
8 | private var pinchRecognizer: UIPinchGestureRecognizer!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/Views/PreviewView.swift:8:34: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
6 | private let previewLayer: AVCaptureVideoPreviewLayer
7 | private let presenter: Presenter
8 | private var pinchRecognizer: UIPinchGestureRecognizer!
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
9 | private var tapRecognizer: UITapGestureRecognizer!
10 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h:20:12: note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIPinchGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic) CGFloat scale; // scale relative to the touch points in screen coordinates
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:9:32: error: 'UITapGestureRecognizer' is unavailable in watchOS
7 | private let presenter: Presenter
8 | private var pinchRecognizer: UIPinchGestureRecognizer!
9 | private var tapRecognizer: UITapGestureRecognizer!
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
10 |
11 | init(previewLayer: AVCaptureVideoPreviewLayer,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:11:24: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
9 | private var tapRecognizer: UITapGestureRecognizer!
10 |
11 | init(previewLayer: AVCaptureVideoPreviewLayer,
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
12 | presenter: Presenter) {
13 | self.previewLayer = previewLayer
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/Views/PreviewView.swift:47:52: error: 'UIDeviceOrientation' is unavailable in watchOS
45 | }
46 |
47 | private func videoOrientation(viewOrientation: UIDeviceOrientation) -> AVCaptureVideoOrientation? {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
48 | switch viewOrientation {
49 | case .portraitUpsideDown: return .portraitUpsideDown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:47:76: error: 'AVCaptureVideoOrientation' is unavailable in watchOS
45 | }
46 |
47 | private func videoOrientation(viewOrientation: UIDeviceOrientation) -> AVCaptureVideoOrientation? {
| `- error: 'AVCaptureVideoOrientation' is unavailable in watchOS
48 | switch viewOrientation {
49 | case .portraitUpsideDown: return .portraitUpsideDown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/CameraCapture/Implementation/Views/PreviewView.swift:57:53: error: 'UIDeviceOrientation' is unavailable in watchOS
55 | }
56 |
57 | private func cameraOrientation(viewOrientation: UIDeviceOrientation) -> CameraOrientation? {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
58 | switch viewOrientation {
59 | case .portraitUpsideDown: return .portraitUpsideDown
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:67:36: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
65 | }
66 |
67 | @IBAction func pinch(_ sender: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
68 | if sender.state == .changed {
69 | presenter.didZoomTo(sender.scale)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h:20:12: note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIPinchGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic) CGFloat scale; // scale relative to the touch points in screen coordinates
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:74:62: error: 'UITapGestureRecognizer' is unavailable in watchOS
72 | }
73 |
74 | @objc private func cameraViewTapped(_ gestureRecognizer: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
75 | let location = gestureRecognizer.location(in: self)
76 | showBox(at: location)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:134:37: error: 'CALayer' is unavailable in watchOS
132 | }
133 |
134 | private lazy var focusBoxLayer: CALayer = {
| `- error: 'CALayer' is unavailable in watchOS
135 | let box = CALayer()
136 | box.bounds = CGRect(x: 0, y: 0, width: 200, height: 200)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:135:19: error: 'CALayer' is unavailable in watchOS
133 |
134 | private lazy var focusBoxLayer: CALayer = {
135 | let box = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
136 | box.bounds = CGRect(x: 0, y: 0, width: 200, height: 200)
137 | box.borderWidth = 4
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift:4:20: error: 'UIView' is unavailable in watchOS
2 | import AVFoundation
3 |
4 | class PreviewView: UIView {
| `- error: 'UIView' is unavailable in watchOS
5 |
6 | private let previewLayer: AVCaptureVideoPreviewLayer
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public API/Camera.swift:16:22: error: 'UIView' is unavailable in watchOS
14 | This is the view the camera preview will be displayed on. Adding this to your view will show the output from the camera.
15 | */
16 | var previewView: UIView { get }
| `- error: 'UIView' is unavailable in watchOS
17 |
18 | /**
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
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/CameraCapture/Implementation/AVFoundation/AVCameraController.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCameraSession.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVDataSource.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVFlashController.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVFocusController.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVZoomController.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Adapters.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/CameraRepo.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/CaptureHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/DefaultCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/SettingsRepo.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/FocusUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/RetrieveAvailableCamerasUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/RotateCameraUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetCameraUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetFlashStateUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetRotationUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/SetZoomUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/StartCameraUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Use\ Cases/TakePhotoUseCase.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/Presenter.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/Views/PreviewView.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/Camera.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/CameraFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/Models/CameraSettings.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/Models/Device.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/Models/PhotoCaptureError.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Public\ API/Models/ZoomObserver.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -swift-module-cross-import AVKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVKit.framework/Modules/AVKit.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.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/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CameraCapture -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CameraCapture.build/Debug-watchos/CameraCapture-t.build/Objects-normal/arm64_32/CameraCapture.abi.json
SwiftCompile normal arm64_32 (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ CameraCapture (in target 'CameraCapture' from project 'CameraCapture')
SwiftCompile normal arm64 (in target 'CameraCapture' from project 'CameraCapture')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-20 08:27:39.282 xcodebuild[800:4710] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-20 08:27:39.430 xcodebuild[800:4710] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ CameraCapture (in target 'CameraCapture' from project 'CameraCapture')
SwiftCompile normal arm64_32 (in target 'CameraCapture' from project 'CameraCapture')
Building workspace CameraCapture with scheme CameraCapture
(3 failures)
BUILD FAILURE 6.4 watchOS