Build Information
Failed to build ZoomEngine, reference 1.2.2 (9cab6e), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 13:42:56 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 ZoomEngine -destination generic/platform=watchOSBuild Log
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/ZoomEngine/SUBoundedZoomView.swift:91:37: error: cannot find type 'Context' in scope
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- error: cannot find type 'Context' in scope
92 | let container = SUBoundedZoomViewContainer()
93 | container.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:102:77: error: cannot find type 'Context' in scope
100 | }
101 |
102 | public func updateUIView(_ uiView: SUBoundedZoomViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
103 | if shouldResetZoom {
104 | uiView.resetZoom(duration: resetTimeInterval)
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:120:32: error: cannot find type 'UIHostingController' in scope
118 |
119 | var parent: SUBoundedZoomView
120 | var hostingController: UIHostingController<Content>?
| `- error: cannot find type 'UIHostingController' in scope
121 |
122 | init(_ parent: SUBoundedZoomView) {
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:72:49: error: cannot find type 'UIViewRepresentable' in scope
70 | }
71 |
72 | public struct SUBoundedZoomView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
73 | @Binding var isZooming: Bool
74 | @Binding var scaleValue: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:12:44: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | public class SUInfinityImageViewContainer: UIView, @preconcurrency ZoomEngineDelegate {
| `- error: 'UIView' is unavailable in watchOS
13 | public func scaleValueChange(zoomValue: CGFloat) {
14 | delegate?.scaleValueChange(zoomValue: zoomValue)
/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/ZoomEngine/SUInfinityImageView.swift:76:37: error: cannot find type 'Context' in scope
74 | }
75 |
76 | public func makeUIView(context: Context) -> SUInfinityImageViewContainer {
| `- error: cannot find type 'Context' in scope
77 | let imageViewContainer = SUInfinityImageViewContainer(image: image, cornerRadius: cornerRadius)
78 | imageViewContainer.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:82:79: error: cannot find type 'Context' in scope
80 | }
81 |
82 | public func updateUIView(_ uiView: SUInfinityImageViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
83 | uiView.updateImage(image)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:61:36: error: cannot find type 'UIViewRepresentable' in scope
59 | }
60 |
61 | public struct SUInfinityImageView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
62 | @Binding var image: UIImage?
63 | @Binding var isZooming: Bool
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineBoundedView.swift:45:47: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
43 | }
44 |
45 | @objc private func handlePinch(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
46 | switch gesture.state {
47 | case .began:
/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/ZoomEngine/ZoomEngineBoundedView.swift:61:40: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
59 |
60 | // MARK: Gesture Handling
61 | private func startPinch(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
62 | guard !isHandlingGesture else { return }
63 | isHandlingGesture = 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/ZoomEngine/ZoomEngineBoundedView.swift:70:45: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
68 | }
69 |
70 | private func updateTransform(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
71 | var newScale = gesture.scale
72 | newScale = max(minScale, min(newScale, maxScale))
/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/ZoomEngine/ZoomEngineBoundedView.swift:109:43: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
107 | }
108 |
109 | private func finishGesture(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
110 | gesture.isEnabled = false
111 | gesture.isEnabled = 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/ZoomEngine/ZoomEngineBoundedView.swift:170:39: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
168 | }
169 |
170 | private func getCenter(_ gesture: UIPinchGestureRecognizer, targetView: UIView?) -> CGPoint? {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
171 | guard let targetView = targetView else { return nil }
172 |
/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/ZoomEngine/ZoomEngineBoundedView.swift:170:77: error: 'UIView' is unavailable in watchOS
168 | }
169 |
170 | private func getCenter(_ gesture: UIPinchGestureRecognizer, targetView: UIView?) -> CGPoint? {
| `- error: 'UIView' is unavailable in watchOS
171 | guard let targetView = targetView else { return nil }
172 |
/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/ZoomEngine/ZoomEngineBoundedView.swift:186:61: error: 'UIView' is unavailable in watchOS
184 | }
185 |
186 | private func isPoint(_ point: CGPoint, insideView view: UIView?) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
187 | guard let view = view else { return false }
188 | let convertedPoint = view.convert(point, to: 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/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/ZoomEngine/ZoomEngineBoundedView.swift:10:37: error: 'UIView' is unavailable in watchOS
8 | import Foundation
9 | import UIKit
10 | public class ZoomEngineBoundedView: UIView {
| `- error: 'UIView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 | private var isAnimatingReset = 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/ZoomEngine/ZoomEngineInfinityImageView.swift:13:35: error: 'UIImageView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 |
13 | private var currentImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
14 | private var hostImageView: UIImageView?
15 | private var isAnimatingReset = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:14:32: error: 'UIImageView' is unavailable in watchOS
12 |
13 | private var currentImageView: UIImageView?
14 | private var hostImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
15 | private var isAnimatingReset = false
16 | private var firstCenterPoint = CGPoint.zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:42:54: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
40 | self.addGestureRecognizer(UIPinchGestureRecognizer(target: self, action: #selector(handlePinchGesture(_:))))
41 | }
42 | @objc private func handlePinchGesture(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
43 |
44 | gestureStateChanged(gesture, withZoomImageView: self)
/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/ZoomEngine/ZoomEngineInfinityImageView.swift:46:48: error: 'UIGestureRecognizer' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/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:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:46:98: error: 'UIImageView' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIImageView' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:117:33: error: 'UIWindow' is unavailable in watchOS
115 | }
116 | }
117 | private func getWindow() -> UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
118 | UIApplication
119 | .shared
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:10:43: error: 'UIImageView' is unavailable in watchOS
8 | import Foundation
9 | import UIKit
10 | public class ZoomEngineInfinityImageView: UIImageView {
| `- error: 'UIImageView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
Failed frontend command:
SwiftCompile normal arm64 (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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/ZoomEngine/SUBoundedZoomView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineBoundedView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine-dependencies-2.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 -swift-version 6 -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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ZoomEngine -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine_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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine.abi.json
SwiftCompile normal arm64 Compiling\ SUInfinityImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SUInfinityImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:12:44: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | public class SUInfinityImageViewContainer: UIView, @preconcurrency ZoomEngineDelegate {
| `- error: 'UIView' is unavailable in watchOS
13 | public func scaleValueChange(zoomValue: CGFloat) {
14 | delegate?.scaleValueChange(zoomValue: zoomValue)
/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/ZoomEngine/SUInfinityImageView.swift:76:37: error: cannot find type 'Context' in scope
74 | }
75 |
76 | public func makeUIView(context: Context) -> SUInfinityImageViewContainer {
| `- error: cannot find type 'Context' in scope
77 | let imageViewContainer = SUInfinityImageViewContainer(image: image, cornerRadius: cornerRadius)
78 | imageViewContainer.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:82:79: error: cannot find type 'Context' in scope
80 | }
81 |
82 | public func updateUIView(_ uiView: SUInfinityImageViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
83 | uiView.updateImage(image)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:61:36: error: cannot find type 'UIViewRepresentable' in scope
59 | }
60 |
61 | public struct SUInfinityImageView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
62 | @Binding var image: UIImage?
63 | @Binding var isZooming: Bool
SwiftCompile normal arm64 Compiling\ ZoomEngineInfinityImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ZoomEngineInfinityImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:13:35: error: 'UIImageView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 |
13 | private var currentImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
14 | private var hostImageView: UIImageView?
15 | private var isAnimatingReset = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:14:32: error: 'UIImageView' is unavailable in watchOS
12 |
13 | private var currentImageView: UIImageView?
14 | private var hostImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
15 | private var isAnimatingReset = false
16 | private var firstCenterPoint = CGPoint.zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:42:54: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
40 | self.addGestureRecognizer(UIPinchGestureRecognizer(target: self, action: #selector(handlePinchGesture(_:))))
41 | }
42 | @objc private func handlePinchGesture(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
43 |
44 | gestureStateChanged(gesture, withZoomImageView: self)
/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/ZoomEngine/ZoomEngineInfinityImageView.swift:46:48: error: 'UIGestureRecognizer' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/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:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:46:98: error: 'UIImageView' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIImageView' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:117:33: error: 'UIWindow' is unavailable in watchOS
115 | }
116 | }
117 | private func getWindow() -> UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
118 | UIApplication
119 | .shared
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:10:43: error: 'UIImageView' is unavailable in watchOS
8 | import Foundation
9 | import UIKit
10 | public class ZoomEngineInfinityImageView: UIImageView {
| `- error: 'UIImageView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:40:35: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
38 | private func commonInit() {
39 | self.isUserInteractionEnabled = true
40 | self.addGestureRecognizer(UIPinchGestureRecognizer(target: self, action: #selector(handlePinchGesture(_:))))
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
41 | }
42 | @objc private func handlePinchGesture(_ gesture: UIPinchGestureRecognizer) {
/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/ZoomEngine/ZoomEngineInfinityImageView.swift:47:44: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
49 | 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/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 Compiling\ ZoomEngineBoundedView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineBoundedView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineBoundedView.swift:45:47: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
43 | }
44 |
45 | @objc private func handlePinch(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
46 | switch gesture.state {
47 | case .began:
/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/ZoomEngine/ZoomEngineBoundedView.swift:61:40: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
59 |
60 | // MARK: Gesture Handling
61 | private func startPinch(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
62 | guard !isHandlingGesture else { return }
63 | isHandlingGesture = 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/ZoomEngine/ZoomEngineBoundedView.swift:70:45: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
68 | }
69 |
70 | private func updateTransform(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
71 | var newScale = gesture.scale
72 | newScale = max(minScale, min(newScale, maxScale))
/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/ZoomEngine/ZoomEngineBoundedView.swift:109:43: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
107 | }
108 |
109 | private func finishGesture(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
110 | gesture.isEnabled = false
111 | gesture.isEnabled = 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/ZoomEngine/ZoomEngineBoundedView.swift:170:39: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
168 | }
169 |
170 | private func getCenter(_ gesture: UIPinchGestureRecognizer, targetView: UIView?) -> CGPoint? {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
171 | guard let targetView = targetView else { return nil }
172 |
/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/ZoomEngine/ZoomEngineBoundedView.swift:170:77: error: 'UIView' is unavailable in watchOS
168 | }
169 |
170 | private func getCenter(_ gesture: UIPinchGestureRecognizer, targetView: UIView?) -> CGPoint? {
| `- error: 'UIView' is unavailable in watchOS
171 | guard let targetView = targetView else { return nil }
172 |
/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/ZoomEngine/ZoomEngineBoundedView.swift:186:61: error: 'UIView' is unavailable in watchOS
184 | }
185 |
186 | private func isPoint(_ point: CGPoint, insideView view: UIView?) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
187 | guard let view = view else { return false }
188 | let convertedPoint = view.convert(point, to: 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/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/ZoomEngine/ZoomEngineBoundedView.swift:10:37: error: 'UIView' is unavailable in watchOS
8 | import Foundation
9 | import UIKit
10 | public class ZoomEngineBoundedView: UIView {
| `- error: 'UIView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 | private var isAnimatingReset = 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/ZoomEngine/ZoomEngineBoundedView.swift:41:28: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
39 |
40 | private func setupGestures() {
41 | let pinchGesture = UIPinchGestureRecognizer(target: self, action: #selector(handlePinch(_:)))
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
42 | self.addGestureRecognizer(pinchGesture)
43 | }
/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/ZoomEngine/ZoomEngineBoundedView.swift:104:9: error: 'UIView' is unavailable in watchOS
102 |
103 | private func animateToValidScale() {
104 | UIView.animate(withDuration: 0.3, animations: {
| `- error: 'UIView' is unavailable in watchOS
105 | self.resetCenterIfOutOfBounds()
106 | })
/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/ZoomEngine/ZoomEngineBoundedView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ZoomEngineBoundedView.swift
SwiftCompile normal arm64 Compiling\ SUBoundedZoomView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:50:29: error: 'UIView' is unavailable in watchOS
48 | }
49 |
50 | func addSubView(_ view: UIView) -> ZoomEngineBoundedView {
| `- error: 'UIView' is unavailable in watchOS
51 | guard let containerView else {
52 | return ZoomEngineBoundedView(frame: .zero)
/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/ZoomEngine/SUBoundedZoomView.swift:11:42: error: 'UIView' is unavailable in watchOS
9 | import SwiftUI
10 |
11 | public class SUBoundedZoomViewContainer: UIView, @preconcurrency ZoomEngineDelegate {
| `- error: 'UIView' is unavailable in watchOS
12 | public func scaleValueChange(zoomValue: CGFloat) {
13 | delegate?.scaleValueChange(zoomValue: zoomValue)
/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/ZoomEngine/SUBoundedZoomView.swift:91:37: error: cannot find type 'Context' in scope
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- error: cannot find type 'Context' in scope
92 | let container = SUBoundedZoomViewContainer()
93 | container.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:102:77: error: cannot find type 'Context' in scope
100 | }
101 |
102 | public func updateUIView(_ uiView: SUBoundedZoomViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
103 | if shouldResetZoom {
104 | uiView.resetZoom(duration: resetTimeInterval)
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:120:32: error: cannot find type 'UIHostingController' in scope
118 |
119 | var parent: SUBoundedZoomView
120 | var hostingController: UIHostingController<Content>?
| `- error: cannot find type 'UIHostingController' in scope
121 |
122 | init(_ parent: SUBoundedZoomView) {
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:72:49: error: cannot find type 'UIViewRepresentable' in scope
70 | }
71 |
72 | public struct SUBoundedZoomView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
73 | @Binding var isZooming: Bool
74 | @Binding var scaleValue: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:42:9: error: 'NSLayoutConstraint' is unavailable in watchOS
40 | addSubview(zoomView)
41 |
42 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
43 | zoomView.topAnchor.constraint(equalTo: topAnchor),
44 | zoomView.bottomAnchor.constraint(equalTo: bottomAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:58:9: error: 'NSLayoutConstraint' is unavailable in watchOS
56 | containerView.addSubview(view)
57 |
58 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
59 | view.topAnchor.constraint(equalTo: containerView.topAnchor),
60 | view.bottomAnchor.constraint(equalTo: containerView.bottomAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:95:33: error: cannot find 'UIHostingController' in scope
93 | container.clipsToBounds = true
94 | container.delegate = context.coordinator
95 | let hostingController = UIHostingController(rootView: content)
| `- error: cannot find 'UIHostingController' in scope
96 | hostingController.view.backgroundColor = .clear
97 | context.coordinator.hostingController = hostingController
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:96:51: error: cannot infer contextual base in reference to member 'clear'
94 | container.delegate = context.coordinator
95 | let hostingController = UIHostingController(rootView: content)
96 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
97 | context.coordinator.hostingController = hostingController
98 | _ = container.addSubView(hostingController.view)
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:92:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
21 | weak var delegate: ZoomEngineDelegate?
22 |
23 | init() {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
24 | super.init(frame: .zero)
25 | setupContainer()
:
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
92 | let container = SUBoundedZoomViewContainer()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
93 | container.clipsToBounds = true
94 | container.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:93:19: warning: main actor-isolated property 'clipsToBounds' can not be mutated from a nonisolated context
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
92 | let container = SUBoundedZoomViewContainer()
93 | container.clipsToBounds = true
| `- warning: main actor-isolated property 'clipsToBounds' can not be mutated from a nonisolated context
94 | container.delegate = context.coordinator
95 | let hostingController = UIHostingController(rootView: content)
/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:320:56: note: mutation of this property is only permitted within the actor
318 | - (void)setNeedsDisplayInRect:(CGRect)rect;
319 |
320 | @property(nonatomic) BOOL clipsToBounds; // When YES, content and subviews are clipped to the bounds of the view. Default is NO.
| `- note: mutation of this property is only permitted within the actor
321 | @property(nullable, nonatomic,copy) UIColor *backgroundColor UI_APPEARANCE_SELECTOR; // default is nil. Can be useful with the appearance proxy on custom UIView subclasses.
322 | @property(nonatomic) CGFloat alpha; // animatable. default is 1.0
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SUBoundedZoomView.swift
SwiftCompile normal arm64 Compiling\ ZoomEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngine.swift (in target 'ZoomEngine' from project 'ZoomEngine')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngine.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ZoomEngine.swift
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-6DR5UJH94SD7QMITGWNAX9FBI.pcm
SwiftCompile normal arm64_32 Compiling\ SUInfinityImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SUInfinityImageView.swift
SwiftCompile normal arm64_32 Compiling\ ZoomEngineInfinityImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:13:35: error: 'UIImageView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 |
13 | private var currentImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
14 | private var hostImageView: UIImageView?
15 | private var isAnimatingReset = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:14:32: error: 'UIImageView' is unavailable in watchOS
12 |
13 | private var currentImageView: UIImageView?
14 | private var hostImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
15 | private var isAnimatingReset = false
16 | private var firstCenterPoint = CGPoint.zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:42:54: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
40 | self.addGestureRecognizer(UIPinchGestureRecognizer(target: self, action: #selector(handlePinchGesture(_:))))
41 | }
42 | @objc private func handlePinchGesture(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
43 |
44 | gestureStateChanged(gesture, withZoomImageView: self)
/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/ZoomEngine/ZoomEngineInfinityImageView.swift:46:48: error: 'UIGestureRecognizer' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/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:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:46:98: error: 'UIImageView' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIImageView' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:117:33: error: 'UIWindow' is unavailable in watchOS
115 | }
116 | }
117 | private func getWindow() -> UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
118 | UIApplication
119 | .shared
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ZoomEngineInfinityImageView.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ZoomEngine (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:50:29: error: 'UIView' is unavailable in watchOS
48 | }
49 |
50 | func addSubView(_ view: UIView) -> ZoomEngineBoundedView {
| `- error: 'UIView' is unavailable in watchOS
51 | guard let containerView else {
52 | return ZoomEngineBoundedView(frame: .zero)
/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 (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ ZoomEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngine.swift (in target 'ZoomEngine' from project 'ZoomEngine')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngine.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ZoomEngine.swift
SwiftCompile normal arm64_32 Compiling\ ZoomEngineBoundedView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineBoundedView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineBoundedView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ZoomEngineBoundedView.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-22 09:42:46.546 xcodebuild[626:3897] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'ZoomEngine' from project 'ZoomEngine')
SwiftEmitModule normal arm64 Emitting\ module\ for\ ZoomEngine (in target 'ZoomEngine' from project 'ZoomEngine')
Building workspace ZoomEngine with scheme ZoomEngine
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
ZoomEngine: /Users/admin/builder/spi-builder-workspace
resolved source packages: ZoomEngine
2026-09-22 09:42:53.017 xcodebuild[792:4607] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "ZoomEngine",
"name" : "ZoomEngine",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "ZoomEngine",
"targets" : [
"ZoomEngine"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ZoomEngine",
"module_type" : "SwiftTarget",
"name" : "ZoomEngine",
"path" : "Sources/ZoomEngine",
"product_memberships" : [
"ZoomEngine"
],
"sources" : [
"SUBoundedZoomView.swift",
"SUInfinityImageView.swift",
"ZoomEngine.swift",
"ZoomEngineBoundedView.swift",
"ZoomEngineInfinityImageView.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "ZoomEngine",
"schemes" : [
"ZoomEngine"
]
}
}
2026-09-22 09:42:54.252 xcodebuild[800:4671] [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 ZoomEngine -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 ZoomEngine -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
ZoomEngine: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'ZoomEngine-product' in project 'ZoomEngine'
➜ Explicit dependency on target 'ZoomEngine' in project 'ZoomEngine'
Target 'ZoomEngine' in project 'ZoomEngine' (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 ZoomEngine normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ZoomEngine' from project 'ZoomEngine')
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 ZoomEngine -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine.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 -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 6 -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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine-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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine_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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ZoomEngine normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ZoomEngine' from project 'ZoomEngine')
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 ZoomEngine -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64_32/ZoomEngine.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 -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 6 -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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64_32/ZoomEngine-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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64_32/ZoomEngine.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64_32/ZoomEngine-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64_32/ZoomEngine_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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64_32/ZoomEngine-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ ZoomEngine (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:50:29: error: 'UIView' is unavailable in watchOS
48 | }
49 |
50 | func addSubView(_ view: UIView) -> ZoomEngineBoundedView {
| `- error: 'UIView' is unavailable in watchOS
51 | guard let containerView else {
52 | return ZoomEngineBoundedView(frame: .zero)
/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/ZoomEngine/SUBoundedZoomView.swift:11:42: error: 'UIView' is unavailable in watchOS
9 | import SwiftUI
10 |
11 | public class SUBoundedZoomViewContainer: UIView, @preconcurrency ZoomEngineDelegate {
| `- error: 'UIView' is unavailable in watchOS
12 | public func scaleValueChange(zoomValue: CGFloat) {
13 | delegate?.scaleValueChange(zoomValue: zoomValue)
/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/ZoomEngine/SUBoundedZoomView.swift:91:37: error: cannot find type 'Context' in scope
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- error: cannot find type 'Context' in scope
92 | let container = SUBoundedZoomViewContainer()
93 | container.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:102:77: error: cannot find type 'Context' in scope
100 | }
101 |
102 | public func updateUIView(_ uiView: SUBoundedZoomViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
103 | if shouldResetZoom {
104 | uiView.resetZoom(duration: resetTimeInterval)
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:120:32: error: cannot find type 'UIHostingController' in scope
118 |
119 | var parent: SUBoundedZoomView
120 | var hostingController: UIHostingController<Content>?
| `- error: cannot find type 'UIHostingController' in scope
121 |
122 | init(_ parent: SUBoundedZoomView) {
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:72:49: error: cannot find type 'UIViewRepresentable' in scope
70 | }
71 |
72 | public struct SUBoundedZoomView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
73 | @Binding var isZooming: Bool
74 | @Binding var scaleValue: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:12:44: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | public class SUInfinityImageViewContainer: UIView, @preconcurrency ZoomEngineDelegate {
| `- error: 'UIView' is unavailable in watchOS
13 | public func scaleValueChange(zoomValue: CGFloat) {
14 | delegate?.scaleValueChange(zoomValue: zoomValue)
/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/ZoomEngine/SUInfinityImageView.swift:76:37: error: cannot find type 'Context' in scope
74 | }
75 |
76 | public func makeUIView(context: Context) -> SUInfinityImageViewContainer {
| `- error: cannot find type 'Context' in scope
77 | let imageViewContainer = SUInfinityImageViewContainer(image: image, cornerRadius: cornerRadius)
78 | imageViewContainer.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:82:79: error: cannot find type 'Context' in scope
80 | }
81 |
82 | public func updateUIView(_ uiView: SUInfinityImageViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
83 | uiView.updateImage(image)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:61:36: error: cannot find type 'UIViewRepresentable' in scope
59 | }
60 |
61 | public struct SUInfinityImageView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
62 | @Binding var image: UIImage?
63 | @Binding var isZooming: Bool
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineBoundedView.swift:45:47: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
43 | }
44 |
45 | @objc private func handlePinch(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
46 | switch gesture.state {
47 | case .began:
/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/ZoomEngine/ZoomEngineBoundedView.swift:61:40: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
59 |
60 | // MARK: Gesture Handling
61 | private func startPinch(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
62 | guard !isHandlingGesture else { return }
63 | isHandlingGesture = 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/ZoomEngine/ZoomEngineBoundedView.swift:70:45: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
68 | }
69 |
70 | private func updateTransform(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
71 | var newScale = gesture.scale
72 | newScale = max(minScale, min(newScale, maxScale))
/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/ZoomEngine/ZoomEngineBoundedView.swift:109:43: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
107 | }
108 |
109 | private func finishGesture(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
110 | gesture.isEnabled = false
111 | gesture.isEnabled = 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/ZoomEngine/ZoomEngineBoundedView.swift:170:39: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
168 | }
169 |
170 | private func getCenter(_ gesture: UIPinchGestureRecognizer, targetView: UIView?) -> CGPoint? {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
171 | guard let targetView = targetView else { return nil }
172 |
/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/ZoomEngine/ZoomEngineBoundedView.swift:170:77: error: 'UIView' is unavailable in watchOS
168 | }
169 |
170 | private func getCenter(_ gesture: UIPinchGestureRecognizer, targetView: UIView?) -> CGPoint? {
| `- error: 'UIView' is unavailable in watchOS
171 | guard let targetView = targetView else { return nil }
172 |
/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/ZoomEngine/ZoomEngineBoundedView.swift:186:61: error: 'UIView' is unavailable in watchOS
184 | }
185 |
186 | private func isPoint(_ point: CGPoint, insideView view: UIView?) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
187 | guard let view = view else { return false }
188 | let convertedPoint = view.convert(point, to: 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/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/ZoomEngine/ZoomEngineBoundedView.swift:10:37: error: 'UIView' is unavailable in watchOS
8 | import Foundation
9 | import UIKit
10 | public class ZoomEngineBoundedView: UIView {
| `- error: 'UIView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 | private var isAnimatingReset = 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/ZoomEngine/ZoomEngineInfinityImageView.swift:13:35: error: 'UIImageView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 |
13 | private var currentImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
14 | private var hostImageView: UIImageView?
15 | private var isAnimatingReset = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:14:32: error: 'UIImageView' is unavailable in watchOS
12 |
13 | private var currentImageView: UIImageView?
14 | private var hostImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
15 | private var isAnimatingReset = false
16 | private var firstCenterPoint = CGPoint.zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:42:54: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
40 | self.addGestureRecognizer(UIPinchGestureRecognizer(target: self, action: #selector(handlePinchGesture(_:))))
41 | }
42 | @objc private func handlePinchGesture(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
43 |
44 | gestureStateChanged(gesture, withZoomImageView: self)
/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/ZoomEngine/ZoomEngineInfinityImageView.swift:46:48: error: 'UIGestureRecognizer' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/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:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:46:98: error: 'UIImageView' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIImageView' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:117:33: error: 'UIWindow' is unavailable in watchOS
115 | }
116 | }
117 | private func getWindow() -> UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
118 | UIApplication
119 | .shared
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:10:43: error: 'UIImageView' is unavailable in watchOS
8 | import Foundation
9 | import UIKit
10 | public class ZoomEngineInfinityImageView: UIImageView {
| `- error: 'UIImageView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
Failed frontend command:
SwiftCompile normal arm64 (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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/ZoomEngine/SUBoundedZoomView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineBoundedView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine-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 -swift-version 6 -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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ZoomEngine -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine_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/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomEngine.build/Debug-watchos/ZoomEngine-t.build/Objects-normal/arm64/ZoomEngine.abi.json
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ZoomEngine (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:50:29: error: 'UIView' is unavailable in watchOS
48 | }
49 |
50 | func addSubView(_ view: UIView) -> ZoomEngineBoundedView {
| `- error: 'UIView' is unavailable in watchOS
51 | guard let containerView else {
52 | return ZoomEngineBoundedView(frame: .zero)
/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/ZoomEngine/SUBoundedZoomView.swift:11:42: error: 'UIView' is unavailable in watchOS
9 | import SwiftUI
10 |
11 | public class SUBoundedZoomViewContainer: UIView, @preconcurrency ZoomEngineDelegate {
| `- error: 'UIView' is unavailable in watchOS
12 | public func scaleValueChange(zoomValue: CGFloat) {
13 | delegate?.scaleValueChange(zoomValue: zoomValue)
/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/ZoomEngine/SUBoundedZoomView.swift:91:37: error: cannot find type 'Context' in scope
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- error: cannot find type 'Context' in scope
92 | let container = SUBoundedZoomViewContainer()
93 | container.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:102:77: error: cannot find type 'Context' in scope
100 | }
101 |
102 | public func updateUIView(_ uiView: SUBoundedZoomViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
103 | if shouldResetZoom {
104 | uiView.resetZoom(duration: resetTimeInterval)
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:120:32: error: cannot find type 'UIHostingController' in scope
118 |
119 | var parent: SUBoundedZoomView
120 | var hostingController: UIHostingController<Content>?
| `- error: cannot find type 'UIHostingController' in scope
121 |
122 | init(_ parent: SUBoundedZoomView) {
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:72:49: error: cannot find type 'UIViewRepresentable' in scope
70 | }
71 |
72 | public struct SUBoundedZoomView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
73 | @Binding var isZooming: Bool
74 | @Binding var scaleValue: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:12:44: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | public class SUInfinityImageViewContainer: UIView, @preconcurrency ZoomEngineDelegate {
| `- error: 'UIView' is unavailable in watchOS
13 | public func scaleValueChange(zoomValue: CGFloat) {
14 | delegate?.scaleValueChange(zoomValue: zoomValue)
/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/ZoomEngine/SUInfinityImageView.swift:76:37: error: cannot find type 'Context' in scope
74 | }
75 |
76 | public func makeUIView(context: Context) -> SUInfinityImageViewContainer {
| `- error: cannot find type 'Context' in scope
77 | let imageViewContainer = SUInfinityImageViewContainer(image: image, cornerRadius: cornerRadius)
78 | imageViewContainer.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:82:79: error: cannot find type 'Context' in scope
80 | }
81 |
82 | public func updateUIView(_ uiView: SUInfinityImageViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
83 | uiView.updateImage(image)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:61:36: error: cannot find type 'UIViewRepresentable' in scope
59 | }
60 |
61 | public struct SUInfinityImageView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
62 | @Binding var image: UIImage?
63 | @Binding var isZooming: Bool
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineBoundedView.swift:45:47: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
43 | }
44 |
45 | @objc private func handlePinch(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
46 | switch gesture.state {
47 | case .began:
/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/ZoomEngine/ZoomEngineBoundedView.swift:61:40: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
59 |
60 | // MARK: Gesture Handling
61 | private func startPinch(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
62 | guard !isHandlingGesture else { return }
63 | isHandlingGesture = 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/ZoomEngine/ZoomEngineBoundedView.swift:70:45: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
68 | }
69 |
70 | private func updateTransform(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
71 | var newScale = gesture.scale
72 | newScale = max(minScale, min(newScale, maxScale))
/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/ZoomEngine/ZoomEngineBoundedView.swift:109:43: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
107 | }
108 |
109 | private func finishGesture(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
110 | gesture.isEnabled = false
111 | gesture.isEnabled = 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/ZoomEngine/ZoomEngineBoundedView.swift:170:39: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
168 | }
169 |
170 | private func getCenter(_ gesture: UIPinchGestureRecognizer, targetView: UIView?) -> CGPoint? {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
171 | guard let targetView = targetView else { return nil }
172 |
/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/ZoomEngine/ZoomEngineBoundedView.swift:170:77: error: 'UIView' is unavailable in watchOS
168 | }
169 |
170 | private func getCenter(_ gesture: UIPinchGestureRecognizer, targetView: UIView?) -> CGPoint? {
| `- error: 'UIView' is unavailable in watchOS
171 | guard let targetView = targetView else { return nil }
172 |
/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/ZoomEngine/ZoomEngineBoundedView.swift:186:61: error: 'UIView' is unavailable in watchOS
184 | }
185 |
186 | private func isPoint(_ point: CGPoint, insideView view: UIView?) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
187 | guard let view = view else { return false }
188 | let convertedPoint = view.convert(point, to: 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/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/ZoomEngine/ZoomEngineBoundedView.swift:10:37: error: 'UIView' is unavailable in watchOS
8 | import Foundation
9 | import UIKit
10 | public class ZoomEngineBoundedView: UIView {
| `- error: 'UIView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 | private var isAnimatingReset = 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.
SwiftCompile normal arm64_32 (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:13:35: error: 'UIImageView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 |
13 | private var currentImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
14 | private var hostImageView: UIImageView?
15 | private var isAnimatingReset = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:14:32: error: 'UIImageView' is unavailable in watchOS
12 |
13 | private var currentImageView: UIImageView?
14 | private var hostImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
15 | private var isAnimatingReset = false
16 | private var firstCenterPoint = CGPoint.zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:42:54: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
40 | self.addGestureRecognizer(UIPinchGestureRecognizer(target: self, action: #selector(handlePinchGesture(_:))))
41 | }
42 | @objc private func handlePinchGesture(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
43 |
44 | gestureStateChanged(gesture, withZoomImageView: self)
/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/ZoomEngine/ZoomEngineInfinityImageView.swift:46:48: error: 'UIGestureRecognizer' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/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:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:46:98: error: 'UIImageView' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIImageView' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:117:33: error: 'UIWindow' is unavailable in watchOS
115 | }
116 | }
117 | private func getWindow() -> UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
118 | UIApplication
119 | .shared
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:10:43: error: 'UIImageView' is unavailable in watchOS
8 | import Foundation
9 | import UIKit
10 | public class ZoomEngineInfinityImageView: UIImageView {
| `- error: 'UIImageView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
SwiftCompile normal arm64 Compiling\ SUBoundedZoomView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:50:29: error: 'UIView' is unavailable in watchOS
48 | }
49 |
50 | func addSubView(_ view: UIView) -> ZoomEngineBoundedView {
| `- error: 'UIView' is unavailable in watchOS
51 | guard let containerView else {
52 | return ZoomEngineBoundedView(frame: .zero)
/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/ZoomEngine/SUBoundedZoomView.swift:11:42: error: 'UIView' is unavailable in watchOS
9 | import SwiftUI
10 |
11 | public class SUBoundedZoomViewContainer: UIView, @preconcurrency ZoomEngineDelegate {
| `- error: 'UIView' is unavailable in watchOS
12 | public func scaleValueChange(zoomValue: CGFloat) {
13 | delegate?.scaleValueChange(zoomValue: zoomValue)
/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/ZoomEngine/SUBoundedZoomView.swift:91:37: error: cannot find type 'Context' in scope
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- error: cannot find type 'Context' in scope
92 | let container = SUBoundedZoomViewContainer()
93 | container.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:102:77: error: cannot find type 'Context' in scope
100 | }
101 |
102 | public func updateUIView(_ uiView: SUBoundedZoomViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
103 | if shouldResetZoom {
104 | uiView.resetZoom(duration: resetTimeInterval)
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:120:32: error: cannot find type 'UIHostingController' in scope
118 |
119 | var parent: SUBoundedZoomView
120 | var hostingController: UIHostingController<Content>?
| `- error: cannot find type 'UIHostingController' in scope
121 |
122 | init(_ parent: SUBoundedZoomView) {
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:72:49: error: cannot find type 'UIViewRepresentable' in scope
70 | }
71 |
72 | public struct SUBoundedZoomView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
73 | @Binding var isZooming: Bool
74 | @Binding var scaleValue: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:42:9: error: 'NSLayoutConstraint' is unavailable in watchOS
40 | addSubview(zoomView)
41 |
42 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
43 | zoomView.topAnchor.constraint(equalTo: topAnchor),
44 | zoomView.bottomAnchor.constraint(equalTo: bottomAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:58:9: error: 'NSLayoutConstraint' is unavailable in watchOS
56 | containerView.addSubview(view)
57 |
58 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
59 | view.topAnchor.constraint(equalTo: containerView.topAnchor),
60 | view.bottomAnchor.constraint(equalTo: containerView.bottomAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:95:33: error: cannot find 'UIHostingController' in scope
93 | container.clipsToBounds = true
94 | container.delegate = context.coordinator
95 | let hostingController = UIHostingController(rootView: content)
| `- error: cannot find 'UIHostingController' in scope
96 | hostingController.view.backgroundColor = .clear
97 | context.coordinator.hostingController = hostingController
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:96:51: error: cannot infer contextual base in reference to member 'clear'
94 | container.delegate = context.coordinator
95 | let hostingController = UIHostingController(rootView: content)
96 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
97 | context.coordinator.hostingController = hostingController
98 | _ = container.addSubView(hostingController.view)
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:92:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
21 | weak var delegate: ZoomEngineDelegate?
22 |
23 | init() {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
24 | super.init(frame: .zero)
25 | setupContainer()
:
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
92 | let container = SUBoundedZoomViewContainer()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
93 | container.clipsToBounds = true
94 | container.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:93:19: warning: main actor-isolated property 'clipsToBounds' can not be mutated from a nonisolated context
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
92 | let container = SUBoundedZoomViewContainer()
93 | container.clipsToBounds = true
| `- warning: main actor-isolated property 'clipsToBounds' can not be mutated from a nonisolated context
94 | container.delegate = context.coordinator
95 | let hostingController = UIHostingController(rootView: content)
/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:320:56: note: mutation of this property is only permitted within the actor
318 | - (void)setNeedsDisplayInRect:(CGRect)rect;
319 |
320 | @property(nonatomic) BOOL clipsToBounds; // When YES, content and subviews are clipped to the bounds of the view. Default is NO.
| `- note: mutation of this property is only permitted within the actor
321 | @property(nullable, nonatomic,copy) UIColor *backgroundColor UI_APPEARANCE_SELECTOR; // default is nil. Can be useful with the appearance proxy on custom UIView subclasses.
322 | @property(nonatomic) CGFloat alpha; // animatable. default is 1.0
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SUBoundedZoomView.swift
SwiftCompile normal arm64_32 Compiling\ ZoomEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngine.swift (in target 'ZoomEngine' from project 'ZoomEngine')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngine.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ZoomEngine.swift
SwiftCompile normal arm64_32 Compiling\ ZoomEngineBoundedView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineBoundedView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineBoundedView.swift:45:47: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
43 | }
44 |
45 | @objc private func handlePinch(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
46 | switch gesture.state {
47 | case .began:
/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/ZoomEngine/ZoomEngineBoundedView.swift:61:40: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
59 |
60 | // MARK: Gesture Handling
61 | private func startPinch(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
62 | guard !isHandlingGesture else { return }
63 | isHandlingGesture = 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/ZoomEngine/ZoomEngineBoundedView.swift:70:45: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
68 | }
69 |
70 | private func updateTransform(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
71 | var newScale = gesture.scale
72 | newScale = max(minScale, min(newScale, maxScale))
/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/ZoomEngine/ZoomEngineBoundedView.swift:109:43: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
107 | }
108 |
109 | private func finishGesture(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
110 | gesture.isEnabled = false
111 | gesture.isEnabled = 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/ZoomEngine/ZoomEngineBoundedView.swift:170:39: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
168 | }
169 |
170 | private func getCenter(_ gesture: UIPinchGestureRecognizer, targetView: UIView?) -> CGPoint? {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
171 | guard let targetView = targetView else { return nil }
172 |
/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/ZoomEngine/ZoomEngineBoundedView.swift:170:77: error: 'UIView' is unavailable in watchOS
168 | }
169 |
170 | private func getCenter(_ gesture: UIPinchGestureRecognizer, targetView: UIView?) -> CGPoint? {
| `- error: 'UIView' is unavailable in watchOS
171 | guard let targetView = targetView else { return nil }
172 |
/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/ZoomEngine/ZoomEngineBoundedView.swift:186:61: error: 'UIView' is unavailable in watchOS
184 | }
185 |
186 | private func isPoint(_ point: CGPoint, insideView view: UIView?) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
187 | guard let view = view else { return false }
188 | let convertedPoint = view.convert(point, to: 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/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/ZoomEngine/ZoomEngineBoundedView.swift:10:37: error: 'UIView' is unavailable in watchOS
8 | import Foundation
9 | import UIKit
10 | public class ZoomEngineBoundedView: UIView {
| `- error: 'UIView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 | private var isAnimatingReset = 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/ZoomEngine/ZoomEngineBoundedView.swift:41:28: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
39 |
40 | private func setupGestures() {
41 | let pinchGesture = UIPinchGestureRecognizer(target: self, action: #selector(handlePinch(_:)))
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
42 | self.addGestureRecognizer(pinchGesture)
43 | }
/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/ZoomEngine/ZoomEngineBoundedView.swift:104:9: error: 'UIView' is unavailable in watchOS
102 |
103 | private func animateToValidScale() {
104 | UIView.animate(withDuration: 0.3, animations: {
| `- error: 'UIView' is unavailable in watchOS
105 | self.resetCenterIfOutOfBounds()
106 | })
/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/ZoomEngine/ZoomEngineBoundedView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ZoomEngineBoundedView.swift
SwiftCompile normal arm64_32 Compiling\ SUInfinityImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:12:44: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | public class SUInfinityImageViewContainer: UIView, @preconcurrency ZoomEngineDelegate {
| `- error: 'UIView' is unavailable in watchOS
13 | public func scaleValueChange(zoomValue: CGFloat) {
14 | delegate?.scaleValueChange(zoomValue: zoomValue)
/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/ZoomEngine/SUInfinityImageView.swift:76:37: error: cannot find type 'Context' in scope
74 | }
75 |
76 | public func makeUIView(context: Context) -> SUInfinityImageViewContainer {
| `- error: cannot find type 'Context' in scope
77 | let imageViewContainer = SUInfinityImageViewContainer(image: image, cornerRadius: cornerRadius)
78 | imageViewContainer.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:82:79: error: cannot find type 'Context' in scope
80 | }
81 |
82 | public func updateUIView(_ uiView: SUInfinityImageViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
83 | uiView.updateImage(image)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:61:36: error: cannot find type 'UIViewRepresentable' in scope
59 | }
60 |
61 | public struct SUInfinityImageView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
62 | @Binding var image: UIImage?
63 | @Binding var isZooming: Bool
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SUInfinityImageView.swift
SwiftCompile normal arm64_32 Compiling\ SUBoundedZoomView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:50:29: error: 'UIView' is unavailable in watchOS
48 | }
49 |
50 | func addSubView(_ view: UIView) -> ZoomEngineBoundedView {
| `- error: 'UIView' is unavailable in watchOS
51 | guard let containerView else {
52 | return ZoomEngineBoundedView(frame: .zero)
/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/ZoomEngine/SUBoundedZoomView.swift:11:42: error: 'UIView' is unavailable in watchOS
9 | import SwiftUI
10 |
11 | public class SUBoundedZoomViewContainer: UIView, @preconcurrency ZoomEngineDelegate {
| `- error: 'UIView' is unavailable in watchOS
12 | public func scaleValueChange(zoomValue: CGFloat) {
13 | delegate?.scaleValueChange(zoomValue: zoomValue)
/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/ZoomEngine/SUBoundedZoomView.swift:91:37: error: cannot find type 'Context' in scope
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- error: cannot find type 'Context' in scope
92 | let container = SUBoundedZoomViewContainer()
93 | container.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:102:77: error: cannot find type 'Context' in scope
100 | }
101 |
102 | public func updateUIView(_ uiView: SUBoundedZoomViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
103 | if shouldResetZoom {
104 | uiView.resetZoom(duration: resetTimeInterval)
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:120:32: error: cannot find type 'UIHostingController' in scope
118 |
119 | var parent: SUBoundedZoomView
120 | var hostingController: UIHostingController<Content>?
| `- error: cannot find type 'UIHostingController' in scope
121 |
122 | init(_ parent: SUBoundedZoomView) {
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:72:49: error: cannot find type 'UIViewRepresentable' in scope
70 | }
71 |
72 | public struct SUBoundedZoomView<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
73 | @Binding var isZooming: Bool
74 | @Binding var scaleValue: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:42:9: error: 'NSLayoutConstraint' is unavailable in watchOS
40 | addSubview(zoomView)
41 |
42 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
43 | zoomView.topAnchor.constraint(equalTo: topAnchor),
44 | zoomView.bottomAnchor.constraint(equalTo: bottomAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:58:9: error: 'NSLayoutConstraint' is unavailable in watchOS
56 | containerView.addSubview(view)
57 |
58 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
59 | view.topAnchor.constraint(equalTo: containerView.topAnchor),
60 | view.bottomAnchor.constraint(equalTo: containerView.bottomAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:95:33: error: cannot find 'UIHostingController' in scope
93 | container.clipsToBounds = true
94 | container.delegate = context.coordinator
95 | let hostingController = UIHostingController(rootView: content)
| `- error: cannot find 'UIHostingController' in scope
96 | hostingController.view.backgroundColor = .clear
97 | context.coordinator.hostingController = hostingController
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:96:51: error: cannot infer contextual base in reference to member 'clear'
94 | container.delegate = context.coordinator
95 | let hostingController = UIHostingController(rootView: content)
96 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
97 | context.coordinator.hostingController = hostingController
98 | _ = container.addSubView(hostingController.view)
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:92:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
21 | weak var delegate: ZoomEngineDelegate?
22 |
23 | init() {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
24 | super.init(frame: .zero)
25 | setupContainer()
:
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
92 | let container = SUBoundedZoomViewContainer()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
93 | container.clipsToBounds = true
94 | container.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift:93:19: warning: main actor-isolated property 'clipsToBounds' can not be mutated from a nonisolated context
89 | }
90 |
91 | public func makeUIView(context: Context) -> SUBoundedZoomViewContainer {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
92 | let container = SUBoundedZoomViewContainer()
93 | container.clipsToBounds = true
| `- warning: main actor-isolated property 'clipsToBounds' can not be mutated from a nonisolated context
94 | container.delegate = context.coordinator
95 | let hostingController = UIHostingController(rootView: content)
/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:320:56: note: mutation of this property is only permitted within the actor
318 | - (void)setNeedsDisplayInRect:(CGRect)rect;
319 |
320 | @property(nonatomic) BOOL clipsToBounds; // When YES, content and subviews are clipped to the bounds of the view. Default is NO.
| `- note: mutation of this property is only permitted within the actor
321 | @property(nullable, nonatomic,copy) UIColor *backgroundColor UI_APPEARANCE_SELECTOR; // default is nil. Can be useful with the appearance proxy on custom UIView subclasses.
322 | @property(nonatomic) CGFloat alpha; // animatable. default is 1.0
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUBoundedZoomView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SUBoundedZoomView.swift
SwiftCompile normal arm64_32 Compiling\ ZoomEngineInfinityImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:13:35: error: 'UIImageView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 |
13 | private var currentImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
14 | private var hostImageView: UIImageView?
15 | private var isAnimatingReset = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:14:32: error: 'UIImageView' is unavailable in watchOS
12 |
13 | private var currentImageView: UIImageView?
14 | private var hostImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
15 | private var isAnimatingReset = false
16 | private var firstCenterPoint = CGPoint.zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:42:54: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
40 | self.addGestureRecognizer(UIPinchGestureRecognizer(target: self, action: #selector(handlePinchGesture(_:))))
41 | }
42 | @objc private func handlePinchGesture(_ gesture: UIPinchGestureRecognizer) {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
43 |
44 | gestureStateChanged(gesture, withZoomImageView: self)
/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/ZoomEngine/ZoomEngineInfinityImageView.swift:46:48: error: 'UIGestureRecognizer' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/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:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:46:98: error: 'UIImageView' is unavailable in watchOS
44 | gestureStateChanged(gesture, withZoomImageView: self)
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
| `- error: 'UIImageView' is unavailable in watchOS
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:117:33: error: 'UIWindow' is unavailable in watchOS
115 | }
116 | }
117 | private func getWindow() -> UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
118 | UIApplication
119 | .shared
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:10:43: error: 'UIImageView' is unavailable in watchOS
8 | import Foundation
9 | import UIKit
10 | public class ZoomEngineInfinityImageView: UIImageView {
| `- error: 'UIImageView' is unavailable in watchOS
11 | public weak var delegate: ZoomEngineDelegate?
12 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift:40:35: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
38 | private func commonInit() {
39 | self.isUserInteractionEnabled = true
40 | self.addGestureRecognizer(UIPinchGestureRecognizer(target: self, action: #selector(handlePinchGesture(_:))))
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
41 | }
42 | @objc private func handlePinchGesture(_ gesture: UIPinchGestureRecognizer) {
/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/ZoomEngine/ZoomEngineInfinityImageView.swift:47:44: error: 'UIPinchGestureRecognizer' is unavailable in watchOS
45 | }
46 | public func gestureStateChanged(_ gesture: UIGestureRecognizer, withZoomImageView imageView: UIImageView) {
47 | guard let theGesture = gesture as? UIPinchGestureRecognizer else {
| `- error: 'UIPinchGestureRecognizer' is unavailable in watchOS
48 | print("Must be using a UIPinchGestureRecognizer, currently you're using a: \(gesture.self)")
49 | 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/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_32 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngineInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ZoomEngineInfinityImageView.swift
SwiftCompile normal arm64 Compiling\ ZoomEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngine.swift (in target 'ZoomEngine' from project 'ZoomEngine')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/ZoomEngine.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ZoomEngine.swift
SwiftCompile normal arm64 Compiling\ SUInfinityImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:12:44: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | public class SUInfinityImageViewContainer: UIView, @preconcurrency ZoomEngineDelegate {
| `- error: 'UIView' is unavailable in watchOS
13 | public func scaleValueChange(zoomValue: CGFloat) {
14 | delegate?.scaleValueChange(zoomValue: zoomValue)
/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/ZoomEngine/SUInfinityImageView.swift:76:37: error: cannot find type 'Context' in scope
74 | }
75 |
76 | public func makeUIView(context: Context) -> SUInfinityImageViewContainer {
| `- error: cannot find type 'Context' in scope
77 | let imageViewContainer = SUInfinityImageViewContainer(image: image, cornerRadius: cornerRadius)
78 | imageViewContainer.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:82:79: error: cannot find type 'Context' in scope
80 | }
81 |
82 | public func updateUIView(_ uiView: SUInfinityImageViewContainer, context: Context) {
| `- error: cannot find type 'Context' in scope
83 | uiView.updateImage(image)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift:61:36: error: cannot find type 'UIViewRepresentable' in scope
59 | }
60 |
61 | public struct SUInfinityImageView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
62 | @Binding var image: UIImage?
63 | @Binding var isZooming: Bool
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ZoomEngine/SUInfinityImageView.swift (in target 'ZoomEngine' from project 'ZoomEngine')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SUInfinityImageView.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-22 09:42:55.225 xcodebuild[801:4698] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'ZoomEngine' from project 'ZoomEngine')
SwiftEmitModule normal arm64 Emitting\ module\ for\ ZoomEngine (in target 'ZoomEngine' from project 'ZoomEngine')
Building workspace ZoomEngine with scheme ZoomEngine
(3 failures)
BUILD FAILURE 6.4 watchOS