The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWDualCamera, reference main (52b1bb), with Swift 6.4 for watchOS using Xcode 27.0 on 21 Sep 2026 10:02:12 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 WWDualCamera -destination generic/platform=watchOS

Build Log

105 |     static func _default(_ deviceType: AVCaptureDevice.DeviceType, for mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> AVCaptureDevice? { return AVCaptureDevice.default(deviceType, for: mediaType, position: position) }
    |                                                                                                           `- error: 'AVCaptureDevice' is unavailable in watchOS
106 |
107 |     /// 搜尋影音裝置
/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/WWDualCamera/Extension.swift:105:136: error: 'AVCaptureDevice' is unavailable in watchOS
103 |     ///   - position: AVCaptureDevice.Position
104 |     /// - Returns: AVCaptureDevice?
105 |     static func _default(_ deviceType: AVCaptureDevice.DeviceType, for mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> AVCaptureDevice? { return AVCaptureDevice.default(deviceType, for: mediaType, position: position) }
    |                                                                                                                                        `- error: 'AVCaptureDevice' is unavailable in watchOS
106 |
107 |     /// 搜尋影音裝置
/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/WWDualCamera/Extension.swift:113:42: error: 'AVCaptureDevice' is unavailable in watchOS
111 |     ///   - position: AVCaptureDevice.Position
112 |     /// - Returns: [AVCaptureDevice]
113 |     static func _discovery(deviceTypes: [AVCaptureDevice.DeviceType], mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> [AVCaptureDevice] {
    |                                          `- error: 'AVCaptureDevice' is unavailable in watchOS
114 |
115 |         let devices = AVCaptureDevice.DiscoverySession(deviceTypes: deviceTypes, mediaType: mediaType, position: position).devices
/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/WWDualCamera/Extension.swift:113:106: error: 'AVCaptureDevice' is unavailable in watchOS
111 |     ///   - position: AVCaptureDevice.Position
112 |     /// - Returns: [AVCaptureDevice]
113 |     static func _discovery(deviceTypes: [AVCaptureDevice.DeviceType], mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> [AVCaptureDevice] {
    |                                                                                                          `- error: 'AVCaptureDevice' is unavailable in watchOS
114 |
115 |         let devices = AVCaptureDevice.DiscoverySession(deviceTypes: deviceTypes, mediaType: mediaType, position: position).devices
/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/WWDualCamera/Extension.swift:113:136: error: 'AVCaptureDevice' is unavailable in watchOS
111 |     ///   - position: AVCaptureDevice.Position
112 |     /// - Returns: [AVCaptureDevice]
113 |     static func _discovery(deviceTypes: [AVCaptureDevice.DeviceType], mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> [AVCaptureDevice] {
    |                                                                                                                                        `- error: 'AVCaptureDevice' is unavailable in watchOS
114 |
115 |         let devices = AVCaptureDevice.DiscoverySession(deviceTypes: deviceTypes, mediaType: mediaType, position: position).devices
/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/WWDualCamera/Extension.swift:97:11: error: 'AVCaptureDevice' is unavailable in watchOS
 95 |
 96 | // MARK: - AVCaptureDevice (static function)
 97 | extension AVCaptureDevice {
    |           `- error: 'AVCaptureDevice' is unavailable in watchOS
 98 |
 99 |     /// [取得該選項的影音裝置](https://www.wwdcnotes.com/notes/wwdc19/249/)
/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/WWDualCamera/Extension.swift:124:36: error: 'AVCaptureDeviceInput' is unavailable in watchOS
122 |
123 |     /// 取得該裝置的Input => NSCameraUsageDescription / NSMicrophoneUsageDescription
124 |     func _captureInput() -> Result<AVCaptureDeviceInput, Error> {
    |                                    `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
125 |
126 |         do {
/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/WWDualCamera/Extension.swift:121:11: error: 'AVCaptureDevice' is unavailable in watchOS
119 |
120 | // MARK: - AVCaptureDevice (function)
121 | extension AVCaptureDevice {
    |           `- error: 'AVCaptureDevice' is unavailable in watchOS
122 |
123 |     /// 取得該裝置的Input => NSCameraUsageDescription / NSMicrophoneUsageDescription
/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/WWDualCamera/Extension.swift:141:51: error: 'AVCaptureInput' is unavailable in watchOS
139 |     /// - Parameter mediaType: AVMediaType
140 |     /// - Returns: AVCaptureInput.Port?
141 |     func _port(forType mediaType: AVMediaType) -> AVCaptureInput.Port? {
    |                                                   `- error: 'AVCaptureInput' is unavailable in watchOS
142 |         return ports.first(where: { $0.mediaType == mediaType })
143 |     }
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:136:11: error: 'AVCaptureDeviceInput' is unavailable in watchOS
134 |
135 | // MARK: - AVCaptureDeviceInput (function)
136 | extension AVCaptureDeviceInput {
    |           `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
137 |
138 |     /// 取得該媒體類型的Port
/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/WWDualCamera/Extension.swift:154:32: error: 'AVCaptureInput' is unavailable in watchOS
152 |     ///   - isConnections: [Bool](https://www.cnblogs.com/zouchenxi/p/14900858.html)
153 |     /// - Returns: Bool
154 |     func _canAddInput(_ input: AVCaptureInput?, isConnections: Bool) -> Bool {
    |                                `- error: 'AVCaptureInput' is unavailable in watchOS
155 |
156 |         guard let input = input,
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:171:34: error: 'AVCaptureOutput' is unavailable in watchOS
169 |     ///   - isConnections: Bool
170 |     /// - Returns: Bool
171 |     func _canAddOutput(_ output: AVCaptureOutput?, isConnections: Bool) -> Bool {
    |                                  `- error: 'AVCaptureOutput' is unavailable in watchOS
172 |
173 |         guard let output = output,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:186:42: error: 'AVCaptureConnection' is unavailable in watchOS
184 |     /// - Parameter connection: AVCaptureConnection?
185 |     /// - Returns: Bool
186 |     func _canAddConnection(_ connection: AVCaptureConnection?) -> Bool {
    |                                          `- error: 'AVCaptureConnection' is unavailable in watchOS
187 |
188 |         return _configuration {
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:207:103: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
205 |     ///   - isConnections: [Bool](https://developer.apple.com/documentation/avfoundation/avcapturevideopreviewlayer/1387426-init)
206 |     /// - Returns: AVCaptureVideoPreviewLayer
207 |     func _previewLayer(with frame: CGRect, videoGravity: AVLayerVideoGravity, isConnections: Bool) -> AVCaptureVideoPreviewLayer {
    |                                                                                                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
208 |
209 |         let previewLayer = isConnections ? AVCaptureVideoPreviewLayer(session: self) : AVCaptureVideoPreviewLayer(sessionWithNoConnection: self)
/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/WWDualCamera/Extension.swift:147:11: error: 'AVCaptureSession' is unavailable in watchOS
145 |
146 | // MARK: - AVCaptureSession (function)
147 | extension AVCaptureSession {
    |           `- error: 'AVCaptureSession' is unavailable in watchOS
148 |
149 |     /// 將影音的Input加入Session (可以不連接)
/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/WWDualCamera/Extension.swift:228:34: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
226 |     ///   - isAlwaysDiscardsLateVideoFrames: [Bool](https://blog.csdn.net/github_36843038/article/details/114550865)
227 |     /// - Returns: AVCaptureVideoDataOutput
228 |     static func _build(delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, isAlwaysDiscardsLateVideoFrames: Bool, videoSettings: [String : Any], queue: DispatchQueue?) -> AVCaptureVideoDataOutput {
    |                                  `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
229 |
230 |         let output = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 |  */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:228:177: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
226 |     ///   - isAlwaysDiscardsLateVideoFrames: [Bool](https://blog.csdn.net/github_36843038/article/details/114550865)
227 |     /// - Returns: AVCaptureVideoDataOutput
228 |     static func _build(delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, isAlwaysDiscardsLateVideoFrames: Bool, videoSettings: [String : Any], queue: DispatchQueue?) -> AVCaptureVideoDataOutput {
    |                                                                                                                                                                                 `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
229 |
230 |         let output = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 29 |  */
 30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 32 | {
 33 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:219:11: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
217 |
218 | // MARK: - AVCaptureVideoDataOutput (static function)
219 | extension AVCaptureVideoDataOutput {
    |           `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
220 |
221 |     /// 建立AVCaptureVideoDataOutput (影像)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 29 |  */
 30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 32 | {
 33 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:248:37: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
246 |     ///   - device: AVCaptureDevice
247 |     /// - Returns: Bool
248 |     func _stabilizationMode(_ mode: AVCaptureVideoStabilizationMode, device: AVCaptureDevice) -> Bool {
    |                                     `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
249 |         return connection?._stabilizationMode(mode, device: device) ?? false
250 |     }
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:248:78: error: 'AVCaptureDevice' is unavailable in watchOS
246 |     ///   - device: AVCaptureDevice
247 |     /// - Returns: Bool
248 |     func _stabilizationMode(_ mode: AVCaptureVideoStabilizationMode, device: AVCaptureDevice) -> Bool {
    |                                                                              `- error: 'AVCaptureDevice' is unavailable in watchOS
249 |         return connection?._stabilizationMode(mode, device: device) ?? false
250 |     }
/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/WWDualCamera/Extension.swift:241:11: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
239 |
240 | // MARK: - AVCaptureVideoPreviewLayer (function)
241 | extension AVCaptureVideoPreviewLayer {
    |           `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
242 |
243 |     /// 設定防手震模式
/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/WWDualCamera/Extension.swift:261:37: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
259 |     ///   - device: AVCaptureDevice
260 |     /// - Returns: Bool
261 |     func _stabilizationMode(_ mode: AVCaptureVideoStabilizationMode, device: AVCaptureDevice) -> Bool {
    |                                     `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
262 |
263 |         guard device.activeFormat.isVideoStabilizationModeSupported(mode) else { return false }
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:261:78: error: 'AVCaptureDevice' is unavailable in watchOS
259 |     ///   - device: AVCaptureDevice
260 |     /// - Returns: Bool
261 |     func _stabilizationMode(_ mode: AVCaptureVideoStabilizationMode, device: AVCaptureDevice) -> Bool {
    |                                                                              `- error: 'AVCaptureDevice' is unavailable in watchOS
262 |
263 |         guard device.activeFormat.isVideoStabilizationModeSupported(mode) else { return false }
/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/WWDualCamera/Extension.swift:254:11: error: 'AVCaptureConnection' is unavailable in watchOS
252 |
253 | // MARK: - AVCaptureConnection (function)
254 | extension AVCaptureConnection {
    |           `- error: 'AVCaptureConnection' is unavailable in watchOS
255 |
256 |     /// [設定防手震模式](https://stackoverflow.com/questions/77030040/how-to-activate-preferredvideostabilizationmode-for-avcapturesessionpresetphoto)
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:16:21: error: 'AVCaptureDevice' is unavailable in watchOS
 14 |     public typealias CameraSessionInput = (
 15 |         frame: CGRect,                              // 放在哪個位置上面
 16 |         deviceType: AVCaptureDevice.DeviceType,     // 鏡頭裝置類型
    |                     `- error: 'AVCaptureDevice' is unavailable in watchOS
 17 |         position: AVCaptureDevice.Position          // 鏡頭前後位置
 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/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/WWDualCamera/WWDualCamera.swift:17:19: error: 'AVCaptureDevice' is unavailable in watchOS
 15 |         frame: CGRect,                              // 放在哪個位置上面
 16 |         deviceType: AVCaptureDevice.DeviceType,     // 鏡頭裝置類型
 17 |         position: AVCaptureDevice.Position          // 鏡頭前後位置
    |                   `- error: 'AVCaptureDevice' is unavailable in watchOS
 18 |     )
 19 |
/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/WWDualCamera/WWDualCamera.swift:21:16: error: 'AVCaptureDeviceInput' is unavailable in watchOS
 19 |
 20 |     public typealias CameraSessionOutput = (
 21 |         input: AVCaptureDeviceInput?,               // 裝置輸入
    |                `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
 22 |         output: AVCaptureVideoDataOutput?,          // 影像輸出
 23 |         previewLayer: AVCaptureVideoPreviewLayer?,  // 預覽畫面
/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/WWDualCamera/WWDualCamera.swift:22:17: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
 20 |     public typealias CameraSessionOutput = (
 21 |         input: AVCaptureDeviceInput?,               // 裝置輸入
 22 |         output: AVCaptureVideoDataOutput?,          // 影像輸出
    |                 `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
 23 |         previewLayer: AVCaptureVideoPreviewLayer?,  // 預覽畫面
 24 |         error: Error?                               // 錯誤
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 29 |  */
 30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 32 | {
 33 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:23:23: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
 21 |         input: AVCaptureDeviceInput?,               // 裝置輸入
 22 |         output: AVCaptureVideoDataOutput?,          // 影像輸出
 23 |         previewLayer: AVCaptureVideoPreviewLayer?,  // 預覽畫面
    |                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
 24 |         error: Error?                               // 錯誤
 25 |     )
/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/WWDualCamera/WWDualCamera.swift:32:31: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 30 |     )
 31 |
 32 |     public let multiSession = AVCaptureMultiCamSession()
    |                               `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 33 |
 34 |     /// [是否支援多鏡頭同時動作](https://developer.apple.com/documentation/avfoundation/avcapturemulticamsession/3183002-multicamsupported)
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:53:22: error: 'AVCaptureConnection' is unavailable in watchOS
 51 |     /// 開始執行
 52 |     /// - Returns: Result<[AVCaptureConnection], Error>
 53 |     func start() -> [AVCaptureConnection] {
    |                      `- error: 'AVCaptureConnection' is unavailable in watchOS
 54 |         multiSession.startRunning()
 55 |         return multiSession.connections
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:60:21: error: 'AVCaptureConnection' is unavailable in watchOS
 58 |     /// 關閉執行
 59 |     /// - Returns: 有連上Session的Connection
 60 |     func stop() -> [AVCaptureConnection] {
    |                     `- error: 'AVCaptureConnection' is unavailable in watchOS
 61 |         multiSession.stopRunning()
 62 |         return multiSession.connections
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:70:23: error: 'AVCaptureInput' is unavailable in watchOS
 68 |     ///   - inputs: [AVCaptureInput]
 69 |     ///   - isConnections: Bool
 70 |     func addInputs<T: AVCaptureInput>(_ inputs: [T], isConnections: Bool = true) -> Bool {
    |                       `- error: 'AVCaptureInput' is unavailable in watchOS
 71 |
 72 |         var isSuccess = true
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:83:24: error: 'AVCaptureOutput' is unavailable in watchOS
 81 |     ///   - isConnections: Bool
 82 |     /// - Returns: Bool
 83 |     func addOutputs<T: AVCaptureOutput>(_ outputs: [T], isConnections: Bool = true) -> Bool {
    |                        `- error: 'AVCaptureOutput' is unavailable in watchOS
 84 |
 85 |         var isSuccess = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:94:41: error: 'AVCaptureConnection' is unavailable in watchOS
 92 |     /// - Parameter connection: AVCaptureConnection?
 93 |     /// - Returns: Result<[AVCaptureConnection], Error>
 94 |     func canAddConnection(_ connection: AVCaptureConnection?) -> Bool {
    |                                         `- error: 'AVCaptureConnection' is unavailable in watchOS
 95 |         return multiSession._canAddConnection(connection)
 96 |     }
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:100:33: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 98 |     /// 相關的設定 (切換硬體)
 99 |     /// - Parameter action: AVCaptureMultiCamSession
100 |     func configuration(action: (AVCaptureMultiCamSession) -> Void) {
    |                                 `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
101 |         multiSession._configuration { action(multiSession) }
102 |     }
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:107:34: error: 'AVCaptureInput' is unavailable in watchOS
105 |     /// - Parameter inputs: [AVCaptureInput]
106 |     /// - Returns: AVCaptureMultiCamSession所剩下的inputs
107 |     func removeInputs(_ inputs: [AVCaptureInput]) -> [AVCaptureInput] {
    |                                  `- error: 'AVCaptureInput' is unavailable in watchOS
108 |         inputs.forEach { multiSession.removeInput($0) }
109 |         return multiSession.inputs
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:107:55: error: 'AVCaptureInput' is unavailable in watchOS
105 |     /// - Parameter inputs: [AVCaptureInput]
106 |     /// - Returns: AVCaptureMultiCamSession所剩下的inputs
107 |     func removeInputs(_ inputs: [AVCaptureInput]) -> [AVCaptureInput] {
    |                                                       `- error: 'AVCaptureInput' is unavailable in watchOS
108 |         inputs.forEach { multiSession.removeInput($0) }
109 |         return multiSession.inputs
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:114:32: error: 'AVCaptureInput' is unavailable in watchOS
112 |     /// 移除所有輸入裝置
113 |     /// - Returns: AVCaptureMultiCamSession所剩下的inputs
114 |     func removeAllInputs() -> [AVCaptureInput] {
    |                                `- error: 'AVCaptureInput' is unavailable in watchOS
115 |         removeInputs(multiSession.inputs)
116 |     }
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:121:36: error: 'AVCaptureOutput' is unavailable in watchOS
119 |     /// - Parameter inputs: [AVCaptureInput]
120 |     /// - Returns: AVCaptureMultiCamSession所剩下的outputs
121 |     func removeOutputs(_ outputs: [AVCaptureOutput]) -> [AVCaptureOutput] {
    |                                    `- error: 'AVCaptureOutput' is unavailable in watchOS
122 |         outputs.forEach { multiSession.removeOutput($0) }
123 |         return multiSession.outputs
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:121:58: error: 'AVCaptureOutput' is unavailable in watchOS
119 |     /// - Parameter inputs: [AVCaptureInput]
120 |     /// - Returns: AVCaptureMultiCamSession所剩下的outputs
121 |     func removeOutputs(_ outputs: [AVCaptureOutput]) -> [AVCaptureOutput] {
    |                                                          `- error: 'AVCaptureOutput' is unavailable in watchOS
122 |         outputs.forEach { multiSession.removeOutput($0) }
123 |         return multiSession.outputs
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:128:33: error: 'AVCaptureOutput' is unavailable in watchOS
126 |     /// 移除所有輸出裝置
127 |     /// - Returns: AVCaptureMultiCamSession所剩下的outputs
128 |     func removeAllOutputs() -> [AVCaptureOutput] {
    |                                 `- error: 'AVCaptureOutput' is unavailable in watchOS
129 |         removeOutputs(multiSession.outputs)
130 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:135:44: error: 'AVCaptureConnection' is unavailable in watchOS
133 |     /// - Parameter connection: AVCaptureConnection?
134 |     /// - Returns: Bool
135 |     func canRemoveConnection(_ connection: AVCaptureConnection?) -> Bool {
    |                                            `- error: 'AVCaptureConnection' is unavailable in watchOS
136 |         return multiSession._canRemoveConnection(connection)
137 |     }
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:146:35: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
144 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
145 |     /// - Returns: [CameraSessionOutput]
146 |     func sessionOutputs(delegate: AVCaptureVideoDataOutputSampleBufferDelegate? = nil, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity = .resizeAspectFill, stabilizationMode: AVCaptureVideoStabilizationMode = .auto) -> [CameraSessionOutput] {
    |                                   `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
147 |         return outputsSetting(delegate: delegate, inputs: inputs, videoGravity: videoGravity, isAlwaysDiscardsLateVideoFrames: true, stabilizationMode: stabilizationMode)
148 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 |  */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:146:192: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
144 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
145 |     /// - Returns: [CameraSessionOutput]
146 |     func sessionOutputs(delegate: AVCaptureVideoDataOutputSampleBufferDelegate? = nil, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity = .resizeAspectFill, stabilizationMode: AVCaptureVideoStabilizationMode = .auto) -> [CameraSessionOutput] {
    |                                                                                                                                                                                                `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
147 |         return outputsSetting(delegate: delegate, inputs: inputs, videoGravity: videoGravity, isAlwaysDiscardsLateVideoFrames: true, stabilizationMode: stabilizationMode)
148 |     }
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:146:155: error: 'resizeAspectFill' is unavailable in watchOS
144 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
145 |     /// - Returns: [CameraSessionOutput]
146 |     func sessionOutputs(delegate: AVCaptureVideoDataOutputSampleBufferDelegate? = nil, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity = .resizeAspectFill, stabilizationMode: AVCaptureVideoStabilizationMode = .auto) -> [CameraSessionOutput] {
    |                                                                                                                                                           `- error: 'resizeAspectFill' is unavailable in watchOS
147 |         return outputsSetting(delegate: delegate, inputs: inputs, videoGravity: videoGravity, isAlwaysDiscardsLateVideoFrames: true, stabilizationMode: stabilizationMode)
148 |     }
/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:40:38: note: 'resizeAspectFill' has been explicitly marked unavailable here
38 |                     property of an AVPlayerLayer or AVCaptureVideoPreviewLayer instance.
39 |  */
40 | AVF_EXPORT AVLayerVideoGravity const AVLayerVideoGravityResizeAspectFill API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
   |                                      `- note: 'resizeAspectFill' has been explicitly marked unavailable here
41 |
42 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:168:35: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
166 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
167 |     /// - Returns: [CameraSessionOutput]
168 |     func outputsSetting(delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> [CameraSessionOutput] {
    |                                   `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
169 |
170 |         var outputs: [CameraSessionOutput] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 |  */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:168:205: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
166 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
167 |     /// - Returns: [CameraSessionOutput]
168 |     func outputsSetting(delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> [CameraSessionOutput] {
    |                                                                                                                                                                                                             `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
169 |
170 |         var outputs: [CameraSessionOutput] = []
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:189:61: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
187 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
188 |     /// - Returns: CameraSessionOutput
189 |     func outputSetting(input: CameraSessionInput, delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> CameraSessionOutput {
    |                                                             `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
190 |
191 |         let device = AVCaptureDevice._default(input.deviceType, for: .video, position: input.position)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 |  */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:189:201: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
187 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
188 |     /// - Returns: CameraSessionOutput
189 |     func outputSetting(input: CameraSessionInput, delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> CameraSessionOutput {
    |                                                                                                                                                                                                         `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
190 |
191 |         let device = AVCaptureDevice._default(input.deviceType, for: .video, position: input.position)
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
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/WWDualCamera/Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -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/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/Objects-normal/arm64_32/WWDualCamera-dependencies-1.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 -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/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWDualCamera -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/Objects-normal/arm64_32/WWDualCamera_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/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/Objects-normal/arm64_32/WWDualCamera.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/Objects-normal/arm64_32/WWDualCamera.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/Objects-normal/arm64_32/WWDualCamera-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/Objects-normal/arm64_32/WWDualCamera-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/Objects-normal/arm64_32/WWDualCamera-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/Objects-normal/arm64_32/WWDualCamera.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWDualCamera.build/Debug-watchos/WWDualCamera-t.build/Objects-normal/arm64_32/WWDualCamera.abi.json
SwiftCompile normal arm64_32 (in target 'WWDualCamera' from project 'WWDualCamera')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ WWDualCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift (in target 'WWDualCamera' from project 'WWDualCamera')
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:16:21: error: 'AVCaptureDevice' is unavailable in watchOS
 14 |     public typealias CameraSessionInput = (
 15 |         frame: CGRect,                              // 放在哪個位置上面
 16 |         deviceType: AVCaptureDevice.DeviceType,     // 鏡頭裝置類型
    |                     `- error: 'AVCaptureDevice' is unavailable in watchOS
 17 |         position: AVCaptureDevice.Position          // 鏡頭前後位置
 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/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/WWDualCamera/WWDualCamera.swift:17:19: error: 'AVCaptureDevice' is unavailable in watchOS
 15 |         frame: CGRect,                              // 放在哪個位置上面
 16 |         deviceType: AVCaptureDevice.DeviceType,     // 鏡頭裝置類型
 17 |         position: AVCaptureDevice.Position          // 鏡頭前後位置
    |                   `- error: 'AVCaptureDevice' is unavailable in watchOS
 18 |     )
 19 |
/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/WWDualCamera/WWDualCamera.swift:21:16: error: 'AVCaptureDeviceInput' is unavailable in watchOS
 19 |
 20 |     public typealias CameraSessionOutput = (
 21 |         input: AVCaptureDeviceInput?,               // 裝置輸入
    |                `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
 22 |         output: AVCaptureVideoDataOutput?,          // 影像輸出
 23 |         previewLayer: AVCaptureVideoPreviewLayer?,  // 預覽畫面
/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/WWDualCamera/WWDualCamera.swift:22:17: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
 20 |     public typealias CameraSessionOutput = (
 21 |         input: AVCaptureDeviceInput?,               // 裝置輸入
 22 |         output: AVCaptureVideoDataOutput?,          // 影像輸出
    |                 `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
 23 |         previewLayer: AVCaptureVideoPreviewLayer?,  // 預覽畫面
 24 |         error: Error?                               // 錯誤
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 29 |  */
 30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 32 | {
 33 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:23:23: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
 21 |         input: AVCaptureDeviceInput?,               // 裝置輸入
 22 |         output: AVCaptureVideoDataOutput?,          // 影像輸出
 23 |         previewLayer: AVCaptureVideoPreviewLayer?,  // 預覽畫面
    |                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
 24 |         error: Error?                               // 錯誤
 25 |     )
/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/WWDualCamera/WWDualCamera.swift:32:31: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 30 |     )
 31 |
 32 |     public let multiSession = AVCaptureMultiCamSession()
    |                               `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 33 |
 34 |     /// [是否支援多鏡頭同時動作](https://developer.apple.com/documentation/avfoundation/avcapturemulticamsession/3183002-multicamsupported)
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:53:22: error: 'AVCaptureConnection' is unavailable in watchOS
 51 |     /// 開始執行
 52 |     /// - Returns: Result<[AVCaptureConnection], Error>
 53 |     func start() -> [AVCaptureConnection] {
    |                      `- error: 'AVCaptureConnection' is unavailable in watchOS
 54 |         multiSession.startRunning()
 55 |         return multiSession.connections
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:60:21: error: 'AVCaptureConnection' is unavailable in watchOS
 58 |     /// 關閉執行
 59 |     /// - Returns: 有連上Session的Connection
 60 |     func stop() -> [AVCaptureConnection] {
    |                     `- error: 'AVCaptureConnection' is unavailable in watchOS
 61 |         multiSession.stopRunning()
 62 |         return multiSession.connections
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:70:23: error: 'AVCaptureInput' is unavailable in watchOS
 68 |     ///   - inputs: [AVCaptureInput]
 69 |     ///   - isConnections: Bool
 70 |     func addInputs<T: AVCaptureInput>(_ inputs: [T], isConnections: Bool = true) -> Bool {
    |                       `- error: 'AVCaptureInput' is unavailable in watchOS
 71 |
 72 |         var isSuccess = true
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:83:24: error: 'AVCaptureOutput' is unavailable in watchOS
 81 |     ///   - isConnections: Bool
 82 |     /// - Returns: Bool
 83 |     func addOutputs<T: AVCaptureOutput>(_ outputs: [T], isConnections: Bool = true) -> Bool {
    |                        `- error: 'AVCaptureOutput' is unavailable in watchOS
 84 |
 85 |         var isSuccess = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:94:41: error: 'AVCaptureConnection' is unavailable in watchOS
 92 |     /// - Parameter connection: AVCaptureConnection?
 93 |     /// - Returns: Result<[AVCaptureConnection], Error>
 94 |     func canAddConnection(_ connection: AVCaptureConnection?) -> Bool {
    |                                         `- error: 'AVCaptureConnection' is unavailable in watchOS
 95 |         return multiSession._canAddConnection(connection)
 96 |     }
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:100:33: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 98 |     /// 相關的設定 (切換硬體)
 99 |     /// - Parameter action: AVCaptureMultiCamSession
100 |     func configuration(action: (AVCaptureMultiCamSession) -> Void) {
    |                                 `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
101 |         multiSession._configuration { action(multiSession) }
102 |     }
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:107:34: error: 'AVCaptureInput' is unavailable in watchOS
105 |     /// - Parameter inputs: [AVCaptureInput]
106 |     /// - Returns: AVCaptureMultiCamSession所剩下的inputs
107 |     func removeInputs(_ inputs: [AVCaptureInput]) -> [AVCaptureInput] {
    |                                  `- error: 'AVCaptureInput' is unavailable in watchOS
108 |         inputs.forEach { multiSession.removeInput($0) }
109 |         return multiSession.inputs
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:107:55: error: 'AVCaptureInput' is unavailable in watchOS
105 |     /// - Parameter inputs: [AVCaptureInput]
106 |     /// - Returns: AVCaptureMultiCamSession所剩下的inputs
107 |     func removeInputs(_ inputs: [AVCaptureInput]) -> [AVCaptureInput] {
    |                                                       `- error: 'AVCaptureInput' is unavailable in watchOS
108 |         inputs.forEach { multiSession.removeInput($0) }
109 |         return multiSession.inputs
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:114:32: error: 'AVCaptureInput' is unavailable in watchOS
112 |     /// 移除所有輸入裝置
113 |     /// - Returns: AVCaptureMultiCamSession所剩下的inputs
114 |     func removeAllInputs() -> [AVCaptureInput] {
    |                                `- error: 'AVCaptureInput' is unavailable in watchOS
115 |         removeInputs(multiSession.inputs)
116 |     }
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:121:36: error: 'AVCaptureOutput' is unavailable in watchOS
119 |     /// - Parameter inputs: [AVCaptureInput]
120 |     /// - Returns: AVCaptureMultiCamSession所剩下的outputs
121 |     func removeOutputs(_ outputs: [AVCaptureOutput]) -> [AVCaptureOutput] {
    |                                    `- error: 'AVCaptureOutput' is unavailable in watchOS
122 |         outputs.forEach { multiSession.removeOutput($0) }
123 |         return multiSession.outputs
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:121:58: error: 'AVCaptureOutput' is unavailable in watchOS
119 |     /// - Parameter inputs: [AVCaptureInput]
120 |     /// - Returns: AVCaptureMultiCamSession所剩下的outputs
121 |     func removeOutputs(_ outputs: [AVCaptureOutput]) -> [AVCaptureOutput] {
    |                                                          `- error: 'AVCaptureOutput' is unavailable in watchOS
122 |         outputs.forEach { multiSession.removeOutput($0) }
123 |         return multiSession.outputs
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:128:33: error: 'AVCaptureOutput' is unavailable in watchOS
126 |     /// 移除所有輸出裝置
127 |     /// - Returns: AVCaptureMultiCamSession所剩下的outputs
128 |     func removeAllOutputs() -> [AVCaptureOutput] {
    |                                 `- error: 'AVCaptureOutput' is unavailable in watchOS
129 |         removeOutputs(multiSession.outputs)
130 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:135:44: error: 'AVCaptureConnection' is unavailable in watchOS
133 |     /// - Parameter connection: AVCaptureConnection?
134 |     /// - Returns: Bool
135 |     func canRemoveConnection(_ connection: AVCaptureConnection?) -> Bool {
    |                                            `- error: 'AVCaptureConnection' is unavailable in watchOS
136 |         return multiSession._canRemoveConnection(connection)
137 |     }
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:146:35: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
144 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
145 |     /// - Returns: [CameraSessionOutput]
146 |     func sessionOutputs(delegate: AVCaptureVideoDataOutputSampleBufferDelegate? = nil, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity = .resizeAspectFill, stabilizationMode: AVCaptureVideoStabilizationMode = .auto) -> [CameraSessionOutput] {
    |                                   `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
147 |         return outputsSetting(delegate: delegate, inputs: inputs, videoGravity: videoGravity, isAlwaysDiscardsLateVideoFrames: true, stabilizationMode: stabilizationMode)
148 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 |  */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:146:192: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
144 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
145 |     /// - Returns: [CameraSessionOutput]
146 |     func sessionOutputs(delegate: AVCaptureVideoDataOutputSampleBufferDelegate? = nil, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity = .resizeAspectFill, stabilizationMode: AVCaptureVideoStabilizationMode = .auto) -> [CameraSessionOutput] {
    |                                                                                                                                                                                                `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
147 |         return outputsSetting(delegate: delegate, inputs: inputs, videoGravity: videoGravity, isAlwaysDiscardsLateVideoFrames: true, stabilizationMode: stabilizationMode)
148 |     }
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:146:155: error: 'resizeAspectFill' is unavailable in watchOS
144 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
145 |     /// - Returns: [CameraSessionOutput]
146 |     func sessionOutputs(delegate: AVCaptureVideoDataOutputSampleBufferDelegate? = nil, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity = .resizeAspectFill, stabilizationMode: AVCaptureVideoStabilizationMode = .auto) -> [CameraSessionOutput] {
    |                                                                                                                                                           `- error: 'resizeAspectFill' is unavailable in watchOS
147 |         return outputsSetting(delegate: delegate, inputs: inputs, videoGravity: videoGravity, isAlwaysDiscardsLateVideoFrames: true, stabilizationMode: stabilizationMode)
148 |     }
/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:40:38: note: 'resizeAspectFill' has been explicitly marked unavailable here
38 |                     property of an AVPlayerLayer or AVCaptureVideoPreviewLayer instance.
39 |  */
40 | AVF_EXPORT AVLayerVideoGravity const AVLayerVideoGravityResizeAspectFill API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
   |                                      `- note: 'resizeAspectFill' has been explicitly marked unavailable here
41 |
42 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:168:35: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
166 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
167 |     /// - Returns: [CameraSessionOutput]
168 |     func outputsSetting(delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> [CameraSessionOutput] {
    |                                   `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
169 |
170 |         var outputs: [CameraSessionOutput] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 |  */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:168:205: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
166 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
167 |     /// - Returns: [CameraSessionOutput]
168 |     func outputsSetting(delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> [CameraSessionOutput] {
    |                                                                                                                                                                                                             `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
169 |
170 |         var outputs: [CameraSessionOutput] = []
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:189:61: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
187 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
188 |     /// - Returns: CameraSessionOutput
189 |     func outputSetting(input: CameraSessionInput, delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> CameraSessionOutput {
    |                                                             `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
190 |
191 |         let device = AVCaptureDevice._default(input.deviceType, for: .video, position: input.position)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 |  */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:189:201: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
187 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
188 |     /// - Returns: CameraSessionOutput
189 |     func outputSetting(input: CameraSessionInput, delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> CameraSessionOutput {
    |                                                                                                                                                                                                         `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
190 |
191 |         let device = AVCaptureDevice._default(input.deviceType, for: .video, position: input.position)
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:35:44: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 33 |
 34 |     /// [是否支援多鏡頭同時動作](https://developer.apple.com/documentation/avfoundation/avcapturemulticamsession/3183002-multicamsupported)
 35 |     public var isMultiCamSupported: Bool { AVCaptureMultiCamSession.isMultiCamSupported }
    |                                            `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 36 |
 37 |     /// 是否正在預覽畫面
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:41:36: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 39 |
 40 |     /// 當前設備支持的最大同時使用鏡頭數
 41 |     public var supportCount: Int { AVCaptureMultiCamSession._supportCount() }
    |                                    `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 42 |
 43 |     private override init() {}
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:50:77: error: 'builtInWideAngleCamera' is unavailable in watchOS
 48 |     /// - Parameter deviceTypes: 要支援的類型
 49 |     /// - Returns: Int
 50 |     static func _supportCount(deviceTypes: [AVCaptureDevice.DeviceType] = [.builtInWideAngleCamera, .builtInTelephotoCamera, .builtInUltraWideCamera]) -> Int {
    |                                                                             `- error: 'builtInWideAngleCamera' is unavailable in watchOS
 51 |
 52 |         guard _isSupported() else { return 1 }
/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/WWDualCamera/Extension.swift:50:102: error: 'builtInTelephotoCamera' is unavailable in watchOS
 48 |     /// - Parameter deviceTypes: 要支援的類型
 49 |     /// - Returns: Int
 50 |     static func _supportCount(deviceTypes: [AVCaptureDevice.DeviceType] = [.builtInWideAngleCamera, .builtInTelephotoCamera, .builtInUltraWideCamera]) -> Int {
    |                                                                                                      `- error: 'builtInTelephotoCamera' is unavailable in watchOS
 51 |
 52 |         guard _isSupported() else { return 1 }
/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/WWDualCamera/Extension.swift:50:127: error: 'builtInUltraWideCamera' is unavailable in watchOS
 48 |     /// - Parameter deviceTypes: 要支援的類型
 49 |     /// - Returns: Int
 50 |     static func _supportCount(deviceTypes: [AVCaptureDevice.DeviceType] = [.builtInWideAngleCamera, .builtInTelephotoCamera, .builtInUltraWideCamera]) -> Int {
    |                                                                                                                               `- error: 'builtInUltraWideCamera' is unavailable in watchOS
 51 |
 52 |         guard _isSupported() else { return 1 }
/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 | /*!
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift (in target 'WWDualCamera' from project 'WWDualCamera')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWDualCamera.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:55:29: error: 'connections' is unavailable in watchOS
 53 |     func start() -> [AVCaptureConnection] {
 54 |         multiSession.startRunning()
 55 |         return multiSession.connections
    |                             `- error: 'connections' is unavailable in watchOS
 56 |     }
 57 |
/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:310:64: note: 'connections' has been explicitly marked unavailable here
 308 |     The value of this property is an NSArray of AVCaptureConnections currently added to the receiver. Connections are formed implicitly by the receiver when a client calls -addInput: or -addOutput:. Connections are formed explicitly when a client calls -addConnection:.
 309 |  */
 310 | @property(nonatomic, readonly) NSArray<AVCaptureConnection *> *connections API_AVAILABLE(macos(10.15), ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos);
     |                                                                `- note: 'connections' has been explicitly marked unavailable here
 311 |
 312 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:62:29: error: 'connections' is unavailable in watchOS
 60 |     func stop() -> [AVCaptureConnection] {
 61 |         multiSession.stopRunning()
 62 |         return multiSession.connections
    |                             `- error: 'connections' is unavailable in watchOS
 63 |     }
 64 |
/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:310:64: note: 'connections' has been explicitly marked unavailable here
 308 |     The value of this property is an NSArray of AVCaptureConnections currently added to the receiver. Connections are formed implicitly by the receiver when a client calls -addInput: or -addOutput:. Connections are formed explicitly when a client calls -addConnection:.
 309 |  */
 310 | @property(nonatomic, readonly) NSArray<AVCaptureConnection *> *connections API_AVAILABLE(macos(10.15), ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos);
     |                                                                `- note: 'connections' has been explicitly marked unavailable here
 311 |
 312 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:191:22: error: 'AVCaptureDevice' is unavailable in watchOS
189 |     func outputSetting(input: CameraSessionInput, delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> CameraSessionOutput {
190 |
191 |         let device = AVCaptureDevice._default(input.deviceType, for: .video, position: input.position)
    |                      `- error: 'AVCaptureDevice' is unavailable in watchOS
192 |         var sessionOutput: CameraSessionOutput = (input: nil, output: nil, previewLayer: nil, error: nil)
193 |
/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/WWDualCamera/WWDualCamera.swift:204:27: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
202 |
203 |             let queue = DispatchQueue(label: "\(Date().timeIntervalSince1970)")
204 |             let _output = AVCaptureVideoDataOutput._build(delegate: delegate, isAlwaysDiscardsLateVideoFrames: isAlwaysDiscardsLateVideoFrames, videoSettings: [:], queue: queue)
    |                           `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
205 |             guard multiSession._canAddOutput(_output, isConnections: true) else { sessionOutput.error = Constant.MyError.notAddOutput; break }
206 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 29 |  */
 30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 32 | {
 33 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:208:27: warning: result of call to '_stabilizationMode(_:device:)' is unused [#NoUsage]
206 |
207 |             let _previewLayer = multiSession._previewLayer(with: input.frame, videoGravity: videoGravity, isConnections: false)
208 |             _previewLayer._stabilizationMode(stabilizationMode, device: device)
    |                           `- warning: result of call to '_stabilizationMode(_:device:)' is unused [#NoUsage]
209 |             guard let videoPort = _input._port(forType: .video) else { break }
210 |
SwiftCompile normal arm64_32 Compiling\ Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Constant.swift (in target 'WWDualCamera' from project 'WWDualCamera')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Constant.swift (in target 'WWDualCamera' from project 'WWDualCamera')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Constant.swift
SwiftCompile normal arm64_32 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift (in target 'WWDualCamera' from project 'WWDualCamera')
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:18:34: error: 'AVCaptureDevice' is unavailable in watchOS
 16 |     ///   - isConnections: Bool
 17 |     /// - Returns: Result<Bool, Error>
 18 |     func _canAddDevice(_ device: AVCaptureDevice, isConnections: Bool) -> Result<Bool, Error> {
    |                                  `- error: 'AVCaptureDevice' is unavailable in watchOS
 19 |
 20 |         switch device._captureInput() {
/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/WWDualCamera/Extension.swift:11:11: error: 'AVCaptureSession' is unavailable in watchOS
  9 |
 10 | // MARK: - AVCaptureSession (function)
 11 | extension AVCaptureSession {
    |           `- error: 'AVCaptureSession' is unavailable in watchOS
 12 |
 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/WWDualCamera/Extension.swift:50:45: error: 'AVCaptureDevice' is unavailable in watchOS
 48 |     /// - Parameter deviceTypes: 要支援的類型
 49 |     /// - Returns: Int
 50 |     static func _supportCount(deviceTypes: [AVCaptureDevice.DeviceType] = [.builtInWideAngleCamera, .builtInTelephotoCamera, .builtInUltraWideCamera]) -> Int {
    |                                             `- error: 'AVCaptureDevice' is unavailable in watchOS
 51 |
 52 |         guard _isSupported() else { return 1 }
/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/WWDualCamera/Extension.swift:50:77: error: 'builtInWideAngleCamera' is unavailable in watchOS
 48 |     /// - Parameter deviceTypes: 要支援的類型
 49 |     /// - Returns: Int
 50 |     static func _supportCount(deviceTypes: [AVCaptureDevice.DeviceType] = [.builtInWideAngleCamera, .builtInTelephotoCamera, .builtInUltraWideCamera]) -> Int {
    |                                                                             `- error: 'builtInWideAngleCamera' is unavailable in watchOS
 51 |
 52 |         guard _isSupported() else { return 1 }
/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/WWDualCamera/Extension.swift:50:102: error: 'builtInTelephotoCamera' is unavailable in watchOS
 48 |     /// - Parameter deviceTypes: 要支援的類型
 49 |     /// - Returns: Int
 50 |     static func _supportCount(deviceTypes: [AVCaptureDevice.DeviceType] = [.builtInWideAngleCamera, .builtInTelephotoCamera, .builtInUltraWideCamera]) -> Int {
    |                                                                                                      `- error: 'builtInTelephotoCamera' is unavailable in watchOS
 51 |
 52 |         guard _isSupported() else { return 1 }
/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/WWDualCamera/Extension.swift:50:127: error: 'builtInUltraWideCamera' is unavailable in watchOS
 48 |     /// - Parameter deviceTypes: 要支援的類型
 49 |     /// - Returns: Int
 50 |     static func _supportCount(deviceTypes: [AVCaptureDevice.DeviceType] = [.builtInWideAngleCamera, .builtInTelephotoCamera, .builtInUltraWideCamera]) -> Int {
    |                                                                                                                               `- error: 'builtInUltraWideCamera' is unavailable in watchOS
 51 |
 52 |         guard _isSupported() else { return 1 }
/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/WWDualCamera/Extension.swift:39:11: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 37 |
 38 | // MARK: - AVCaptureMultiCamSession (static function)
 39 | extension AVCaptureMultiCamSession {
    |           `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 40 |
 41 |     /// [是否支援多鏡頭同時動作](https://applealmond.com/posts/58750)
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:80:45: error: 'AVCaptureConnection' is unavailable in watchOS
 78 |     /// - Parameter connection: AVCaptureConnection?
 79 |     /// - Returns: Bool
 80 |     func _canRemoveConnection(_ connection: AVCaptureConnection?) -> Bool {
    |                                             `- error: 'AVCaptureConnection' is unavailable in watchOS
 81 |
 82 |         return _configuration {
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:69:11: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 67 |
 68 | // MARK: - AVCaptureMultiCamSession
 69 | extension AVCaptureMultiCamSession {
    |           `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 70 |
 71 |     /// [硬體 / 系統的用量指標](https://xiaodongxie1024.github.io/2019/04/15/20190413_iOS_VideoCaptureExplain/)
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:105:40: error: 'AVCaptureDevice' is unavailable in watchOS
103 |     ///   - position: AVCaptureDevice.Position
104 |     /// - Returns: AVCaptureDevice?
105 |     static func _default(_ deviceType: AVCaptureDevice.DeviceType, for mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> AVCaptureDevice? { return AVCaptureDevice.default(deviceType, for: mediaType, position: position) }
    |                                        `- error: 'AVCaptureDevice' is unavailable in watchOS
106 |
107 |     /// 搜尋影音裝置
/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/WWDualCamera/Extension.swift:105:107: error: 'AVCaptureDevice' is unavailable in watchOS
103 |     ///   - position: AVCaptureDevice.Position
104 |     /// - Returns: AVCaptureDevice?
105 |     static func _default(_ deviceType: AVCaptureDevice.DeviceType, for mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> AVCaptureDevice? { return AVCaptureDevice.default(deviceType, for: mediaType, position: position) }
    |                                                                                                           `- error: 'AVCaptureDevice' is unavailable in watchOS
106 |
107 |     /// 搜尋影音裝置
/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/WWDualCamera/Extension.swift:105:136: error: 'AVCaptureDevice' is unavailable in watchOS
103 |     ///   - position: AVCaptureDevice.Position
104 |     /// - Returns: AVCaptureDevice?
105 |     static func _default(_ deviceType: AVCaptureDevice.DeviceType, for mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> AVCaptureDevice? { return AVCaptureDevice.default(deviceType, for: mediaType, position: position) }
    |                                                                                                                                        `- error: 'AVCaptureDevice' is unavailable in watchOS
106 |
107 |     /// 搜尋影音裝置
/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/WWDualCamera/Extension.swift:113:42: error: 'AVCaptureDevice' is unavailable in watchOS
111 |     ///   - position: AVCaptureDevice.Position
112 |     /// - Returns: [AVCaptureDevice]
113 |     static func _discovery(deviceTypes: [AVCaptureDevice.DeviceType], mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> [AVCaptureDevice] {
    |                                          `- error: 'AVCaptureDevice' is unavailable in watchOS
114 |
115 |         let devices = AVCaptureDevice.DiscoverySession(deviceTypes: deviceTypes, mediaType: mediaType, position: position).devices
/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/WWDualCamera/Extension.swift:113:106: error: 'AVCaptureDevice' is unavailable in watchOS
111 |     ///   - position: AVCaptureDevice.Position
112 |     /// - Returns: [AVCaptureDevice]
113 |     static func _discovery(deviceTypes: [AVCaptureDevice.DeviceType], mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> [AVCaptureDevice] {
    |                                                                                                          `- error: 'AVCaptureDevice' is unavailable in watchOS
114 |
115 |         let devices = AVCaptureDevice.DiscoverySession(deviceTypes: deviceTypes, mediaType: mediaType, position: position).devices
/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/WWDualCamera/Extension.swift:113:136: error: 'AVCaptureDevice' is unavailable in watchOS
111 |     ///   - position: AVCaptureDevice.Position
112 |     /// - Returns: [AVCaptureDevice]
113 |     static func _discovery(deviceTypes: [AVCaptureDevice.DeviceType], mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> [AVCaptureDevice] {
    |                                                                                                                                        `- error: 'AVCaptureDevice' is unavailable in watchOS
114 |
115 |         let devices = AVCaptureDevice.DiscoverySession(deviceTypes: deviceTypes, mediaType: mediaType, position: position).devices
/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/WWDualCamera/Extension.swift:97:11: error: 'AVCaptureDevice' is unavailable in watchOS
 95 |
 96 | // MARK: - AVCaptureDevice (static function)
 97 | extension AVCaptureDevice {
    |           `- error: 'AVCaptureDevice' is unavailable in watchOS
 98 |
 99 |     /// [取得該選項的影音裝置](https://www.wwdcnotes.com/notes/wwdc19/249/)
/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/WWDualCamera/Extension.swift:124:36: error: 'AVCaptureDeviceInput' is unavailable in watchOS
122 |
123 |     /// 取得該裝置的Input => NSCameraUsageDescription / NSMicrophoneUsageDescription
124 |     func _captureInput() -> Result<AVCaptureDeviceInput, Error> {
    |                                    `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
125 |
126 |         do {
/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/WWDualCamera/Extension.swift:121:11: error: 'AVCaptureDevice' is unavailable in watchOS
119 |
120 | // MARK: - AVCaptureDevice (function)
121 | extension AVCaptureDevice {
    |           `- error: 'AVCaptureDevice' is unavailable in watchOS
122 |
123 |     /// 取得該裝置的Input => NSCameraUsageDescription / NSMicrophoneUsageDescription
/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/WWDualCamera/Extension.swift:141:51: error: 'AVCaptureInput' is unavailable in watchOS
139 |     /// - Parameter mediaType: AVMediaType
140 |     /// - Returns: AVCaptureInput.Port?
141 |     func _port(forType mediaType: AVMediaType) -> AVCaptureInput.Port? {
    |                                                   `- error: 'AVCaptureInput' is unavailable in watchOS
142 |         return ports.first(where: { $0.mediaType == mediaType })
143 |     }
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:136:11: error: 'AVCaptureDeviceInput' is unavailable in watchOS
134 |
135 | // MARK: - AVCaptureDeviceInput (function)
136 | extension AVCaptureDeviceInput {
    |           `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
137 |
138 |     /// 取得該媒體類型的Port
/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/WWDualCamera/Extension.swift:154:32: error: 'AVCaptureInput' is unavailable in watchOS
152 |     ///   - isConnections: [Bool](https://www.cnblogs.com/zouchenxi/p/14900858.html)
153 |     /// - Returns: Bool
154 |     func _canAddInput(_ input: AVCaptureInput?, isConnections: Bool) -> Bool {
    |                                `- error: 'AVCaptureInput' is unavailable in watchOS
155 |
156 |         guard let input = input,
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:171:34: error: 'AVCaptureOutput' is unavailable in watchOS
169 |     ///   - isConnections: Bool
170 |     /// - Returns: Bool
171 |     func _canAddOutput(_ output: AVCaptureOutput?, isConnections: Bool) -> Bool {
    |                                  `- error: 'AVCaptureOutput' is unavailable in watchOS
172 |
173 |         guard let output = output,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:186:42: error: 'AVCaptureConnection' is unavailable in watchOS
184 |     /// - Parameter connection: AVCaptureConnection?
185 |     /// - Returns: Bool
186 |     func _canAddConnection(_ connection: AVCaptureConnection?) -> Bool {
    |                                          `- error: 'AVCaptureConnection' is unavailable in watchOS
187 |
188 |         return _configuration {
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:207:103: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
205 |     ///   - isConnections: [Bool](https://developer.apple.com/documentation/avfoundation/avcapturevideopreviewlayer/1387426-init)
206 |     /// - Returns: AVCaptureVideoPreviewLayer
207 |     func _previewLayer(with frame: CGRect, videoGravity: AVLayerVideoGravity, isConnections: Bool) -> AVCaptureVideoPreviewLayer {
    |                                                                                                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
208 |
209 |         let previewLayer = isConnections ? AVCaptureVideoPreviewLayer(session: self) : AVCaptureVideoPreviewLayer(sessionWithNoConnection: self)
/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/WWDualCamera/Extension.swift:147:11: error: 'AVCaptureSession' is unavailable in watchOS
145 |
146 | // MARK: - AVCaptureSession (function)
147 | extension AVCaptureSession {
    |           `- error: 'AVCaptureSession' is unavailable in watchOS
148 |
149 |     /// 將影音的Input加入Session (可以不連接)
/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/WWDualCamera/Extension.swift:228:34: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
226 |     ///   - isAlwaysDiscardsLateVideoFrames: [Bool](https://blog.csdn.net/github_36843038/article/details/114550865)
227 |     /// - Returns: AVCaptureVideoDataOutput
228 |     static func _build(delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, isAlwaysDiscardsLateVideoFrames: Bool, videoSettings: [String : Any], queue: DispatchQueue?) -> AVCaptureVideoDataOutput {
    |                                  `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
229 |
230 |         let output = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 |  */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:228:177: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
226 |     ///   - isAlwaysDiscardsLateVideoFrames: [Bool](https://blog.csdn.net/github_36843038/article/details/114550865)
227 |     /// - Returns: AVCaptureVideoDataOutput
228 |     static func _build(delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, isAlwaysDiscardsLateVideoFrames: Bool, videoSettings: [String : Any], queue: DispatchQueue?) -> AVCaptureVideoDataOutput {
    |                                                                                                                                                                                 `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
229 |
230 |         let output = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 29 |  */
 30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 32 | {
 33 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:219:11: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
217 |
218 | // MARK: - AVCaptureVideoDataOutput (static function)
219 | extension AVCaptureVideoDataOutput {
    |           `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
220 |
221 |     /// 建立AVCaptureVideoDataOutput (影像)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 29 |  */
 30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 32 | {
 33 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:248:37: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
246 |     ///   - device: AVCaptureDevice
247 |     /// - Returns: Bool
248 |     func _stabilizationMode(_ mode: AVCaptureVideoStabilizationMode, device: AVCaptureDevice) -> Bool {
    |                                     `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
249 |         return connection?._stabilizationMode(mode, device: device) ?? false
250 |     }
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:248:78: error: 'AVCaptureDevice' is unavailable in watchOS
246 |     ///   - device: AVCaptureDevice
247 |     /// - Returns: Bool
248 |     func _stabilizationMode(_ mode: AVCaptureVideoStabilizationMode, device: AVCaptureDevice) -> Bool {
    |                                                                              `- error: 'AVCaptureDevice' is unavailable in watchOS
249 |         return connection?._stabilizationMode(mode, device: device) ?? false
250 |     }
/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/WWDualCamera/Extension.swift:241:11: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
239 |
240 | // MARK: - AVCaptureVideoPreviewLayer (function)
241 | extension AVCaptureVideoPreviewLayer {
    |           `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
242 |
243 |     /// 設定防手震模式
/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/WWDualCamera/Extension.swift:261:37: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
259 |     ///   - device: AVCaptureDevice
260 |     /// - Returns: Bool
261 |     func _stabilizationMode(_ mode: AVCaptureVideoStabilizationMode, device: AVCaptureDevice) -> Bool {
    |                                     `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
262 |
263 |         guard device.activeFormat.isVideoStabilizationModeSupported(mode) else { return false }
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:261:78: error: 'AVCaptureDevice' is unavailable in watchOS
259 |     ///   - device: AVCaptureDevice
260 |     /// - Returns: Bool
261 |     func _stabilizationMode(_ mode: AVCaptureVideoStabilizationMode, device: AVCaptureDevice) -> Bool {
    |                                                                              `- error: 'AVCaptureDevice' is unavailable in watchOS
262 |
263 |         guard device.activeFormat.isVideoStabilizationModeSupported(mode) else { return false }
/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/WWDualCamera/Extension.swift:254:11: error: 'AVCaptureConnection' is unavailable in watchOS
252 |
253 | // MARK: - AVCaptureConnection (function)
254 | extension AVCaptureConnection {
    |           `- error: 'AVCaptureConnection' is unavailable in watchOS
255 |
256 |     /// [設定防手震模式](https://stackoverflow.com/questions/77030040/how-to-activate-preferredvideostabilizationmode-for-avcapturesessionpresetphoto)
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:44:16: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 42 |     /// - Returns: [Bool](https://developer.apple.com/documentation/avfoundation/avcapturemulticamsession/3183002-multicamsupported)
 43 |     static func _isSupported() -> Bool {
 44 |         return AVCaptureMultiCamSession.isMultiCamSupported
    |                `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 45 |     }
 46 |
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:54:23: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 52 |         guard _isSupported() else { return 1 }
 53 |
 54 |         let session = AVCaptureMultiCamSession()
    |                       `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 55 |         let devices = AVCaptureDevice._discovery(deviceTypes: deviceTypes, mediaType: .video, position: .unspecified)
 56 |
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:55:23: error: 'AVCaptureDevice' is unavailable in watchOS
 53 |
 54 |         let session = AVCaptureMultiCamSession()
 55 |         let devices = AVCaptureDevice._discovery(deviceTypes: deviceTypes, mediaType: .video, position: .unspecified)
    |                       `- error: 'AVCaptureDevice' is unavailable in watchOS
 56 |
 57 |         let count = devices.compactMap { device -> Bool? in
/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/WWDualCamera/Extension.swift:85:19: error: 'connections' is unavailable in watchOS
 83 |
 84 |             guard let connection = connection,
 85 |                   connections.contains(connection)
    |                   `- error: 'connections' is unavailable in watchOS
 86 |             else {
 87 |                 return false
/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:310:64: note: 'connections' has been explicitly marked unavailable here
 308 |     The value of this property is an NSArray of AVCaptureConnections currently added to the receiver. Connections are formed implicitly by the receiver when a client calls -addInput: or -addOutput:. Connections are formed explicitly when a client calls -addConnection:.
 309 |  */
 310 | @property(nonatomic, readonly) NSArray<AVCaptureConnection *> *connections API_AVAILABLE(macos(10.15), ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos);
     |                                                                `- note: 'connections' has been explicitly marked unavailable here
 311 |
 312 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:105:162: error: 'AVCaptureDevice' is unavailable in watchOS
103 |     ///   - position: AVCaptureDevice.Position
104 |     /// - Returns: AVCaptureDevice?
105 |     static func _default(_ deviceType: AVCaptureDevice.DeviceType, for mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> AVCaptureDevice? { return AVCaptureDevice.default(deviceType, for: mediaType, position: position) }
    |                                                                                                                                                                  `- error: 'AVCaptureDevice' is unavailable in watchOS
106 |
107 |     /// 搜尋影音裝置
/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/WWDualCamera/Extension.swift:115:23: error: 'AVCaptureDevice' is unavailable in watchOS
113 |     static func _discovery(deviceTypes: [AVCaptureDevice.DeviceType], mediaType: AVMediaType?, position: AVCaptureDevice.Position) -> [AVCaptureDevice] {
114 |
115 |         let devices = AVCaptureDevice.DiscoverySession(deviceTypes: deviceTypes, mediaType: mediaType, position: position).devices
    |                       `- error: 'AVCaptureDevice' is unavailable in watchOS
116 |         return devices
117 |     }
/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
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift (in target 'WWDualCamera' from project 'WWDualCamera')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Extension.swift
SwiftCompile normal arm64 Compiling\ WWDualCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift (in target 'WWDualCamera' from project 'WWDualCamera')
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:16:21: error: 'AVCaptureDevice' is unavailable in watchOS
 14 |     public typealias CameraSessionInput = (
 15 |         frame: CGRect,                              // 放在哪個位置上面
 16 |         deviceType: AVCaptureDevice.DeviceType,     // 鏡頭裝置類型
    |                     `- error: 'AVCaptureDevice' is unavailable in watchOS
 17 |         position: AVCaptureDevice.Position          // 鏡頭前後位置
 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/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/WWDualCamera/WWDualCamera.swift:17:19: error: 'AVCaptureDevice' is unavailable in watchOS
 15 |         frame: CGRect,                              // 放在哪個位置上面
 16 |         deviceType: AVCaptureDevice.DeviceType,     // 鏡頭裝置類型
 17 |         position: AVCaptureDevice.Position          // 鏡頭前後位置
    |                   `- error: 'AVCaptureDevice' is unavailable in watchOS
 18 |     )
 19 |
/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/WWDualCamera/WWDualCamera.swift:21:16: error: 'AVCaptureDeviceInput' is unavailable in watchOS
 19 |
 20 |     public typealias CameraSessionOutput = (
 21 |         input: AVCaptureDeviceInput?,               // 裝置輸入
    |                `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
 22 |         output: AVCaptureVideoDataOutput?,          // 影像輸出
 23 |         previewLayer: AVCaptureVideoPreviewLayer?,  // 預覽畫面
/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/WWDualCamera/WWDualCamera.swift:22:17: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
 20 |     public typealias CameraSessionOutput = (
 21 |         input: AVCaptureDeviceInput?,               // 裝置輸入
 22 |         output: AVCaptureVideoDataOutput?,          // 影像輸出
    |                 `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
 23 |         previewLayer: AVCaptureVideoPreviewLayer?,  // 預覽畫面
 24 |         error: Error?                               // 錯誤
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 29 |  */
 30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 32 | {
 33 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:23:23: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
 21 |         input: AVCaptureDeviceInput?,               // 裝置輸入
 22 |         output: AVCaptureVideoDataOutput?,          // 影像輸出
 23 |         previewLayer: AVCaptureVideoPreviewLayer?,  // 預覽畫面
    |                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
 24 |         error: Error?                               // 錯誤
 25 |     )
/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/WWDualCamera/WWDualCamera.swift:32:31: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 30 |     )
 31 |
 32 |     public let multiSession = AVCaptureMultiCamSession()
    |                               `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 33 |
 34 |     /// [是否支援多鏡頭同時動作](https://developer.apple.com/documentation/avfoundation/avcapturemulticamsession/3183002-multicamsupported)
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:53:22: error: 'AVCaptureConnection' is unavailable in watchOS
 51 |     /// 開始執行
 52 |     /// - Returns: Result<[AVCaptureConnection], Error>
 53 |     func start() -> [AVCaptureConnection] {
    |                      `- error: 'AVCaptureConnection' is unavailable in watchOS
 54 |         multiSession.startRunning()
 55 |         return multiSession.connections
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:60:21: error: 'AVCaptureConnection' is unavailable in watchOS
 58 |     /// 關閉執行
 59 |     /// - Returns: 有連上Session的Connection
 60 |     func stop() -> [AVCaptureConnection] {
    |                     `- error: 'AVCaptureConnection' is unavailable in watchOS
 61 |         multiSession.stopRunning()
 62 |         return multiSession.connections
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:70:23: error: 'AVCaptureInput' is unavailable in watchOS
 68 |     ///   - inputs: [AVCaptureInput]
 69 |     ///   - isConnections: Bool
 70 |     func addInputs<T: AVCaptureInput>(_ inputs: [T], isConnections: Bool = true) -> Bool {
    |                       `- error: 'AVCaptureInput' is unavailable in watchOS
 71 |
 72 |         var isSuccess = true
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:83:24: error: 'AVCaptureOutput' is unavailable in watchOS
 81 |     ///   - isConnections: Bool
 82 |     /// - Returns: Bool
 83 |     func addOutputs<T: AVCaptureOutput>(_ outputs: [T], isConnections: Bool = true) -> Bool {
    |                        `- error: 'AVCaptureOutput' is unavailable in watchOS
 84 |
 85 |         var isSuccess = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:94:41: error: 'AVCaptureConnection' is unavailable in watchOS
 92 |     /// - Parameter connection: AVCaptureConnection?
 93 |     /// - Returns: Result<[AVCaptureConnection], Error>
 94 |     func canAddConnection(_ connection: AVCaptureConnection?) -> Bool {
    |                                         `- error: 'AVCaptureConnection' is unavailable in watchOS
 95 |         return multiSession._canAddConnection(connection)
 96 |     }
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:100:33: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 98 |     /// 相關的設定 (切換硬體)
 99 |     /// - Parameter action: AVCaptureMultiCamSession
100 |     func configuration(action: (AVCaptureMultiCamSession) -> Void) {
    |                                 `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
101 |         multiSession._configuration { action(multiSession) }
102 |     }
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:107:34: error: 'AVCaptureInput' is unavailable in watchOS
105 |     /// - Parameter inputs: [AVCaptureInput]
106 |     /// - Returns: AVCaptureMultiCamSession所剩下的inputs
107 |     func removeInputs(_ inputs: [AVCaptureInput]) -> [AVCaptureInput] {
    |                                  `- error: 'AVCaptureInput' is unavailable in watchOS
108 |         inputs.forEach { multiSession.removeInput($0) }
109 |         return multiSession.inputs
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:107:55: error: 'AVCaptureInput' is unavailable in watchOS
105 |     /// - Parameter inputs: [AVCaptureInput]
106 |     /// - Returns: AVCaptureMultiCamSession所剩下的inputs
107 |     func removeInputs(_ inputs: [AVCaptureInput]) -> [AVCaptureInput] {
    |                                                       `- error: 'AVCaptureInput' is unavailable in watchOS
108 |         inputs.forEach { multiSession.removeInput($0) }
109 |         return multiSession.inputs
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:114:32: error: 'AVCaptureInput' is unavailable in watchOS
112 |     /// 移除所有輸入裝置
113 |     /// - Returns: AVCaptureMultiCamSession所剩下的inputs
114 |     func removeAllInputs() -> [AVCaptureInput] {
    |                                `- error: 'AVCaptureInput' is unavailable in watchOS
115 |         removeInputs(multiSession.inputs)
116 |     }
/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:38:12: note: 'AVCaptureInput' has been explicitly marked unavailable here
 36 |  */
 37 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 38 | @interface AVCaptureInput : NSObject
    |            `- note: 'AVCaptureInput' has been explicitly marked unavailable here
 39 | {
 40 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:121:36: error: 'AVCaptureOutput' is unavailable in watchOS
119 |     /// - Parameter inputs: [AVCaptureInput]
120 |     /// - Returns: AVCaptureMultiCamSession所剩下的outputs
121 |     func removeOutputs(_ outputs: [AVCaptureOutput]) -> [AVCaptureOutput] {
    |                                    `- error: 'AVCaptureOutput' is unavailable in watchOS
122 |         outputs.forEach { multiSession.removeOutput($0) }
123 |         return multiSession.outputs
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:121:58: error: 'AVCaptureOutput' is unavailable in watchOS
119 |     /// - Parameter inputs: [AVCaptureInput]
120 |     /// - Returns: AVCaptureMultiCamSession所剩下的outputs
121 |     func removeOutputs(_ outputs: [AVCaptureOutput]) -> [AVCaptureOutput] {
    |                                                          `- error: 'AVCaptureOutput' is unavailable in watchOS
122 |         outputs.forEach { multiSession.removeOutput($0) }
123 |         return multiSession.outputs
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:128:33: error: 'AVCaptureOutput' is unavailable in watchOS
126 |     /// 移除所有輸出裝置
127 |     /// - Returns: AVCaptureMultiCamSession所剩下的outputs
128 |     func removeAllOutputs() -> [AVCaptureOutput] {
    |                                 `- error: 'AVCaptureOutput' is unavailable in watchOS
129 |         removeOutputs(multiSession.outputs)
130 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
 33 |  */
 34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 35 | @interface AVCaptureOutput : NSObject
    |            `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
 36 | {
 37 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:135:44: error: 'AVCaptureConnection' is unavailable in watchOS
133 |     /// - Parameter connection: AVCaptureConnection?
134 |     /// - Returns: Bool
135 |     func canRemoveConnection(_ connection: AVCaptureConnection?) -> Bool {
    |                                            `- error: 'AVCaptureConnection' is unavailable in watchOS
136 |         return multiSession._canRemoveConnection(connection)
137 |     }
/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:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
 892 |  */
 893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 894 | @interface AVCaptureConnection : NSObject
     |            `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
 895 | {
 896 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:146:35: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
144 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
145 |     /// - Returns: [CameraSessionOutput]
146 |     func sessionOutputs(delegate: AVCaptureVideoDataOutputSampleBufferDelegate? = nil, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity = .resizeAspectFill, stabilizationMode: AVCaptureVideoStabilizationMode = .auto) -> [CameraSessionOutput] {
    |                                   `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
147 |         return outputsSetting(delegate: delegate, inputs: inputs, videoGravity: videoGravity, isAlwaysDiscardsLateVideoFrames: true, stabilizationMode: stabilizationMode)
148 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 |  */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:146:192: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
144 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
145 |     /// - Returns: [CameraSessionOutput]
146 |     func sessionOutputs(delegate: AVCaptureVideoDataOutputSampleBufferDelegate? = nil, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity = .resizeAspectFill, stabilizationMode: AVCaptureVideoStabilizationMode = .auto) -> [CameraSessionOutput] {
    |                                                                                                                                                                                                `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
147 |         return outputsSetting(delegate: delegate, inputs: inputs, videoGravity: videoGravity, isAlwaysDiscardsLateVideoFrames: true, stabilizationMode: stabilizationMode)
148 |     }
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:146:155: error: 'resizeAspectFill' is unavailable in watchOS
144 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
145 |     /// - Returns: [CameraSessionOutput]
146 |     func sessionOutputs(delegate: AVCaptureVideoDataOutputSampleBufferDelegate? = nil, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity = .resizeAspectFill, stabilizationMode: AVCaptureVideoStabilizationMode = .auto) -> [CameraSessionOutput] {
    |                                                                                                                                                           `- error: 'resizeAspectFill' is unavailable in watchOS
147 |         return outputsSetting(delegate: delegate, inputs: inputs, videoGravity: videoGravity, isAlwaysDiscardsLateVideoFrames: true, stabilizationMode: stabilizationMode)
148 |     }
/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:40:38: note: 'resizeAspectFill' has been explicitly marked unavailable here
38 |                     property of an AVPlayerLayer or AVCaptureVideoPreviewLayer instance.
39 |  */
40 | AVF_EXPORT AVLayerVideoGravity const AVLayerVideoGravityResizeAspectFill API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
   |                                      `- note: 'resizeAspectFill' has been explicitly marked unavailable here
41 |
42 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:168:35: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
166 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
167 |     /// - Returns: [CameraSessionOutput]
168 |     func outputsSetting(delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> [CameraSessionOutput] {
    |                                   `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
169 |
170 |         var outputs: [CameraSessionOutput] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 |  */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:168:205: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
166 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
167 |     /// - Returns: [CameraSessionOutput]
168 |     func outputsSetting(delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, inputs: [CameraSessionInput], videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> [CameraSessionOutput] {
    |                                                                                                                                                                                                             `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
169 |
170 |         var outputs: [CameraSessionOutput] = []
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:189:61: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
187 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
188 |     /// - Returns: CameraSessionOutput
189 |     func outputSetting(input: CameraSessionInput, delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> CameraSessionOutput {
    |                                                             `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
190 |
191 |         let device = AVCaptureDevice._default(input.deviceType, for: .video, position: input.position)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 |  */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
    |           `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:189:201: error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
187 |     ///   - stabilizationMode: AVCaptureVideoStabilizationMode
188 |     /// - Returns: CameraSessionOutput
189 |     func outputSetting(input: CameraSessionInput, delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> CameraSessionOutput {
    |                                                                                                                                                                                                         `- error: 'AVCaptureVideoStabilizationMode' is unavailable in watchOS
190 |
191 |         let device = AVCaptureDevice._default(input.deviceType, for: .video, position: input.position)
/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:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:35:44: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 33 |
 34 |     /// [是否支援多鏡頭同時動作](https://developer.apple.com/documentation/avfoundation/avcapturemulticamsession/3183002-multicamsupported)
 35 |     public var isMultiCamSupported: Bool { AVCaptureMultiCamSession.isMultiCamSupported }
    |                                            `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 36 |
 37 |     /// 是否正在預覽畫面
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:41:36: error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 39 |
 40 |     /// 當前設備支持的最大同時使用鏡頭數
 41 |     public var supportCount: Int { AVCaptureMultiCamSession._supportCount() }
    |                                    `- error: 'AVCaptureMultiCamSession' is unavailable in watchOS
 42 |
 43 |     private override init() {}
/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:810:12: note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 808 |  */
 809 | API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(2.1)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 810 | @interface AVCaptureMultiCamSession : AVCaptureSession
     |            `- note: 'AVCaptureMultiCamSession' has been explicitly marked unavailable here
 811 |
 812 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Extension.swift:50:77: error: 'builtInWideAngleCamera' is unavailable in watchOS
 48 |     /// - Parameter deviceTypes: 要支援的類型
 49 |     /// - Returns: Int
 50 |     static func _supportCount(deviceTypes: [AVCaptureDevice.DeviceType] = [.builtInWideAngleCamera, .builtInTelephotoCamera, .builtInUltraWideCamera]) -> Int {
    |                                                                             `- error: 'builtInWideAngleCamera' is unavailable in watchOS
 51 |
 52 |         guard _isSupported() else { return 1 }
/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/WWDualCamera/Extension.swift:50:102: error: 'builtInTelephotoCamera' is unavailable in watchOS
 48 |     /// - Parameter deviceTypes: 要支援的類型
 49 |     /// - Returns: Int
 50 |     static func _supportCount(deviceTypes: [AVCaptureDevice.DeviceType] = [.builtInWideAngleCamera, .builtInTelephotoCamera, .builtInUltraWideCamera]) -> Int {
    |                                                                                                      `- error: 'builtInTelephotoCamera' is unavailable in watchOS
 51 |
 52 |         guard _isSupported() else { return 1 }
/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/WWDualCamera/Extension.swift:50:127: error: 'builtInUltraWideCamera' is unavailable in watchOS
 48 |     /// - Parameter deviceTypes: 要支援的類型
 49 |     /// - Returns: Int
 50 |     static func _supportCount(deviceTypes: [AVCaptureDevice.DeviceType] = [.builtInWideAngleCamera, .builtInTelephotoCamera, .builtInUltraWideCamera]) -> Int {
    |                                                                                                                               `- error: 'builtInUltraWideCamera' is unavailable in watchOS
 51 |
 52 |         guard _isSupported() else { return 1 }
/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/WWDualCamera/WWDualCamera.swift:55:29: error: 'connections' is unavailable in watchOS
 53 |     func start() -> [AVCaptureConnection] {
 54 |         multiSession.startRunning()
 55 |         return multiSession.connections
    |                             `- error: 'connections' is unavailable in watchOS
 56 |     }
 57 |
/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:310:64: note: 'connections' has been explicitly marked unavailable here
 308 |     The value of this property is an NSArray of AVCaptureConnections currently added to the receiver. Connections are formed implicitly by the receiver when a client calls -addInput: or -addOutput:. Connections are formed explicitly when a client calls -addConnection:.
 309 |  */
 310 | @property(nonatomic, readonly) NSArray<AVCaptureConnection *> *connections API_AVAILABLE(macos(10.15), ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos);
     |                                                                `- note: 'connections' has been explicitly marked unavailable here
 311 |
 312 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:62:29: error: 'connections' is unavailable in watchOS
 60 |     func stop() -> [AVCaptureConnection] {
 61 |         multiSession.stopRunning()
 62 |         return multiSession.connections
    |                             `- error: 'connections' is unavailable in watchOS
 63 |     }
 64 |
/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:310:64: note: 'connections' has been explicitly marked unavailable here
 308 |     The value of this property is an NSArray of AVCaptureConnections currently added to the receiver. Connections are formed implicitly by the receiver when a client calls -addInput: or -addOutput:. Connections are formed explicitly when a client calls -addConnection:.
 309 |  */
 310 | @property(nonatomic, readonly) NSArray<AVCaptureConnection *> *connections API_AVAILABLE(macos(10.15), ios(13.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos);
     |                                                                `- note: 'connections' has been explicitly marked unavailable here
 311 |
 312 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:191:22: error: 'AVCaptureDevice' is unavailable in watchOS
189 |     func outputSetting(input: CameraSessionInput, delegate: AVCaptureVideoDataOutputSampleBufferDelegate?, videoGravity: AVLayerVideoGravity, isAlwaysDiscardsLateVideoFrames: Bool, stabilizationMode: AVCaptureVideoStabilizationMode) -> CameraSessionOutput {
190 |
191 |         let device = AVCaptureDevice._default(input.deviceType, for: .video, position: input.position)
    |                      `- error: 'AVCaptureDevice' is unavailable in watchOS
192 |         var sessionOutput: CameraSessionOutput = (input: nil, output: nil, previewLayer: nil, error: nil)
193 |
/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/WWDualCamera/WWDualCamera.swift:204:27: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
202 |
203 |             let queue = DispatchQueue(label: "\(Date().timeIntervalSince1970)")
204 |             let _output = AVCaptureVideoDataOutput._build(delegate: delegate, isAlwaysDiscardsLateVideoFrames: isAlwaysDiscardsLateVideoFrames, videoSettings: [:], queue: queue)
    |                           `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
205 |             guard multiSession._canAddOutput(_output, isConnections: true) else { sessionOutput.error = Constant.MyError.notAddOutput; break }
206 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 29 |  */
 30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
 32 | {
 33 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift:208:27: warning: result of call to '_stabilizationMode(_:device:)' is unused [#NoUsage]
206 |
207 |             let _previewLayer = multiSession._previewLayer(with: input.frame, videoGravity: videoGravity, isConnections: false)
208 |             _previewLayer._stabilizationMode(stabilizationMode, device: device)
    |                           `- warning: result of call to '_stabilizationMode(_:device:)' is unused [#NoUsage]
209 |             guard let videoPort = _input._port(forType: .video) else { break }
210 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/WWDualCamera.swift (in target 'WWDualCamera' from project 'WWDualCamera')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWDualCamera.swift
SwiftCompile normal arm64 Compiling\ Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Constant.swift (in target 'WWDualCamera' from project 'WWDualCamera')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWDualCamera/Constant.swift (in target 'WWDualCamera' from project 'WWDualCamera')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Constant.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-21 06:02:10.825 xcodebuild[800:4777] [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\ WWDualCamera (in target 'WWDualCamera' from project 'WWDualCamera')
	SwiftCompile normal arm64 (in target 'WWDualCamera' from project 'WWDualCamera')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWDualCamera (in target 'WWDualCamera' from project 'WWDualCamera')
	SwiftCompile normal arm64_32 (in target 'WWDualCamera' from project 'WWDualCamera')
	Building workspace WWDualCamera with scheme WWDualCamera
(5 failures)
BUILD FAILURE 6.4 watchOS