Build Information
Failed to build SwiftttCamera, reference master (8c418c), with Swift 6.4 for watchOS using Xcode 27.0 on 17 Sep 2026 20:52:52 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 SwiftttCamera -destination generic/platform=watchOSBuild Log
SwiftCompile normal arm64_32 (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ CameraDelegate.swift,\ CameraProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
/Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift:28:26: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
26 |
27 | /// Set this if you need to manage custom UIGestureRecognizerDelegate settings for tap-to-focus and pinch-zoom. This will only have an effect if `handlesTapFocus` or `handlesZoom` is true. Defaults to nil.
28 | var gestureDelegate: UIGestureRecognizerDelegate? { get set }
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
29 |
30 | /// Set this if you have an overlay with additional gesture recognizers that would conflict with SwiftttCamera's tap-to-focus gesture recognizer and pinch-to-zoom gesture recognizer. Defaults to SwiftttCamera's view.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift:31:22: error: 'UIView' is unavailable in watchOS
29 |
30 | /// Set this if you have an overlay with additional gesture recognizers that would conflict with SwiftttCamera's tap-to-focus gesture recognizer and pinch-to-zoom gesture recognizer. Defaults to SwiftttCamera's view.
31 | var gestureView: UIView? { get set }
| `- error: 'UIView' is unavailable in watchOS
32 |
33 | /// Set this to false if you want SwiftttCamera to return the full image captured by the camera instead of an image cropped to the view's aspect ratio. The image will be returned by the `cameraController(:didFinishCapturingImage:)` delegate method, in the `fullImage` property of the CapturedImage object `cameraController(:didFinishNormalizingCapturedImage:)` is the only other method that will be called, and only if normalizesImageOrientations == true. Defaults to true.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CameraDelegate.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraDelegate.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraProtocol.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftttCamera (in target 'SwiftttCamera' from project 'SwiftttCamera')
SwiftCompile normal arm64 (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-17 16:52:39.272 xcodebuild[628:4041] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-17 16:52:39.524 xcodebuild[628:4041] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftttCamera (in target 'SwiftttCamera' from project 'SwiftttCamera')
SwiftCompile normal arm64_32 (in target 'SwiftttCamera' from project 'SwiftttCamera')
Building workspace SwiftttCamera with scheme SwiftttCamera
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Invalid Resource 'Test Images': File not found.
Resolved source packages:
SwiftttCamera: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftttCamera
2026-09-17 16:52:48.776 xcodebuild[811:4867] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-17 16:52:48.919 xcodebuild[811:4867] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftttCamera",
"name" : "SwiftttCamera",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftttCamera",
"targets" : [
"SwiftttCamera"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftttCameraTests",
"module_type" : "SwiftTarget",
"name" : "SwiftttCameraTests",
"path" : "Tests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TestImages.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CapturedImageTests.swift",
"DeviceOrientationTests.swift",
"FocusTests.swift",
"SwiftttCameraTests.swift",
"UIImageUtilitiesPerformanceTests.swift",
"UIImageUtilitiesTests.swift",
"UIViewControllerSwiftttCameraTests.swift",
"Utilities/UIPinchGestureRecognizerMock.swift",
"Utilities/UITapGestureRecognizerMock.swift",
"ZoomTests.swift"
],
"target_dependencies" : [
"SwiftttCamera"
],
"type" : "test"
},
{
"c99name" : "SwiftttCamera",
"module_type" : "SwiftTarget",
"name" : "SwiftttCamera",
"path" : "Sources",
"product_memberships" : [
"SwiftttCamera"
],
"sources" : [
"CameraDelegate.swift",
"CameraProtocol.swift",
"CameraTypes.swift",
"CapturedImage.swift",
"DeviceOrientation.swift",
"Extensions/AVCaptureDevice+Utilities.swift",
"Extensions/AVCaptureSession+Utilities.swift",
"Extensions/Comparable+Utilities.swift",
"Extensions/UIImage+Utilities.swift",
"Extensions/UIViewController+SwiftttCamera.swift",
"Focus.swift",
"SwiftttCamera.swift",
"Zoom.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
warning: 'spi-builder-workspace': Invalid Resource 'Test Images': File not found.
{
"workspace" : {
"name" : "SwiftttCamera",
"schemes" : [
"SwiftttCamera"
]
}
}
2026-09-17 16:52:50.032 xcodebuild[819:4944] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-17 16:52:50.177 xcodebuild[819:4944] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftttCamera -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SwiftttCamera -destination generic/platform=watchOS
Resolve Package Graph
Invalid Resource 'Test Images': File not found.
Resolved source packages:
SwiftttCamera: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
Target 'SwiftttCameraTests-product' in project 'SwiftttCamera'
➜ Explicit dependency on target 'SwiftttCamera_SwiftttCameraTests' in project 'SwiftttCamera'
➜ Explicit dependency on target 'SwiftttCamera' in project 'SwiftttCamera'
Target 'SwiftttCamera-product' in project 'SwiftttCamera'
➜ Explicit dependency on target 'SwiftttCamera' in project 'SwiftttCamera'
Target 'SwiftttCamera' in project 'SwiftttCamera' (no dependencies)
Target 'SwiftttCamera_SwiftttCameraTests' in project 'SwiftttCamera' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver SwiftttCamera normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftttCamera -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64_32/SwiftttCamera.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64_32/SwiftttCamera-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64_32/SwiftttCamera.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64_32/SwiftttCamera-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64_32/SwiftttCamera_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64_32/SwiftttCamera-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftttCamera normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftttCamera -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ DeviceOrientation.swift,\ AVCaptureDevice+Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:9:9: error: 'UIDevice' is unavailable in watchOS
7 | final class DeviceOrientation {
8 | private lazy var motionManager: CMMotionManager? = {
9 | UIDevice.current.beginGeneratingDeviceOrientationNotifications()
| `- error: 'UIDevice' is unavailable in watchOS
10 | #if TARGET_IPHONE_SIMULATOR
11 | return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:29:22: error: 'UIDeviceOrientation' is unavailable in watchOS
27 |
28 | /// The current actual orientation of the device, based on accelerometer data if on a device, or [[UIDevice currentDevice] orientation] if on the simulator.
29 | var orientation: UIDeviceOrientation {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
30 | #if TARGET_IPHONE_SIMULATOR
31 | return .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:21:9: error: 'UIDevice' is unavailable in watchOS
19 |
20 | deinit {
21 | UIDevice.current.endGeneratingDeviceOrientationNotifications()
| `- error: 'UIDevice' is unavailable in watchOS
22 | #if !TARGET_IPHONE_SIMULATOR
23 | motionManager?.stopAccelerometerUpdates()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:62:31: error: 'UIDevice' is unavailable in watchOS
60 | /// This returns true if the device's interface orientation matches the physical device orientation, and false if the interface and physical orientation are different (when orientation lock is on).
61 | var deviceOrientationMatchesInterfaceOrientation: Bool {
62 | return orientation == UIDevice.current.orientation
| `- error: 'UIDevice' 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/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:8:44: error: 'AVCaptureDevice' is unavailable in watchOS
6 | /// All camera devices available in this device currently.
7 | /// Devices are sorted by AVCaptureDeviceType, matching the order specified in the deviceTypes parameter of +[AVCaptureDeviceDiscoverySession discoverySessionWithDeviceTypes:mediaType:position:]. If a `.unspecified` position is given, the results are further ordered by position in the AVCaptureDevicePosition enum.
8 | static func availableCameras(position: AVCaptureDevice.Position = .unspecified) -> [AVCaptureDevice] {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
9 | /// For apps linked against iOS 11 or later, the
10 | return AVCaptureDevice.DiscoverySession(deviceTypes: availableCameraTypes, mediaType: .video, 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/Extensions/AVCaptureDevice+Utilities.swift:8:89: error: 'AVCaptureDevice' is unavailable in watchOS
6 | /// All camera devices available in this device currently.
7 | /// Devices are sorted by AVCaptureDeviceType, matching the order specified in the deviceTypes parameter of +[AVCaptureDeviceDiscoverySession discoverySessionWithDeviceTypes:mediaType:position:]. If a `.unspecified` position is given, the results are further ordered by position in the AVCaptureDevicePosition enum.
8 | static func availableCameras(position: AVCaptureDevice.Position = .unspecified) -> [AVCaptureDevice] {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
9 | /// For apps linked against iOS 11 or later, the
10 | return AVCaptureDevice.DiscoverySession(deviceTypes: availableCameraTypes, mediaType: .video, 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/Extensions/AVCaptureDevice+Utilities.swift:14:29: error: 'AVCaptureDevice' is unavailable in watchOS
12 |
13 | /// All camera types available in iOS.
14 | static let allCameras: [AVCaptureDevice.DeviceType] = [
| `- error: 'AVCaptureDevice' is unavailable in watchOS
15 | .builtInWideAngleCamera,
16 | .builtInTelephotoCamera,
/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/Extensions/AVCaptureDevice+Utilities.swift:15:10: error: 'builtInWideAngleCamera' is unavailable in watchOS
13 | /// All camera types available in iOS.
14 | static let allCameras: [AVCaptureDevice.DeviceType] = [
15 | .builtInWideAngleCamera,
| `- error: 'builtInWideAngleCamera' is unavailable in watchOS
16 | .builtInTelephotoCamera,
17 | .builtInDualCamera,
/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/Extensions/AVCaptureDevice+Utilities.swift:16:10: error: 'builtInTelephotoCamera' is unavailable in watchOS
14 | static let allCameras: [AVCaptureDevice.DeviceType] = [
15 | .builtInWideAngleCamera,
16 | .builtInTelephotoCamera,
| `- error: 'builtInTelephotoCamera' is unavailable in watchOS
17 | .builtInDualCamera,
18 | .builtInTrueDepthCamera,
/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/Extensions/AVCaptureDevice+Utilities.swift:17:10: error: 'builtInDualCamera' is unavailable in watchOS
15 | .builtInWideAngleCamera,
16 | .builtInTelephotoCamera,
17 | .builtInDualCamera,
| `- error: 'builtInDualCamera' is unavailable in watchOS
18 | .builtInTrueDepthCamera,
19 | .builtInUltraWideCamera,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:593:38: note: 'builtInDualCamera' has been explicitly marked unavailable here
591 | Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
592 | */
593 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualCamera API_AVAILABLE(ios(10.2), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInDualCamera' has been explicitly marked unavailable here
594 |
595 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:18:10: error: 'builtInTrueDepthCamera' is unavailable in watchOS
16 | .builtInTelephotoCamera,
17 | .builtInDualCamera,
18 | .builtInTrueDepthCamera,
| `- error: 'builtInTrueDepthCamera' is unavailable in watchOS
19 | .builtInUltraWideCamera,
20 | .builtInDualWideCamera,
/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:634:38: note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
632 | A device that consists of two cameras, one YUV and one Infrared. The infrared camera provides high quality depth information that is synchronized and perspective corrected to frames produced by the YUV camera. While the resolution of the depth data and YUV frames may differ, their field of view and aspect ratio always match. Note that devices of this type may only be discovered using an AVCaptureDeviceDiscoverySession or -[AVCaptureDevice defaultDeviceWithDeviceType:mediaType:position:].
633 | */
634 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTrueDepthCamera API_AVAILABLE(ios(11.1), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
635 |
636 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:19:10: error: 'builtInUltraWideCamera' is unavailable in watchOS
17 | .builtInDualCamera,
18 | .builtInTrueDepthCamera,
19 | .builtInUltraWideCamera,
| `- error: 'builtInUltraWideCamera' is unavailable in watchOS
20 | .builtInDualWideCamera,
21 | .builtInTripleCamera,
/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/Extensions/AVCaptureDevice+Utilities.swift:20:10: error: 'builtInDualWideCamera' is unavailable in watchOS
18 | .builtInTrueDepthCamera,
19 | .builtInUltraWideCamera,
20 | .builtInDualWideCamera,
| `- error: 'builtInDualWideCamera' is unavailable in watchOS
21 | .builtInTripleCamera,
22 | ]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:611:38: note: 'builtInDualWideCamera' has been explicitly marked unavailable here
609 | Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
610 | */
611 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualWideCamera API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInDualWideCamera' has been explicitly marked unavailable here
612 |
613 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:21:10: error: 'builtInTripleCamera' is unavailable in watchOS
19 | .builtInUltraWideCamera,
20 | .builtInDualWideCamera,
21 | .builtInTripleCamera,
| `- error: 'builtInTripleCamera' is unavailable in watchOS
22 | ]
23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:628:38: note: 'builtInTripleCamera' has been explicitly marked unavailable here
626 | Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
627 | */
628 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTripleCamera API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInTripleCamera' has been explicitly marked unavailable here
629 |
630 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:25:39: error: 'AVCaptureDevice' is unavailable in watchOS
23 |
24 | /// All camera types available in this device.
25 | static let availableCameraTypes: [AVCaptureDevice.DeviceType] = allCameras.filter { AVCaptureDevice.DiscoverySession(deviceTypes: [ $0 ], mediaType: .video, position: .unspecified).devices.isEmpty == false }
| `- error: 'AVCaptureDevice' is unavailable in watchOS
26 | }
27 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/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/Extensions/AVCaptureDevice+Utilities.swift:25:89: error: 'AVCaptureDevice' is unavailable in watchOS
23 |
24 | /// All camera types available in this device.
25 | static let availableCameraTypes: [AVCaptureDevice.DeviceType] = allCameras.filter { AVCaptureDevice.DiscoverySession(deviceTypes: [ $0 ], mediaType: .video, position: .unspecified).devices.isEmpty == false }
| `- error: 'AVCaptureDevice' is unavailable in watchOS
26 | }
27 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/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/Extensions/AVCaptureDevice+Utilities.swift:5:18: error: 'AVCaptureDevice' is unavailable in watchOS
3 | import AVFoundation
4 |
5 | public extension AVCaptureDevice {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
6 | /// All camera devices available in this device currently.
7 | /// Devices are sorted by AVCaptureDeviceType, matching the order specified in the deviceTypes parameter of +[AVCaptureDeviceDiscoverySession discoverySessionWithDeviceTypes:mediaType:position:]. If a `.unspecified` position is given, the results are further ordered by position in the AVCaptureDevicePosition enum.
/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/Extensions/AVCaptureDevice+Utilities.swift:40:67: error: 'AVCaptureDevice' is unavailable in watchOS
38 | /// - Parameter cameraDevice: The CameraDevice camera position to check.
39 | /// - Returns: The AVCaptureDevice that corresponds to the given CameraDevice position.
40 | static func captureDevice(from cameraDevice: CameraDevice) -> AVCaptureDevice? {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
41 | // TODO: Handle multiple cameras?
42 | return AVCaptureDevice.availableCameras(position: cameraDevice.captureDevicePosition).first
/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/Extensions/AVCaptureDevice+Utilities.swift:28:18: error: 'AVCaptureDevice' is unavailable in watchOS
26 | }
27 |
28 | public extension AVCaptureDevice {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
29 | /// Checks whether either point focus or point exposure is available for the given CameraDevice.
30 | /// - Parameter cameraDevice: The CameraDevice to check.
/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/Extensions/AVCaptureDevice+Utilities.swift:73:18: error: 'AVCaptureDevice' is unavailable in watchOS
71 | }
72 |
73 | public extension AVCaptureDevice {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
74 | /// Tells this AVCaptureDevice to focus and set point exposure at the given point of interest.
75 | /// - Parameter pointOfInterest: The point of interest in the current AVCaptureDevice's coordinate system at which to set point focus and point exposure for this device.
/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/Extensions/AVCaptureDevice+Utilities.swift:123:47: error: 'AVCaptureDevice' is unavailable in watchOS
121 | public extension AVCaptureDevice {
122 | /// Sets the given focus mode to this device, if it's supported.
123 | func setFocusModeIfSupported(_ focusMode: AVCaptureDevice.FocusMode) {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
124 | guard isFocusModeSupported(focusMode) else { return }
125 | self.focusMode = focusMode
/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/Extensions/AVCaptureDevice+Utilities.swift:129:53: error: 'ExposureMode' is unavailable in watchOS
127 |
128 | /// Sets the given exposure mode to this device, if it's supported.
129 | func setExposureModeIfSupported(_ exposureMode: ExposureMode) {
| `- error: 'ExposureMode' is unavailable in watchOS
130 | guard isExposureModeSupported(exposureMode) else { return }
131 | self.exposureMode = exposureMode
/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:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:121:18: error: 'AVCaptureDevice' is unavailable in watchOS
119 | }
120 |
121 | public extension AVCaptureDevice {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
122 | /// Sets the given focus mode to this device, if it's supported.
123 | func setFocusModeIfSupported(_ focusMode: AVCaptureDevice.FocusMode) {
/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/Extensions/AVCaptureDevice+Utilities.swift:10:16: error: 'AVCaptureDevice' is unavailable in watchOS
8 | static func availableCameras(position: AVCaptureDevice.Position = .unspecified) -> [AVCaptureDevice] {
9 | /// For apps linked against iOS 11 or later, the
10 | return AVCaptureDevice.DiscoverySession(deviceTypes: availableCameraTypes, mediaType: .video, position: position).devices
| `- error: 'AVCaptureDevice' is unavailable in watchOS
11 | }
12 |
/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 /Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DeviceOrientation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVCaptureDevice+Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:33:27: error: 'AVCaptureDevice' is unavailable in watchOS
31 | /// - Returns: True if point focus or point exposure is available for the given CameraDevice. Otherwise, false.
32 | static func isPointFocusAvailable(for cameraDevice: CameraDevice) -> Bool {
33 | guard let device: AVCaptureDevice = captureDevice(from: cameraDevice) else { return false }
| `- error: 'AVCaptureDevice' is unavailable in watchOS
34 | return device.isFocusPointOfInterestSupported || device.isExposurePointOfInterestSupported
35 | }
/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 Compiling\ AVCaptureSession+Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureSession+Utilities.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureSession+Utilities.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AVCaptureSession+Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureSession+Utilities.swift:8:38: error: 'AVCaptureInput' is unavailable in watchOS
6 | public extension AVCaptureSession {
7 | /// Adds the given AVCaptureInput to the session, if possible.
8 | func addInputIfPossible(_ input: AVCaptureInput) {
| `- error: 'AVCaptureInput' is unavailable in watchOS
9 | guard canAddInput(input) else { return }
10 | addInput(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/Extensions/AVCaptureSession+Utilities.swift:14:40: error: 'AVCaptureOutput' is unavailable in watchOS
12 |
13 | /// Adds the given AVCaptureOutput to the session, if possible.
14 | func addOutputIfPossible(_ output: AVCaptureOutput) {
| `- error: 'AVCaptureOutput' is unavailable in watchOS
15 | guard canAddOutput(output) else { return }
16 | addOutput(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/Extensions/AVCaptureSession+Utilities.swift:20:47: error: 'AVCaptureSession' is unavailable in watchOS
18 |
19 | /// Configures the receiver with the given preset, if possible.
20 | func setSessionPresetIfPossible(_ preset: AVCaptureSession.Preset) {
| `- error: 'AVCaptureSession' is unavailable in watchOS
21 | guard canSetSessionPreset(preset) else { return }
22 | sessionPreset = preset
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
SwiftCompile normal arm64 Compiling\ UIImage+Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIImage+Utilities.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIImage+Utilities.swift:31:50: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
29 | /// - Parameter previewLayer: The preview layer of the camera's live preview.
30 | /// - Returns: The CGRect to use for cropping the camera's captured image to match the camera preview.
31 | func cropRect(fromPreviewLayer previewLayer: AVCaptureVideoPreviewLayer) -> CGRect {
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
32 | let outputRect = previewLayer.metadataOutputRectConverted(fromLayerRect: previewLayer.bounds)
33 | return cropRect(fromOutputRect: outputRect)
/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/Extensions/UIImage+Utilities.swift:117:76: error: 'UIDeviceOrientation' is unavailable in watchOS
115 | /// - Parameter deviceOrientation: The orientation of the preview view.
116 | /// - Returns: The image that has been rotated to match the camera preview.
117 | func rotatedImageMatchingCameraView(withOrientation deviceOrientation: UIDeviceOrientation) -> UIImage {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
118 | let isMirrored: Bool = {
119 | switch imageOrientation {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIImage+Utilities.swift:88:30: error: 'UIScreen' is unavailable in watchOS
86 | func scaledImage(withScale newScale: CGFloat) -> UIImage? {
87 | guard let cgImage = cgImage else { preconditionFailure(".cgImage is nil") }
88 | let scale: CGFloat = UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
89 | let width: CGFloat = round(CGFloat(cgImage.width) * newScale * scale)
90 | let height: CGFloat = round(CGFloat(cgImage.height) * newScale * scale)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIImage+Utilities.swift:88:39: error: 'main' is unavailable in watchOS
86 | func scaledImage(withScale newScale: CGFloat) -> UIImage? {
87 | guard let cgImage = cgImage else { preconditionFailure(".cgImage is nil") }
88 | let scale: CGFloat = UIScreen.main.scale
| `- error: 'main' is unavailable in watchOS
89 | let width: CGFloat = round(CGFloat(cgImage.width) * newScale * scale)
90 | let height: CGFloat = round(CGFloat(cgImage.height) * newScale * scale)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIImage+Utilities.swift:124:78: error: 'UIDeviceOrientation' is unavailable in watchOS
122 | }
123 | }()
124 | func previewImageOrientation(forDeviceOrientation deviceOrientation: UIDeviceOrientation, isMirrored: Bool) -> UIImage.Orientation {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
125 | switch deviceOrientation {
126 | case .landscapeLeft: return isMirrored ? .upMirrored : .up
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIImage+Utilities.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIImage+Utilities.swift
SwiftCompile normal arm64 Compiling\ CameraDelegate.swift,\ CameraProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
/Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift:28:26: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
26 |
27 | /// Set this if you need to manage custom UIGestureRecognizerDelegate settings for tap-to-focus and pinch-zoom. This will only have an effect if `handlesTapFocus` or `handlesZoom` is true. Defaults to nil.
28 | var gestureDelegate: UIGestureRecognizerDelegate? { get set }
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
29 |
30 | /// Set this if you have an overlay with additional gesture recognizers that would conflict with SwiftttCamera's tap-to-focus gesture recognizer and pinch-to-zoom gesture recognizer. Defaults to SwiftttCamera's view.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift:31:22: error: 'UIView' is unavailable in watchOS
29 |
30 | /// Set this if you have an overlay with additional gesture recognizers that would conflict with SwiftttCamera's tap-to-focus gesture recognizer and pinch-to-zoom gesture recognizer. Defaults to SwiftttCamera's view.
31 | var gestureView: UIView? { get set }
| `- error: 'UIView' is unavailable in watchOS
32 |
33 | /// Set this to false if you want SwiftttCamera to return the full image captured by the camera instead of an image cropped to the view's aspect ratio. The image will be returned by the `cameraController(:didFinishCapturingImage:)` delegate method, in the `fullImage` property of the CapturedImage object `cameraController(:didFinishNormalizingCapturedImage:)` is the only other method that will be called, and only if normalizesImageOrientations == true. Defaults to true.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraDelegate.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraProtocol.swift
SwiftCompile normal arm64 Compiling\ CameraTypes.swift,\ CapturedImage.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraTypes.swift /Users/admin/builder/spi-builder-workspace/Sources/CapturedImage.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
/Users/admin/builder/spi-builder-workspace/Sources/CameraTypes.swift:12:32: error: 'AVCaptureDevice' is unavailable in watchOS
10 | case rear
11 |
12 | var captureDevicePosition: AVCaptureDevice.Position {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
13 | switch self {
14 | case .front: return .front
/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/CameraTypes.swift:45:27: error: 'AVCaptureDevice' is unavailable in watchOS
43 | case auto
44 |
45 | var captureFlashMode: AVCaptureDevice.FlashMode {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
46 | switch self {
47 | case .on: return .on
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraTypes.swift:63:27: error: 'AVCaptureDevice' is unavailable in watchOS
61 | case auto
62 |
63 | var captureTorchMode: AVCaptureDevice.TorchMode {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
64 | switch self {
65 | case .on: return .on
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CameraTypes.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraTypes.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CapturedImage.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CapturedImage.swift
SwiftCompile normal arm64 Compiling\ Comparable+Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/Comparable+Utilities.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Extensions/Comparable+Utilities.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Comparable+Utilities.swift
SwiftCompile normal arm64 Compiling\ UIViewController+SwiftttCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIViewController+SwiftttCamera.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIViewController+SwiftttCamera.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewController+SwiftttCamera.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIViewController+SwiftttCamera.swift:10:49: error: 'UIViewController' is unavailable in watchOS
8 | /// - childViewController: The child view controller to add.
9 | /// - siblingSubview: The subview below which to add the child view controller's view.
10 | func swiftttAddChild(_ childViewController: UIViewController, belowSubview siblingSubview: UIView? = nil) {
| `- error: 'UIViewController' is unavailable in watchOS
11 | childViewController.beginAppearanceTransition(true, animated: false)
12 | addChild(childViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIViewController+SwiftttCamera.swift:10:96: error: 'UIView' is unavailable in watchOS
8 | /// - childViewController: The child view controller to add.
9 | /// - siblingSubview: The subview below which to add the child view controller's view.
10 | func swiftttAddChild(_ childViewController: UIViewController, belowSubview siblingSubview: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
11 | childViewController.beginAppearanceTransition(true, animated: false)
12 | addChild(childViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIViewController+SwiftttCamera.swift:24:52: error: 'UIViewController' is unavailable in watchOS
22 | /// Removes the given child view controller from this view controller and handles view appearance transition event calls.
23 | /// - Parameter childViewController: The child view controller to remove.
24 | func swiftttRemoveChild(_ childViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
25 | childViewController.willMove(toParent: nil)
26 | childViewController.beginAppearanceTransition(false, animated: false)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftttCamera (in target 'SwiftttCamera' from project 'SwiftttCamera')
/Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift:28:26: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
26 |
27 | /// Set this if you need to manage custom UIGestureRecognizerDelegate settings for tap-to-focus and pinch-zoom. This will only have an effect if `handlesTapFocus` or `handlesZoom` is true. Defaults to nil.
28 | var gestureDelegate: UIGestureRecognizerDelegate? { get set }
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
29 |
30 | /// Set this if you have an overlay with additional gesture recognizers that would conflict with SwiftttCamera's tap-to-focus gesture recognizer and pinch-to-zoom gesture recognizer. Defaults to SwiftttCamera's view.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift:31:22: error: 'UIView' is unavailable in watchOS
29 |
30 | /// Set this if you have an overlay with additional gesture recognizers that would conflict with SwiftttCamera's tap-to-focus gesture recognizer and pinch-to-zoom gesture recognizer. Defaults to SwiftttCamera's view.
31 | var gestureView: UIView? { get set }
| `- error: 'UIView' is unavailable in watchOS
32 |
33 | /// Set this to false if you want SwiftttCamera to return the full image captured by the camera instead of an image cropped to the view's aspect ratio. The image will be returned by the `cameraController(:didFinishCapturingImage:)` delegate method, in the `fullImage` property of the CapturedImage object `cameraController(:didFinishNormalizingCapturedImage:)` is the only other method that will be called, and only if normalizesImageOrientations == true. Defaults to true.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift:54:36: error: 'UIDeviceOrientation' is unavailable in watchOS
52 | /// Set this to `.landscapeLeft` or `.landscapeRight` if your interface does not autorotate with device orientation and sticks to a landscape interface, to make sure that preview images are still displayed correctly when orientation lock is off but your interface stays in landscape mode.
53 | /// Make sure to also set interfaceRotatesWithOrientation = true, otherwise this property will be ignored. Defaults to `.portrait`.
54 | var fixedInterfaceOrientation: UIDeviceOrientation { get set }
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
55 |
56 | // MARK: - Camera State
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/CameraTypes.swift:12:32: error: 'AVCaptureDevice' is unavailable in watchOS
10 | case rear
11 |
12 | var captureDevicePosition: AVCaptureDevice.Position {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
13 | switch self {
14 | case .front: return .front
/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/CameraTypes.swift:45:27: error: 'AVCaptureDevice' is unavailable in watchOS
43 | case auto
44 |
45 | var captureFlashMode: AVCaptureDevice.FlashMode {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
46 | switch self {
47 | case .on: return .on
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CameraTypes.swift:63:27: error: 'AVCaptureDevice' is unavailable in watchOS
61 | case auto
62 |
63 | var captureTorchMode: AVCaptureDevice.TorchMode {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
64 | switch self {
65 | case .on: return .on
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/Sources/CapturedImage.swift:43:139: error: 'UIDeviceOrientation' is unavailable in watchOS
41 | /// - previewOrientation: The orientation to use for the preview view (usually `.portrait`)
42 | /// - Returns: A Future that resolves when the image cropping and preview completes and the CapturedImage `fullImage` and `rotatedPreviewImage` properties have been set as needed.
43 | internal func crop(to cropRect: CGRect?, returnsPreview: Bool, needsPreviewRotation: Bool, withPreviewOrientation previewOrientation: UIDeviceOrientation) -> Future<CapturedImage, Never> {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
44 | return Future<CapturedImage, Never> { promise in
45 | self.serialQueue.async {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:9:9: error: 'UIDevice' is unavailable in watchOS
7 | final class DeviceOrientation {
8 | private lazy var motionManager: CMMotionManager? = {
9 | UIDevice.current.beginGeneratingDeviceOrientationNotifications()
| `- error: 'UIDevice' is unavailable in watchOS
10 | #if TARGET_IPHONE_SIMULATOR
11 | return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift:29:22: error: 'UIDeviceOrientation' is unavailable in watchOS
27 |
28 | /// The current actual orientation of the device, based on accelerometer data if on a device, or [[UIDevice currentDevice] orientation] if on the simulator.
29 | var orientation: UIDeviceOrientation {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
30 | #if TARGET_IPHONE_SIMULATOR
31 | return .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:8:44: error: 'AVCaptureDevice' is unavailable in watchOS
6 | /// All camera devices available in this device currently.
7 | /// Devices are sorted by AVCaptureDeviceType, matching the order specified in the deviceTypes parameter of +[AVCaptureDeviceDiscoverySession discoverySessionWithDeviceTypes:mediaType:position:]. If a `.unspecified` position is given, the results are further ordered by position in the AVCaptureDevicePosition enum.
8 | static func availableCameras(position: AVCaptureDevice.Position = .unspecified) -> [AVCaptureDevice] {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
9 | /// For apps linked against iOS 11 or later, the
10 | return AVCaptureDevice.DiscoverySession(deviceTypes: availableCameraTypes, mediaType: .video, 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/Extensions/AVCaptureDevice+Utilities.swift:8:89: error: 'AVCaptureDevice' is unavailable in watchOS
6 | /// All camera devices available in this device currently.
7 | /// Devices are sorted by AVCaptureDeviceType, matching the order specified in the deviceTypes parameter of +[AVCaptureDeviceDiscoverySession discoverySessionWithDeviceTypes:mediaType:position:]. If a `.unspecified` position is given, the results are further ordered by position in the AVCaptureDevicePosition enum.
8 | static func availableCameras(position: AVCaptureDevice.Position = .unspecified) -> [AVCaptureDevice] {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
9 | /// For apps linked against iOS 11 or later, the
10 | return AVCaptureDevice.DiscoverySession(deviceTypes: availableCameraTypes, mediaType: .video, 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/Extensions/AVCaptureDevice+Utilities.swift:14:29: error: 'AVCaptureDevice' is unavailable in watchOS
12 |
13 | /// All camera types available in iOS.
14 | static let allCameras: [AVCaptureDevice.DeviceType] = [
| `- error: 'AVCaptureDevice' is unavailable in watchOS
15 | .builtInWideAngleCamera,
16 | .builtInTelephotoCamera,
/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/Extensions/AVCaptureDevice+Utilities.swift:15:10: error: 'builtInWideAngleCamera' is unavailable in watchOS
13 | /// All camera types available in iOS.
14 | static let allCameras: [AVCaptureDevice.DeviceType] = [
15 | .builtInWideAngleCamera,
| `- error: 'builtInWideAngleCamera' is unavailable in watchOS
16 | .builtInTelephotoCamera,
17 | .builtInDualCamera,
/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/Extensions/AVCaptureDevice+Utilities.swift:16:10: error: 'builtInTelephotoCamera' is unavailable in watchOS
14 | static let allCameras: [AVCaptureDevice.DeviceType] = [
15 | .builtInWideAngleCamera,
16 | .builtInTelephotoCamera,
| `- error: 'builtInTelephotoCamera' is unavailable in watchOS
17 | .builtInDualCamera,
18 | .builtInTrueDepthCamera,
/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/Extensions/AVCaptureDevice+Utilities.swift:17:10: error: 'builtInDualCamera' is unavailable in watchOS
15 | .builtInWideAngleCamera,
16 | .builtInTelephotoCamera,
17 | .builtInDualCamera,
| `- error: 'builtInDualCamera' is unavailable in watchOS
18 | .builtInTrueDepthCamera,
19 | .builtInUltraWideCamera,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:593:38: note: 'builtInDualCamera' has been explicitly marked unavailable here
591 | Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
592 | */
593 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualCamera API_AVAILABLE(ios(10.2), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInDualCamera' has been explicitly marked unavailable here
594 |
595 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:18:10: error: 'builtInTrueDepthCamera' is unavailable in watchOS
16 | .builtInTelephotoCamera,
17 | .builtInDualCamera,
18 | .builtInTrueDepthCamera,
| `- error: 'builtInTrueDepthCamera' is unavailable in watchOS
19 | .builtInUltraWideCamera,
20 | .builtInDualWideCamera,
/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:634:38: note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
632 | A device that consists of two cameras, one YUV and one Infrared. The infrared camera provides high quality depth information that is synchronized and perspective corrected to frames produced by the YUV camera. While the resolution of the depth data and YUV frames may differ, their field of view and aspect ratio always match. Note that devices of this type may only be discovered using an AVCaptureDeviceDiscoverySession or -[AVCaptureDevice defaultDeviceWithDeviceType:mediaType:position:].
633 | */
634 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTrueDepthCamera API_AVAILABLE(ios(11.1), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInTrueDepthCamera' has been explicitly marked unavailable here
635 |
636 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:19:10: error: 'builtInUltraWideCamera' is unavailable in watchOS
17 | .builtInDualCamera,
18 | .builtInTrueDepthCamera,
19 | .builtInUltraWideCamera,
| `- error: 'builtInUltraWideCamera' is unavailable in watchOS
20 | .builtInDualWideCamera,
21 | .builtInTripleCamera,
/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/Extensions/AVCaptureDevice+Utilities.swift:20:10: error: 'builtInDualWideCamera' is unavailable in watchOS
18 | .builtInTrueDepthCamera,
19 | .builtInUltraWideCamera,
20 | .builtInDualWideCamera,
| `- error: 'builtInDualWideCamera' is unavailable in watchOS
21 | .builtInTripleCamera,
22 | ]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:611:38: note: 'builtInDualWideCamera' has been explicitly marked unavailable here
609 | Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
610 | */
611 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualWideCamera API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInDualWideCamera' has been explicitly marked unavailable here
612 |
613 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:21:10: error: 'builtInTripleCamera' is unavailable in watchOS
19 | .builtInUltraWideCamera,
20 | .builtInDualWideCamera,
21 | .builtInTripleCamera,
| `- error: 'builtInTripleCamera' is unavailable in watchOS
22 | ]
23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:628:38: note: 'builtInTripleCamera' has been explicitly marked unavailable here
626 | Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
627 | */
628 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTripleCamera API_AVAILABLE(ios(13.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
| `- note: 'builtInTripleCamera' has been explicitly marked unavailable here
629 |
630 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:25:39: error: 'AVCaptureDevice' is unavailable in watchOS
23 |
24 | /// All camera types available in this device.
25 | static let availableCameraTypes: [AVCaptureDevice.DeviceType] = allCameras.filter { AVCaptureDevice.DiscoverySession(deviceTypes: [ $0 ], mediaType: .video, position: .unspecified).devices.isEmpty == false }
| `- error: 'AVCaptureDevice' is unavailable in watchOS
26 | }
27 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/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/Extensions/AVCaptureDevice+Utilities.swift:25:89: error: 'AVCaptureDevice' is unavailable in watchOS
23 |
24 | /// All camera types available in this device.
25 | static let availableCameraTypes: [AVCaptureDevice.DeviceType] = allCameras.filter { AVCaptureDevice.DiscoverySession(deviceTypes: [ $0 ], mediaType: .video, position: .unspecified).devices.isEmpty == false }
| `- error: 'AVCaptureDevice' is unavailable in watchOS
26 | }
27 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/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/Extensions/AVCaptureDevice+Utilities.swift:5:18: error: 'AVCaptureDevice' is unavailable in watchOS
3 | import AVFoundation
4 |
5 | public extension AVCaptureDevice {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
6 | /// All camera devices available in this device currently.
7 | /// Devices are sorted by AVCaptureDeviceType, matching the order specified in the deviceTypes parameter of +[AVCaptureDeviceDiscoverySession discoverySessionWithDeviceTypes:mediaType:position:]. If a `.unspecified` position is given, the results are further ordered by position in the AVCaptureDevicePosition enum.
/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/Extensions/AVCaptureDevice+Utilities.swift:40:67: error: 'AVCaptureDevice' is unavailable in watchOS
38 | /// - Parameter cameraDevice: The CameraDevice camera position to check.
39 | /// - Returns: The AVCaptureDevice that corresponds to the given CameraDevice position.
40 | static func captureDevice(from cameraDevice: CameraDevice) -> AVCaptureDevice? {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
41 | // TODO: Handle multiple cameras?
42 | return AVCaptureDevice.availableCameras(position: cameraDevice.captureDevicePosition).first
/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/Extensions/AVCaptureDevice+Utilities.swift:28:18: error: 'AVCaptureDevice' is unavailable in watchOS
26 | }
27 |
28 | public extension AVCaptureDevice {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
29 | /// Checks whether either point focus or point exposure is available for the given CameraDevice.
30 | /// - Parameter cameraDevice: The CameraDevice to check.
/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/Extensions/AVCaptureDevice+Utilities.swift:73:18: error: 'AVCaptureDevice' is unavailable in watchOS
71 | }
72 |
73 | public extension AVCaptureDevice {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
74 | /// Tells this AVCaptureDevice to focus and set point exposure at the given point of interest.
75 | /// - Parameter pointOfInterest: The point of interest in the current AVCaptureDevice's coordinate system at which to set point focus and point exposure for this device.
/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/Extensions/AVCaptureDevice+Utilities.swift:123:47: error: 'AVCaptureDevice' is unavailable in watchOS
121 | public extension AVCaptureDevice {
122 | /// Sets the given focus mode to this device, if it's supported.
123 | func setFocusModeIfSupported(_ focusMode: AVCaptureDevice.FocusMode) {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
124 | guard isFocusModeSupported(focusMode) else { return }
125 | self.focusMode = focusMode
/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/Extensions/AVCaptureDevice+Utilities.swift:129:53: error: 'ExposureMode' is unavailable in watchOS
127 |
128 | /// Sets the given exposure mode to this device, if it's supported.
129 | func setExposureModeIfSupported(_ exposureMode: ExposureMode) {
| `- error: 'ExposureMode' is unavailable in watchOS
130 | guard isExposureModeSupported(exposureMode) else { return }
131 | self.exposureMode = exposureMode
/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:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 | Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 | */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
| `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 | AVCaptureExposureModeLocked = 0,
1424 | AVCaptureExposureModeAutoExpose = 1,
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift:121:18: error: 'AVCaptureDevice' is unavailable in watchOS
119 | }
120 |
121 | public extension AVCaptureDevice {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
122 | /// Sets the given focus mode to this device, if it's supported.
123 | func setFocusModeIfSupported(_ focusMode: AVCaptureDevice.FocusMode) {
/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/Extensions/AVCaptureSession+Utilities.swift:8:38: error: 'AVCaptureInput' is unavailable in watchOS
6 | public extension AVCaptureSession {
7 | /// Adds the given AVCaptureInput to the session, if possible.
8 | func addInputIfPossible(_ input: AVCaptureInput) {
| `- error: 'AVCaptureInput' is unavailable in watchOS
9 | guard canAddInput(input) else { return }
10 | addInput(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/Extensions/AVCaptureSession+Utilities.swift:14:40: error: 'AVCaptureOutput' is unavailable in watchOS
12 |
13 | /// Adds the given AVCaptureOutput to the session, if possible.
14 | func addOutputIfPossible(_ output: AVCaptureOutput) {
| `- error: 'AVCaptureOutput' is unavailable in watchOS
15 | guard canAddOutput(output) else { return }
16 | addOutput(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/Extensions/AVCaptureSession+Utilities.swift:20:47: error: 'AVCaptureSession' is unavailable in watchOS
18 |
19 | /// Configures the receiver with the given preset, if possible.
20 | func setSessionPresetIfPossible(_ preset: AVCaptureSession.Preset) {
| `- error: 'AVCaptureSession' is unavailable in watchOS
21 | guard canSetSessionPreset(preset) else { return }
22 | sessionPreset = preset
/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/Extensions/AVCaptureSession+Utilities.swift:6:18: error: 'AVCaptureSession' is unavailable in watchOS
4 | import Foundation
5 |
6 | public extension AVCaptureSession {
| `- error: 'AVCaptureSession' is unavailable in watchOS
7 | /// Adds the given AVCaptureInput to the session, if possible.
8 | func addInputIfPossible(_ input: AVCaptureInput) {
/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/Extensions/UIImage+Utilities.swift:31:50: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
29 | /// - Parameter previewLayer: The preview layer of the camera's live preview.
30 | /// - Returns: The CGRect to use for cropping the camera's captured image to match the camera preview.
31 | func cropRect(fromPreviewLayer previewLayer: AVCaptureVideoPreviewLayer) -> CGRect {
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
32 | let outputRect = previewLayer.metadataOutputRectConverted(fromLayerRect: previewLayer.bounds)
33 | return cropRect(fromOutputRect: outputRect)
/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/Extensions/UIImage+Utilities.swift:117:76: error: 'UIDeviceOrientation' is unavailable in watchOS
115 | /// - Parameter deviceOrientation: The orientation of the preview view.
116 | /// - Returns: The image that has been rotated to match the camera preview.
117 | func rotatedImageMatchingCameraView(withOrientation deviceOrientation: UIDeviceOrientation) -> UIImage {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
118 | let isMirrored: Bool = {
119 | switch imageOrientation {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIViewController+SwiftttCamera.swift:10:49: error: 'UIViewController' is unavailable in watchOS
8 | /// - childViewController: The child view controller to add.
9 | /// - siblingSubview: The subview below which to add the child view controller's view.
10 | func swiftttAddChild(_ childViewController: UIViewController, belowSubview siblingSubview: UIView? = nil) {
| `- error: 'UIViewController' is unavailable in watchOS
11 | childViewController.beginAppearanceTransition(true, animated: false)
12 | addChild(childViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIViewController+SwiftttCamera.swift:10:96: error: 'UIView' is unavailable in watchOS
8 | /// - childViewController: The child view controller to add.
9 | /// - siblingSubview: The subview below which to add the child view controller's view.
10 | func swiftttAddChild(_ childViewController: UIViewController, belowSubview siblingSubview: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
11 | childViewController.beginAppearanceTransition(true, animated: false)
12 | addChild(childViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIViewController+SwiftttCamera.swift:24:52: error: 'UIViewController' is unavailable in watchOS
22 | /// Removes the given child view controller from this view controller and handles view appearance transition event calls.
23 | /// - Parameter childViewController: The child view controller to remove.
24 | func swiftttRemoveChild(_ childViewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
25 | childViewController.willMove(toParent: nil)
26 | childViewController.beginAppearanceTransition(false, animated: false)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIViewController+SwiftttCamera.swift:5:18: error: 'UIViewController' is unavailable in watchOS
3 | import UIKit
4 |
5 | public extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
6 | /// Adds as a child view controller of this view controller below the given sibling subview and handles view appearance transition event calls.
7 | /// - Parameters:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:19:31: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
17 | var detectsTaps: Bool = true { didSet { if oldValue != detectsTaps { handleDetectsTapsChanged() } } }
18 | /// Set this through CameraProtocol's `gestureDelegate` property if you need to manage custom UIGestureRecognizerDelegate settings. Defaults to nil.
19 | weak var gestureDelegate: UIGestureRecognizerDelegate?
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
20 |
21 | private static let focusSquareSize: CGFloat = 50
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:22:23: error: 'UIView' is unavailable in watchOS
20 |
21 | private static let focusSquareSize: CGFloat = 50
22 | private var view: UIView
| `- error: 'UIView' is unavailable in watchOS
23 | private var tapGestureRecognizer: UITapGestureRecognizer?
24 | private var isFocusing: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:23:39: error: 'UITapGestureRecognizer' is unavailable in watchOS
21 | private static let focusSquareSize: CGFloat = 50
22 | private var view: UIView
23 | private var tapGestureRecognizer: UITapGestureRecognizer?
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
24 | private var isFocusing: Bool = false
25 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:31:16: error: 'UIView' is unavailable in watchOS
29 | /// - view: The view to use for receiving touch events.
30 | /// - gestureDelegate: The delegate, if any, to use for the tap gesture recognizer.
31 | init(view: UIView, gestureDelegate: UIGestureRecognizerDelegate? = nil) {
| `- error: 'UIView' is unavailable in watchOS
32 | self.view = view
33 | self.gestureDelegate = gestureDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:31:41: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
29 | /// - view: The view to use for receiving touch events.
30 | /// - gestureDelegate: The delegate, if any, to use for the tap gesture recognizer.
31 | init(view: UIView, gestureDelegate: UIGestureRecognizerDelegate? = nil) {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
32 | self.view = view
33 | self.gestureDelegate = gestureDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:93:45: error: 'UITapGestureRecognizer' is unavailable in watchOS
91 |
92 | @objc
93 | private func handleTapFocus(recognizer: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
94 | guard !isFocusing else { return }
95 | let location: CGPoint = recognizer.location(in: view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:109:75: error: 'UITapGestureRecognizer' is unavailable in watchOS
107 | // MARK: Dynamic Callable
108 | extension Focus {
109 | func dynamicallyCall(withKeywordArguments args: KeyValuePairs<String, UITapGestureRecognizer>) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
110 | guard let gestureRecognizer = args.first?.value else { return }
111 | handleTapFocus(recognizer: gestureRecognizer)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:13:26: error: 'AVCaptureSession' is unavailable in watchOS
11 | private var focus: Focus!
12 | private var zoom: Zoom!
13 | private var session: AVCaptureSession!
| `- error: 'AVCaptureSession' is unavailable in watchOS
14 | private var previewLayer: AVCaptureVideoPreviewLayer!
15 | private var photoOutput: AVCapturePhotoOutput!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:14:31: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
12 | private var zoom: Zoom!
13 | private var session: AVCaptureSession!
14 | private var previewLayer: AVCaptureVideoPreviewLayer!
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
15 | private var photoOutput: AVCapturePhotoOutput!
16 | private var deviceAuthorized: Bool = 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/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/SwiftttCamera.swift:15:30: error: 'AVCapturePhotoOutput' is unavailable in watchOS
13 | private var session: AVCaptureSession!
14 | private var previewLayer: AVCaptureVideoPreviewLayer!
15 | private var photoOutput: AVCapturePhotoOutput!
| `- error: 'AVCapturePhotoOutput' is unavailable in watchOS
16 | private var deviceAuthorized: Bool = false
17 | private var isCapturingImage: Bool = 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/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:19:49: error: 'UIDeviceOrientation' is unavailable in watchOS
17 | private var isCapturingImage: Bool = false
18 | private var photoCaptureNeedsPreviewRotation: Bool = false
19 | private var photoCapturePreviewOrientation: UIDeviceOrientation = .portrait
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
20 | private var cancellables = Set<AnyCancellable>()
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:23:38: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
21 |
22 | public weak var delegate: CameraDelegate?
23 | public weak var gestureDelegate: UIGestureRecognizerDelegate?
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
24 | public var handlesTapFocus: Bool = true
25 | public var showsFocusView: Bool = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:35:43: error: 'UIDeviceOrientation' is unavailable in watchOS
33 | public var returnsRotatedPreview: Bool = true
34 | public var interfaceRotatesWithOrientation: Bool = true
35 | public var fixedInterfaceOrientation: UIDeviceOrientation = .portrait
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
36 | public var cameraDevice: CameraDevice = .rear { didSet { handleCameraDeviceChanged(oldValue: oldValue, newValue: cameraDevice) } }
37 | public var cameraFlashMode: CameraFlashMode = .off
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:39:29: error: 'UIView' is unavailable in watchOS
37 | public var cameraFlashMode: CameraFlashMode = .off
38 | public var cameraTorchMode: CameraTorchMode = .off { didSet { handleCameraTorchModeChanged() } }
39 | public var gestureView: UIView?
| `- error: 'UIView' is unavailable in watchOS
40 |
41 | // MARK: - Initializationo
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:106:57: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
104 | }
105 |
106 | public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
| `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
107 | return .all
108 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
| `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 | UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 | UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:110:80: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
108 | }
109 |
110 | public override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
| `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
111 | setPreviewVideoOrientation()
112 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
79 |
80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
| `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
82 |
83 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:9:30: error: 'UIViewController' is unavailable in watchOS
7 | /// Use to create a standard SwiftttCamera.
8 | /// - Note: The full interface for the SwiftttCamera can be found in CameraProtocol.
9 | public class SwiftttCamera : UIViewController, CameraProtocol {
| `- error: 'UIViewController' is unavailable in watchOS
10 | private var deviceOrientation: DeviceOrientation!
11 | private var focus: Focus!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:311:102: error: 'UIDeviceOrientation' is unavailable in watchOS
309 | }
310 |
311 | private func process(cameraPhoto image: UIImage, needsPreviewRotation: Bool, previewOrientation: UIDeviceOrientation) {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
312 | let cropRect: CGRect? = cropsImageToVisibleAspectRatio ? image.cropRect(fromPreviewLayer: previewLayer) : nil
313 | self.process(image: image, withCropRect: cropRect, maxDimension: maxScaledDimension, fromCamera: true, needsPreviewRotation: needsPreviewRotation || !interfaceRotatesWithOrientation, previewOrientation: previewOrientation)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:316:164: error: 'UIDeviceOrientation' is unavailable in watchOS
314 | }
315 |
316 | private func process(image: UIImage, withCropRect cropRect: CGRect?, maxDimension: CGFloat?, fromCamera: Bool, needsPreviewRotation: Bool, previewOrientation: UIDeviceOrientation) {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
317 | // This function has multiple guard statements that seem redundant, but they're not: the user may cancel image processing via `cancelImageProcessing()` at at time, which sets `isCapturingImage = false`, so those guard statements make that happen.
318 | guard !fromCamera || isCapturingImage else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:409:63: error: 'AVCaptureVideoOrientation' is unavailable in watchOS
407 | }
408 |
409 | private func currentCaptureVideoOrientationForDevice() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in watchOS
410 | let actualOrientation: UIDeviceOrientation = deviceOrientation.orientation
411 | switch actualOrientation {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:417:55: error: 'UIDeviceOrientation' is unavailable in watchOS
415 | }
416 |
417 | private func currentPreviewDeviceOrientation() -> UIDeviceOrientation {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
418 | return interfaceRotatesWithOrientation ? UIDevice.current.orientation : fixedInterfaceOrientation
419 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:421:63: error: 'AVCaptureVideoOrientation' is unavailable in watchOS
419 | }
420 |
421 | private func currentPreviewVideoOrientationForDevice() -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in watchOS
422 | let deviceOrientation: UIDeviceOrientation = currentPreviewDeviceOrientation()
423 | return Self.videoOrientation(forDeviceOrientation: deviceOrientation)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:426:82: error: 'UIDeviceOrientation' is unavailable in watchOS
424 | }
425 |
426 | private static func videoOrientation(forDeviceOrientation deviceOrientation: UIDeviceOrientation) -> AVCaptureVideoOrientation {
| `- error: 'UIDeviceOrientation' is unavailable in watchOS
427 | switch deviceOrientation {
428 | case .portrait: return .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:13:28: note: 'UIDeviceOrientation' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
| `- note: 'UIDeviceOrientation' has been explicitly marked unavailable here
14 | UIDeviceOrientationUnknown,
15 | UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:426:106: error: 'AVCaptureVideoOrientation' is unavailable in watchOS
424 | }
425 |
426 | private static func videoOrientation(forDeviceOrientation deviceOrientation: UIDeviceOrientation) -> AVCaptureVideoOrientation {
| `- error: 'AVCaptureVideoOrientation' is unavailable in watchOS
427 | switch deviceOrientation {
428 | case .portrait: return .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
102 |
103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
| `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
105 | /// Indicates that video should be oriented vertically, port on the bottom.
106 | AVCaptureVideoOrientationPortrait = 1,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:450:43: error: 'AVCaptureDevice' is unavailable in watchOS
448 | // MARK: - CameraDevice
449 | extension SwiftttCamera {
450 | private func currentCameraDevice() -> AVCaptureDevice? {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
451 | return (session.inputs.last as? AVCaptureDeviceInput)?.device
452 | }
/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/SwiftttCamera.swift:454:48: error: 'AVCaptureConnection' is unavailable in watchOS
452 | }
453 |
454 | private func currentCaptureConnection() -> AVCaptureConnection? {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
455 | return photoOutput.connections.first { $0.inputPorts.contains { $0.mediaType == .video } }
456 | }
/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/SwiftttCamera.swift:490:39: error: 'AVCapturePhotoOutput' is unavailable in watchOS
488 |
489 | extension SwiftttCamera : AVCapturePhotoCaptureDelegate {
490 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhotoOutput' is unavailable in watchOS
491 | guard isCapturingImage else { return }
492 | guard let imageData: Data = photo.fileDataRepresentation() else { isCapturingImage = false; return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
48 | */
49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
50 | @interface AVCapturePhotoOutput : AVCaptureOutput
| `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
51 | {
52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:490:93: error: 'AVCapturePhoto' is unavailable in watchOS
488 |
489 | extension SwiftttCamera : AVCapturePhotoCaptureDelegate {
490 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
| `- error: 'AVCapturePhoto' is unavailable in watchOS
491 | guard isCapturingImage else { return }
492 | guard let imageData: Data = photo.fileDataRepresentation() else { isCapturingImage = false; return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 | */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
| `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift:489:27: error: 'AVCapturePhotoCaptureDelegate' is unavailable in watchOS
487 | }
488 |
489 | extension SwiftttCamera : AVCapturePhotoCaptureDelegate {
| `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in watchOS
490 | public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
491 | guard isCapturingImage else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
988 | */
989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
| `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
991 |
992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:23:31: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
21 | var maxScale: CGFloat = 1.0
22 | /// Set this through CameraProtocol's `gestureDelegate` property if you need to manage custom UIGestureRecognizerDelegate settings. Defaults to nil.
23 | weak var gestureDelegate: UIGestureRecognizerDelegate?
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
24 |
25 | private var view: UIView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:25:23: error: 'UIView' is unavailable in watchOS
23 | weak var gestureDelegate: UIGestureRecognizerDelegate?
24 |
25 | private var view: UIView
| `- error: 'UIView' is unavailable in watchOS
26 | private var pinchGestureRecognizer: UIPinchGestureRecognizer?
27 | var currentScale: CGFloat = 1.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:26:41: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
24 |
25 | private var view: UIView
26 | private var pinchGestureRecognizer: UIPinchGestureRecognizer?
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
27 | var currentScale: CGFloat = 1.0
28 | private var lastScale: CGFloat?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h:20:12: note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIPinchGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic) CGFloat scale; // scale relative to the touch points in screen coordinates
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:35:16: error: 'UIView' is unavailable in watchOS
33 | /// - view: The view to use for receiving touch events.
34 | /// - gestureDelegate: The delegate, if any, to use for the pinch gesture recognizer.
35 | init(view: UIView, gestureDelegate: UIGestureRecognizerDelegate? = nil) {
| `- error: 'UIView' is unavailable in watchOS
36 | self.view = view
37 | self.gestureDelegate = gestureDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:35:41: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
33 | /// - view: The view to use for receiving touch events.
34 | /// - gestureDelegate: The delegate, if any, to use for the pinch gesture recognizer.
35 | init(view: UIView, gestureDelegate: UIGestureRecognizerDelegate? = nil) {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
36 | self.view = view
37 | self.gestureDelegate = gestureDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:88:46: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
86 |
87 | @objc
88 | private func handlePinchZoom(recognizer: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
89 | let newScale: CGFloat = (recognizer.scale * currentScale).constrained(to: 1...maxScale)
90 | if delegate?.handlePinchZoom(withScale: newScale) == true {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h:20:12: note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIPinchGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic) CGFloat scale; // scale relative to the touch points in screen coordinates
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:107:75: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
105 | // MARK: Dynamic Callable
106 | extension Zoom {
107 | func dynamicallyCall(withKeywordArguments args: KeyValuePairs<String, UIPinchGestureRecognizer>) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
108 | guard let gestureRecognizer = args.first?.value else { return }
109 | handlePinchZoom(recognizer: gestureRecognizer)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h:20:12: note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIPinchGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic) CGFloat scale; // scale relative to the touch points in screen coordinates
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/CameraDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/CameraTypes.swift /Users/admin/builder/spi-builder-workspace/Sources/CapturedImage.swift /Users/admin/builder/spi-builder-workspace/Sources/DeviceOrientation.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureDevice+Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/AVCaptureSession+Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/Comparable+Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIImage+Utilities.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/UIViewController+SwiftttCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Focus.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftttCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift -target arm64-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/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftttCamera -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera_const_extract_protocols.json -disable-clang-spi -clang-target arm64-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/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftttCamera.build/Debug-watchos/SwiftttCamera-t.build/Objects-normal/arm64/SwiftttCamera.abi.json
SwiftCompile normal arm64 (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Zoom.swift /Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:23:31: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
21 | var maxScale: CGFloat = 1.0
22 | /// Set this through CameraProtocol's `gestureDelegate` property if you need to manage custom UIGestureRecognizerDelegate settings. Defaults to nil.
23 | weak var gestureDelegate: UIGestureRecognizerDelegate?
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
24 |
25 | private var view: UIView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:25:23: error: 'UIView' is unavailable in watchOS
23 | weak var gestureDelegate: UIGestureRecognizerDelegate?
24 |
25 | private var view: UIView
| `- error: 'UIView' is unavailable in watchOS
26 | private var pinchGestureRecognizer: UIPinchGestureRecognizer?
27 | var currentScale: CGFloat = 1.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:26:41: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
24 |
25 | private var view: UIView
26 | private var pinchGestureRecognizer: UIPinchGestureRecognizer?
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
27 | var currentScale: CGFloat = 1.0
28 | private var lastScale: CGFloat?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h:20:12: note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIPinchGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic) CGFloat scale; // scale relative to the touch points in screen coordinates
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:35:16: error: 'UIView' is unavailable in watchOS
33 | /// - view: The view to use for receiving touch events.
34 | /// - gestureDelegate: The delegate, if any, to use for the pinch gesture recognizer.
35 | init(view: UIView, gestureDelegate: UIGestureRecognizerDelegate? = nil) {
| `- error: 'UIView' is unavailable in watchOS
36 | self.view = view
37 | self.gestureDelegate = gestureDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:35:41: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
33 | /// - view: The view to use for receiving touch events.
34 | /// - gestureDelegate: The delegate, if any, to use for the pinch gesture recognizer.
35 | init(view: UIView, gestureDelegate: UIGestureRecognizerDelegate? = nil) {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
36 | self.view = view
37 | self.gestureDelegate = gestureDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:88:46: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
86 |
87 | @objc
88 | private func handlePinchZoom(recognizer: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
89 | let newScale: CGFloat = (recognizer.scale * currentScale).constrained(to: 1...maxScale)
90 | if delegate?.handlePinchZoom(withScale: newScale) == true {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h:20:12: note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIPinchGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic) CGFloat scale; // scale relative to the touch points in screen coordinates
/Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift:107:75: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
105 | // MARK: Dynamic Callable
106 | extension Zoom {
107 | func dynamicallyCall(withKeywordArguments args: KeyValuePairs<String, UIPinchGestureRecognizer>) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
108 | guard let gestureRecognizer = args.first?.value else { return }
109 | handlePinchZoom(recognizer: gestureRecognizer)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h:20:12: note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIPinchGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPinchGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic) CGFloat scale; // scale relative to the touch points in screen coordinates
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Zoom.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Zoom.swift
SwiftCompile normal arm64 Compiling\ Focus.swift /Users/admin/builder/spi-builder-workspace/Sources/Focus.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:19:31: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
17 | var detectsTaps: Bool = true { didSet { if oldValue != detectsTaps { handleDetectsTapsChanged() } } }
18 | /// Set this through CameraProtocol's `gestureDelegate` property if you need to manage custom UIGestureRecognizerDelegate settings. Defaults to nil.
19 | weak var gestureDelegate: UIGestureRecognizerDelegate?
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
20 |
21 | private static let focusSquareSize: CGFloat = 50
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:22:23: error: 'UIView' is unavailable in watchOS
20 |
21 | private static let focusSquareSize: CGFloat = 50
22 | private var view: UIView
| `- error: 'UIView' is unavailable in watchOS
23 | private var tapGestureRecognizer: UITapGestureRecognizer?
24 | private var isFocusing: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:23:39: error: 'UITapGestureRecognizer' is unavailable in watchOS
21 | private static let focusSquareSize: CGFloat = 50
22 | private var view: UIView
23 | private var tapGestureRecognizer: UITapGestureRecognizer?
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
24 | private var isFocusing: Bool = false
25 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:31:16: error: 'UIView' is unavailable in watchOS
29 | /// - view: The view to use for receiving touch events.
30 | /// - gestureDelegate: The delegate, if any, to use for the tap gesture recognizer.
31 | init(view: UIView, gestureDelegate: UIGestureRecognizerDelegate? = nil) {
| `- error: 'UIView' is unavailable in watchOS
32 | self.view = view
33 | self.gestureDelegate = gestureDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:31:41: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
29 | /// - view: The view to use for receiving touch events.
30 | /// - gestureDelegate: The delegate, if any, to use for the tap gesture recognizer.
31 | init(view: UIView, gestureDelegate: UIGestureRecognizerDelegate? = nil) {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
32 | self.view = view
33 | self.gestureDelegate = gestureDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:93:45: error: 'UITapGestureRecognizer' is unavailable in watchOS
91 |
92 | @objc
93 | private func handleTapFocus(recognizer: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
94 | guard !isFocusing else { return }
95 | let location: CGPoint = recognizer.location(in: view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:109:75: error: 'UITapGestureRecognizer' is unavailable in watchOS
107 | // MARK: Dynamic Callable
108 | extension Focus {
109 | func dynamicallyCall(withKeywordArguments args: KeyValuePairs<String, UITapGestureRecognizer>) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
110 | guard let gestureRecognizer = args.first?.value else { return }
111 | handleTapFocus(recognizer: gestureRecognizer)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:43:36: error: 'UITapGestureRecognizer' is unavailable in watchOS
41 |
42 | private func setUpTapFocusRecognizer() {
43 | let tapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(handleTapFocus(recognizer:)))
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
44 | tapGestureRecognizer.delegate = gestureDelegate
45 | self.tapGestureRecognizer = tapGestureRecognizer
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:73:25: error: 'UIView' is unavailable in watchOS
71 | guard !isFocusing else { return }
72 | isFocusing = true
73 | let focusView = UIView()
| `- error: 'UIView' is unavailable in watchOS
74 | focusView.layer.borderColor = UIColor.systemYellow.cgColor
75 | focusView.layer.borderWidth = 2
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:73:25: error: 'init()' is unavailable in watchOS
71 | guard !isFocusing else { return }
72 | isFocusing = true
73 | let focusView = UIView()
| `- error: 'init()' is unavailable in watchOS
74 | focusView.layer.borderColor = UIColor.systemYellow.cgColor
75 | focusView.layer.borderWidth = 2
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:74:47: error: 'systemYellow' is unavailable in watchOS
72 | isFocusing = true
73 | let focusView = UIView()
74 | focusView.layer.borderColor = UIColor.systemYellow.cgColor
| `- error: 'systemYellow' is unavailable in watchOS
75 | focusView.layer.borderWidth = 2
76 | focusView.frame = centeredRect(forSize: CGSize(width: Self.focusSquareSize * 2, height: Self.focusSquareSize * 2), atCenterPoint: location)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:125:49: note: 'systemYellow' has been explicitly marked unavailable here
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemYellow' has been explicitly marked unavailable here
126 | @property (class, nonatomic, readonly) UIColor *systemPinkColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
127 | @property (class, nonatomic, readonly) UIColor *systemPurpleColor API_AVAILABLE(ios(9.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/Focus.swift:79:9: error: 'UIView' is unavailable in watchOS
77 | focusView.alpha = 0
78 | view.addSubview(focusView)
79 | UIView.animate(withDuration: 0.3, delay: 0, options: .curveEaseIn) {
| `- error: 'UIView' is unavailable in watchOS
80 | focusView.frame = self.centeredRect(forSize: CGSize(width: Self.focusSquareSize, height: Self.focusSquareSize), atCenterPoint: location)
81 | focusView.alpha = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Focus.swift (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Focus.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftttCamera (in target 'SwiftttCamera' from project 'SwiftttCamera')
SwiftCompile normal arm64_32 (in target 'SwiftttCamera' from project 'SwiftttCamera')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-17 16:52:51.043 xcodebuild[820:4970] [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\ SwiftttCamera (in target 'SwiftttCamera' from project 'SwiftttCamera')
SwiftCompile normal arm64 (in target 'SwiftttCamera' from project 'SwiftttCamera')
Building workspace SwiftttCamera with scheme SwiftttCamera
(3 failures)
BUILD FAILURE 6.4 watchOS