Build Information
Failed to build Hammer, reference main (e8517a), with Swift 6.4 for watchOS using Xcode 27.0 on 31 Oct 2026 21:46:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Hammer-Package -destination generic/platform=watchOSBuild Log
| `- 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/Hammer/EventGenerator/HammerLocatable.swift:28:11: error: 'UIViewController' is unavailable in watchOS
26 | }
27 |
28 | extension UIViewController: HammerLocatable {
| `- error: 'UIViewController' is unavailable in watchOS
29 | public func windowHitPoint(for eventGenerator: EventGenerator) throws -> CGPoint {
30 | return try self.view.windowHitPoint(for: eventGenerator)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift:73:22: error: 'UIView' is unavailable in watchOS
71 | /// Creates a relative location for a view.
72 | public struct RelativeLocation: HammerLocatable {
73 | public let view: UIView?
| `- error: 'UIView' is unavailable in watchOS
74 | public let x: CGFloat
75 | public let y: CGFloat
/Applications/Xcode-27.0.0.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/Hammer/EventGenerator/HammerLocatable.swift:86:32: error: 'UIView' is unavailable in watchOS
84 | /// - parameter x: The relative x value.
85 | /// - parameter y: The relative y value.
86 | public init(location view: UIView? = nil, x: CGFloat, y: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
87 | self.view = view
88 | self.x = x
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:10:31: error: 'UIView' is unavailable in watchOS
8 |
9 | /// The view itself, or the view the element belongs to.
10 | public let containerView: UIView
| `- error: 'UIView' is unavailable in watchOS
11 |
12 | /// Creates an element.
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:16:50: error: 'UIView' is unavailable in watchOS
14 | /// - parameter object: The view or element.
15 | /// - parameter containerView: The view itself, or the view the element belongs to.
16 | public init(object: NSObject, containerView: UIView) {
| `- error: 'UIView' is unavailable in watchOS
17 | self.object = object
18 | self.containerView = containerView
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:22:22: error: 'UIView' is unavailable in watchOS
20 |
21 | /// The view, or nil if the element is not a view.
22 | public var view: UIView? {
| `- error: 'UIView' is unavailable in watchOS
23 | return self.object as? UIView
24 | }
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:44:34: error: 'UIWindow' is unavailable in watchOS
42 | ///
43 | /// - returns: The frame.
44 | public func frame(in window: UIWindow) -> CGRect {
| `- error: 'UIWindow' is unavailable in watchOS
45 | window.screen.coordinateSpace.convert(self.object.accessibilityFrame, to: window)
46 | }
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:53:44: error: 'UIWindow' is unavailable in watchOS
51 | ///
52 | /// - returns: The point.
53 | public func activationPoint(in window: UIWindow) -> CGPoint {
| `- error: 'UIWindow' is unavailable in watchOS
54 | window.screen.coordinateSpace.convert(self.object.accessibilityActivationPoint, to: window)
55 | }
/Applications/Xcode-27.0.0.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/Hammer/Utilities/FrameTracker.swift:12:30: error: 'CADisplayLink' is unavailable in watchOS
10 | private static let stallThreshold: CFTimeInterval = 0.1
11 |
12 | private var displayLink: CADisplayLink?
| `- error: 'CADisplayLink' is unavailable in watchOS
13 | private var listeners: [@MainActor () -> Void] = []
14 | private let mainThread = pthread_mach_thread_np(pthread_self())
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h:21:12: note: 'CADisplayLink' has been explicitly marked unavailable here
19 | API_AVAILABLE(macos(14.0))
20 |
21 | @interface CADisplayLink : NSObject
| `- note: 'CADisplayLink' has been explicitly marked unavailable here
22 | {
23 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/FrameTracker.swift:15:33: error: 'CACurrentMediaTime()' is unavailable in watchOS
13 | private var listeners: [@MainActor () -> Void] = []
14 | private let mainThread = pthread_mach_thread_np(pthread_self())
15 | private var lastFrameTime = CACurrentMediaTime()
| `- error: 'CACurrentMediaTime()' is unavailable in watchOS
16 | private var lastFrameCPUTime: CFTimeInterval = 0
17 | private var completedStallsTime: CFTimeInterval = 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h:127:26: note: 'CACurrentMediaTime()' has been explicitly marked unavailable here
125 | * calling mach_absolute_time () and converting the units to seconds. */
126 |
127 | CA_EXTERN CFTimeInterval CACurrentMediaTime (void)
| `- note: 'CACurrentMediaTime()' has been explicitly marked unavailable here
128 | API_AVAILABLE(macos(10.5), ios(2.0)) API_UNAVAILABLE(watchos);
129 |
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerError.swift:25:32: error: 'UITouch' is unavailable in watchOS
23 | case unknownKeyForCharacter(Character)
24 |
25 | case unsupportedTouchPhase(UITouch.Phase)
| `- error: 'UITouch' is unavailable in watchOS
26 |
27 | case unableToAccessPrivateApi(type: String, method: String)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerError.swift:29:31: error: 'UIView' is unavailable in watchOS
27 | case unableToAccessPrivateApi(type: String, method: String)
28 |
29 | case viewIsNotInHierarchy(UIView)
| `- error: 'UIView' is unavailable in watchOS
30 | case viewIsNotVisible(UIView)
31 | case viewIsNotHittable(UIView)
/Applications/Xcode-27.0.0.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/Hammer/Utilities/HammerError.swift:30:27: error: 'UIView' is unavailable in watchOS
28 |
29 | case viewIsNotInHierarchy(UIView)
30 | case viewIsNotVisible(UIView)
| `- error: 'UIView' is unavailable in watchOS
31 | case viewIsNotHittable(UIView)
32 | case pointIsNotHittable(CGPoint)
/Applications/Xcode-27.0.0.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/Hammer/Utilities/HammerError.swift:31:28: error: 'UIView' is unavailable in watchOS
29 | case viewIsNotInHierarchy(UIView)
30 | case viewIsNotVisible(UIView)
31 | case viewIsNotHittable(UIView)
| `- error: 'UIView' is unavailable in watchOS
32 | case pointIsNotHittable(CGPoint)
33 |
/Applications/Xcode-27.0.0.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/Hammer/Utilities/HammerError.swift:127:11: error: 'UIView' is unavailable in watchOS
125 | }
126 |
127 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
128 | // Errors can be described from any thread, but the view can only be read on the main thread
129 | nonisolated fileprivate var shortDescription: String {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/HammerWindow.swift:7:18: error: cannot override 'safeAreaInsets' which has been marked unavailable
5 | private let hammerViewController = HammerViewController()
6 |
7 | override var safeAreaInsets: UIEdgeInsets {
| |- error: cannot override 'safeAreaInsets' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'safeAreaInsets'
8 | return .zero
9 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:27:45: error: 'UIViewController' is unavailable in watchOS
25 | }
26 |
27 | func presentContained(_ viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
28 | self.makeVisibleAndKey()
29 | self.hammerViewController.presentContained(viewController)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:4:27: error: 'UIWindow' is unavailable in watchOS
2 |
3 | // Custom Window to have proper simulation of presentation and dismissal lifecycle events
4 | final class HammerWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
5 | private let hammerViewController = HammerViewController()
6 |
/Applications/Xcode-27.0.0.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/Hammer/Utilities/HammerWindow.swift:39:33: error: 'UIView' is unavailable in watchOS
37 |
38 | private final class HammerViewController: UIViewController {
39 | private let containerView = UIView()
| `- error: 'UIView' is unavailable in watchOS
40 |
41 | override var shouldAutomaticallyForwardAppearanceMethods: Bool { false }
/Applications/Xcode-27.0.0.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/Hammer/Utilities/HammerWindow.swift:39:33: error: 'init()' is unavailable in watchOS
37 |
38 | private final class HammerViewController: UIViewController {
39 | private let containerView = UIView()
| `- error: 'init()' is unavailable in watchOS
40 |
41 | override var shouldAutomaticallyForwardAppearanceMethods: Bool { false }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:67:45: error: 'UIViewController' is unavailable in watchOS
65 | }
66 |
67 | func presentContained(_ viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
68 | viewController.beginAppearanceTransition(true, animated: false)
69 | self.addChild(viewController)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:38:43: error: 'UIViewController' is unavailable in watchOS
36 | }
37 |
38 | private final class HammerViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
39 | private let containerView = UIView()
40 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:96:11: error: 'UIWindow' is unavailable in watchOS
94 | }
95 |
96 | extension UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
97 | func makeVisibleAndKey(file: StaticString = #fileID, line: UInt = #line) {
98 | self.addToMainSceneIfNeeded(file: file, line: line)
/Applications/Xcode-27.0.0.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/Hammer/Utilities/HammerWindow.swift:125:43: error: 'UIWindowScene' is unavailable in watchOS
123 |
124 | private extension UIScene {
125 | static var mainOrFirstConnectedScene: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
126 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
127 | return scenes.first { $0.screen == UIScreen.main } ?? scenes.first
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:124:19: error: 'UIScene' is unavailable in watchOS
122 | }
123 |
124 | private extension UIScene {
| `- error: 'UIScene' is unavailable in watchOS
125 | static var mainOrFirstConnectedScene: UIWindowScene? {
126 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/Subviews.swift:43:81: error: 'UIView' is unavailable in watchOS
41 | ///
42 | /// - returns: The view.
43 | public func viewWithIdentifier(_ accessibilityIdentifier: String) throws -> UIView {
| `- error: 'UIView' is unavailable in watchOS
44 | let query = AccessibilityQuery(identifier: accessibilityIdentifier)
45 | guard let view = try self.accessibilityElement(matching: query, viewsOnly: true)?.view else {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:62:39: error: 'UIView' is unavailable in watchOS
60 | ///
61 | /// - returns: The view.
62 | public func viewWithIdentifier<T: UIView>(_ accessibilityIdentifier: String,
| `- error: 'UIView' is unavailable in watchOS
63 | ofType type: T.Type) throws -> T
64 | {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:87:75: error: 'UIView' is unavailable in watchOS
85 | /// - returns: The view.
86 | public func viewWithIdentifier(_ accessibilityIdentifier: String,
87 | timeout: TimeInterval) async throws -> UIView
| `- error: 'UIView' is unavailable in watchOS
88 | {
89 | try await self.viewWithIdentifier(accessibilityIdentifier, ofType: UIView.self, timeout: timeout)
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:104:39: error: 'UIView' is unavailable in watchOS
102 | ///
103 | /// - returns: The view.
104 | public func viewWithIdentifier<T: UIView>(_ accessibilityIdentifier: String, ofType type: T.Type,
| `- error: 'UIView' is unavailable in watchOS
105 | timeout: TimeInterval) async throws -> T
106 | {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:124:34: error: 'UIView' is unavailable in watchOS
122 | ///
123 | /// - returns: The view, or nil if it is not in the hierarchy.
124 | private func existingView<T: UIView>(_ accessibilityIdentifier: String, _ type: T.Type) throws -> T? {
| `- error: 'UIView' is unavailable in watchOS
125 | do {
126 | return try self.viewWithIdentifier(accessibilityIdentifier, ofType: type)
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:185:39: error: 'UIView' is unavailable in watchOS
183 | ///
184 | /// - returns: If the view is visible
185 | public func viewIsVisible(_ view: UIView, visibility: Visibility = .partial) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
186 | return view.isVisible(inWindow: self.window, visibility: visibility)
187 | }
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:262:40: error: 'UIView' is unavailable in watchOS
260 | ///
261 | /// - returns: If the view is hittable
262 | public func viewIsHittable(_ view: UIView, atPoint point: CGPoint? = nil) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
263 | guard self.isWindowReady else {
264 | return false
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:345:46: error: 'UIView' is unavailable in watchOS
343 | ///
344 | /// - returns: If the view is hittable
345 | public func windowHitPoint(forView view: UIView) throws -> CGPoint {
| `- error: 'UIView' is unavailable in watchOS
346 | try self.checkWindowIsReady()
347 |
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:481:41: error: 'UIView' is unavailable in watchOS
479 | ///
480 | /// - returns: The visible bounds in window coordinates
481 | private func visibleBounds(of view: UIView) -> CGRect {
| `- error: 'UIView' is unavailable in watchOS
482 | var bounds = self.window.bounds
483 | var currentView: UIView? = view
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:512:55: error: 'UIView' is unavailable in watchOS
510 | ///
511 | /// - returns: A possible hittable point
512 | private func internalWindowHitPoint(forView view: UIView) -> CGPoint {
| `- error: 'UIView' is unavailable in watchOS
513 | let viewBounds = view.convert(view.bounds, to: self.window)
514 | return self.window.bounds.intersection(viewBounds).center
/Applications/Xcode-27.0.0.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/Hammer/Utilities/UIKit+Extensions.swift:3:11: error: 'UITouch' is unavailable in watchOS
1 | import UIKit
2 |
3 | extension UITouch.Phase {
| `- error: 'UITouch' is unavailable in watchOS
4 | // Returns 1 for all events where the fingers are on the glass.
5 | var isTouching: Bool {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift:29:11: error: 'UIDevice' is unavailable in watchOS
27 | }
28 |
29 | extension UIDevice {
| `- error: 'UIDevice' is unavailable in watchOS
30 | public var maxNumberOfFingers: Int {
31 | switch self.userInterfaceIdiom {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift:47:47: error: 'UIViewController' is unavailable in watchOS
45 |
46 | extension UIViewController {
47 | convenience init(wrapping viewController: UIViewController, alignment: EventGenerator.WrappingAlignment) {
| `- error: 'UIViewController' is unavailable in watchOS
48 | self.init(wrapping: viewController.view, alignment: alignment)
49 | self.addChild(viewController)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift:53:37: error: 'UIView' is unavailable in watchOS
51 | }
52 |
53 | convenience init(wrapping view: UIView, alignment: EventGenerator.WrappingAlignment) {
| `- error: 'UIView' is unavailable in watchOS
54 | self.init(nibName: nil, bundle: nil)
55 | view.translatesAutoresizingMaskIntoConstraints = false
/Applications/Xcode-27.0.0.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/Hammer/Utilities/UIKit+Extensions.swift:46:11: error: 'UIViewController' is unavailable in watchOS
44 | }
45 |
46 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
47 | convenience init(wrapping viewController: UIViewController, alignment: EventGenerator.WrappingAlignment) {
48 | self.init(wrapping: viewController.view, alignment: alignment)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift:81:23: error: 'UIView' is unavailable in watchOS
79 | extension UIView {
80 | /// Returns the view at the top level of the view hierarchy. Could be a UIWindow.
81 | var topLevelView: UIView {
| `- error: 'UIView' is unavailable in watchOS
82 | return self.superview?.topLevelView ?? self
83 | }
/Applications/Xcode-27.0.0.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/Hammer/Utilities/UIKit+Extensions.swift:91:37: error: 'UIWindow' is unavailable in watchOS
89 | ///
90 | /// - returns: If the view is visible
91 | func isVisible(inWindow window: UIWindow, visibility: EventGenerator.Visibility = .partial) -> Bool {
| `- error: 'UIWindow' is unavailable in watchOS
92 | guard self.isDescendant(of: window) else {
93 | return false
/Applications/Xcode-27.0.0.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/Hammer/Utilities/UIKit+Extensions.swift:79:11: error: 'UIView' is unavailable in watchOS
77 | }
78 |
79 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
80 | /// Returns the view at the top level of the view hierarchy. Could be a UIWindow.
81 | var topLevelView: UIView {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Waiting.swift:114:42: error: 'UIView' is unavailable in watchOS
112 | ///
113 | /// - throws: An error if the view is not visible after the specified time.
114 | public func waitUntilVisible(_ view: UIView, visibility: Visibility = .partial,
| `- error: 'UIView' is unavailable in watchOS
115 | timeout: TimeInterval? = nil) async throws
116 | {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Waiting.swift:175:43: error: 'UIView' is unavailable in watchOS
173 | ///
174 | /// - throws: An error if the view is not hittable after the specified time.
175 | public func waitUntilHittable(_ view: UIView, timeout: TimeInterval? = nil) async throws {
| `- error: 'UIView' is unavailable in watchOS
176 | try await self.waitUntil(self.viewIsHittable(view), timeout: timeout)
177 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
/Applications/Xcode-27.0.0.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/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+IOHID.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Hand+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Keyboard+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Stylus+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Waiting+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/DebugWindow/DebugVisualizerWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/AccessibilityQuery.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/ElementSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/EventGenerator+Hand.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/FingerIndex.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/HandInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/SwipeDirection.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/EventGenerator+Keyboard.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/KeyboardKey.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Marker.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Readiness.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Settings.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Stylus/EventGenerator+Stylus.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Stylus/StylusInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+SwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/CoreGraphic+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/Deadline.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/FrameTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerError.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/MainRunLoop.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/Subviews.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/SwiftErrorHooks.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/TouchStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/Waiting.swift -target arm64-apple-watchos10.0 -disable-cross-import-overlay-search -swift-module-cross-import Darwin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/Darwin.swiftcrossimport/xlocale.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.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/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64/Hammer-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.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.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.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.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-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.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/Hammer.build/Debug-watchos/Hammer-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Hammer -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64/Hammer_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.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/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64/Hammer.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64/Hammer.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64/Hammer-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64/Hammer-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64/Hammer-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64/Hammer.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64/Hammer.abi.json
SwiftCompile normal arm64 (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for HammerCLI (in target 'hammer-product' from project 'Hammer')
SwiftDriver\ Compilation\ Requirements hammer normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'hammer-product' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name HammerCLI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64_32/hammer.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos10.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.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.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-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64_32/hammer-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/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64_32/HammerCLI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64_32/HammerCLI-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/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64_32/hammer_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/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling AgentClient.swift (in target 'hammer-product' from project 'Hammer')
SwiftDriver\ Compilation\ Requirements hammer normal arm64 com.apple.xcode.tools.swift.compiler (in target 'hammer-product' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name HammerCLI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64/hammer.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos10.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.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.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-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64/hammer-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/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64/HammerCLI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64/HammerCLI-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/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64/hammer_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/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64_32 Compiling\ TouchStorage.swift,\ UIKit+Extensions.swift,\ Waiting.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/TouchStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/Waiting.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/TouchStorage.swift:33:15: error: 'UIDevice' is unavailable in watchOS
31 |
32 | mutating func append(finger: FingerInfo, forIdentifier identifier: UInt32) throws {
33 | guard UIDevice.current.maxNumberOfFingers > 0 else {
| `- error: 'UIDevice' is unavailable in watchOS
34 | throw HammerError.deviceDoesNotSupportTouches
35 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/TouchStorage.swift:37:40: error: 'UIDevice' is unavailable in watchOS
35 | }
36 |
37 | guard self.fingerStore.count < UIDevice.current.maxNumberOfFingers else {
| `- error: 'UIDevice' is unavailable in watchOS
38 | throw HammerError.fingerLimitReached(limit: self.fingerStore.count)
39 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/TouchStorage.swift:45:15: error: 'UIDevice' is unavailable in watchOS
43 |
44 | mutating func set(stylus: StylusInfo, forIdentifier identifier: UInt32) throws {
45 | guard UIDevice.current.supportsStylus else {
| `- error: 'UIDevice' is unavailable in watchOS
46 | throw HammerError.deviceDoesNotSupportStylus
47 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift:3:11: error: 'UITouch' is unavailable in watchOS
1 | import UIKit
2 |
3 | extension UITouch.Phase {
| `- error: 'UITouch' is unavailable in watchOS
4 | // Returns 1 for all events where the fingers are on the glass.
5 | var isTouching: Bool {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift:29:11: error: 'UIDevice' is unavailable in watchOS
27 | }
28 |
29 | extension UIDevice {
| `- error: 'UIDevice' is unavailable in watchOS
30 | public var maxNumberOfFingers: Int {
31 | switch self.userInterfaceIdiom {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift:47:47: error: 'UIViewController' is unavailable in watchOS
45 |
46 | extension UIViewController {
47 | convenience init(wrapping viewController: UIViewController, alignment: EventGenerator.WrappingAlignment) {
| `- error: 'UIViewController' is unavailable in watchOS
48 | self.init(wrapping: viewController.view, alignment: alignment)
49 | self.addChild(viewController)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift:53:37: error: 'UIView' is unavailable in watchOS
51 | }
52 |
53 | convenience init(wrapping view: UIView, alignment: EventGenerator.WrappingAlignment) {
| `- error: 'UIView' is unavailable in watchOS
54 | self.init(nibName: nil, bundle: nil)
55 | view.translatesAutoresizingMaskIntoConstraints = false
/Applications/Xcode-27.0.0.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/Hammer/Utilities/UIKit+Extensions.swift:46:11: error: 'UIViewController' is unavailable in watchOS
44 | }
45 |
46 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
47 | convenience init(wrapping viewController: UIViewController, alignment: EventGenerator.WrappingAlignment) {
48 | self.init(wrapping: viewController.view, alignment: alignment)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift:81:23: error: 'UIView' is unavailable in watchOS
79 | extension UIView {
80 | /// Returns the view at the top level of the view hierarchy. Could be a UIWindow.
81 | var topLevelView: UIView {
| `- error: 'UIView' is unavailable in watchOS
82 | return self.superview?.topLevelView ?? self
83 | }
/Applications/Xcode-27.0.0.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/Hammer/Utilities/TouchStorage.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TouchStorage.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIKit+Extensions.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/Waiting.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Waiting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/UIKit+Extensions.swift:91:37: error: 'UIWindow' is unavailable in watchOS
89 | ///
90 | /// - returns: If the view is visible
91 | func isVisible(inWindow window: UIWindow, visibility: EventGenerator.Visibility = .partial) -> Bool {
| `- error: 'UIWindow' is unavailable in watchOS
92 | guard self.isDescendant(of: window) else {
93 | return false
/Applications/Xcode-27.0.0.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/Hammer/Utilities/UIKit+Extensions.swift:79:11: error: 'UIView' is unavailable in watchOS
77 | }
78 |
79 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
80 | /// Returns the view at the top level of the view hierarchy. Could be a UIWindow.
81 | var topLevelView: UIView {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/UIKit+Extensions.swift:60:13: error: 'NSLayoutConstraint' is unavailable in watchOS
58 | switch alignment {
59 | case .fill:
60 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
61 | view.topAnchor.constraint(equalTo: self.view.topAnchor),
62 | view.bottomAnchor.constraint(equalTo: self.view.bottomAnchor),
/Applications/Xcode-27.0.0.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/Hammer/Utilities/UIKit+Extensions.swift:67:13: error: 'NSLayoutConstraint' is unavailable in watchOS
65 | ])
66 | case .center:
67 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
68 | view.centerYAnchor.constraint(equalTo: self.view.centerYAnchor),
69 | view.centerXAnchor.constraint(equalTo: self.view.centerXAnchor),
/Applications/Xcode-27.0.0.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/Hammer/Utilities/UIKit+Extensions.swift:97:37: error: 'UIView' is unavailable in watchOS
95 |
96 | // Recursive
97 | func isVisible(currentView: UIView) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
98 | guard !currentView.isHidden && currentView.alpha >= 0.01 else {
99 | return false
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Waiting.swift:114:42: error: 'UIView' is unavailable in watchOS
112 | ///
113 | /// - throws: An error if the view is not visible after the specified time.
114 | public func waitUntilVisible(_ view: UIView, visibility: Visibility = .partial,
| `- error: 'UIView' is unavailable in watchOS
115 | timeout: TimeInterval? = nil) async throws
116 | {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Waiting.swift:175:43: error: 'UIView' is unavailable in watchOS
173 | ///
174 | /// - throws: An error if the view is not hittable after the specified time.
175 | public func waitUntilHittable(_ view: UIView, timeout: TimeInterval? = nil) async throws {
| `- error: 'UIView' is unavailable in watchOS
176 | try await self.waitUntil(self.viewIsHittable(view), timeout: timeout)
177 | }
/Applications/Xcode-27.0.0.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.
SwiftDriverJobDiscovery normal arm64 Compiling CommandArguments.swift (in target 'hammer-product' from project 'Hammer')
SwiftCompile normal arm64_32 Compiling\ HammerLocatable.swift,\ AccessibilityElements.swift,\ CoreGraphic+Extensions.swift,\ Deadline.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/CoreGraphic+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/Deadline.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift:22:11: error: 'UIView' is unavailable in watchOS
20 | }
21 |
22 | extension UIView: HammerLocatable {
| `- error: 'UIView' is unavailable in watchOS
23 | public func windowHitPoint(for eventGenerator: EventGenerator) throws -> CGPoint {
24 | return try eventGenerator.windowHitPoint(forView: self)
/Applications/Xcode-27.0.0.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/Hammer/EventGenerator/HammerLocatable.swift:28:11: error: 'UIViewController' is unavailable in watchOS
26 | }
27 |
28 | extension UIViewController: HammerLocatable {
| `- error: 'UIViewController' is unavailable in watchOS
29 | public func windowHitPoint(for eventGenerator: EventGenerator) throws -> CGPoint {
30 | return try self.view.windowHitPoint(for: eventGenerator)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift:73:22: error: 'UIView' is unavailable in watchOS
71 | /// Creates a relative location for a view.
72 | public struct RelativeLocation: HammerLocatable {
73 | public let view: UIView?
| `- error: 'UIView' is unavailable in watchOS
74 | public let x: CGFloat
75 | public let y: CGFloat
/Applications/Xcode-27.0.0.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/Hammer/EventGenerator/HammerLocatable.swift:86:32: error: 'UIView' is unavailable in watchOS
84 | /// - parameter x: The relative x value.
85 | /// - parameter y: The relative y value.
86 | public init(location view: UIView? = nil, x: CGFloat, y: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
87 | self.view = view
88 | self.x = x
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:10:31: error: 'UIView' is unavailable in watchOS
8 |
9 | /// The view itself, or the view the element belongs to.
10 | public let containerView: UIView
| `- error: 'UIView' is unavailable in watchOS
11 |
12 | /// Creates an element.
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:16:50: error: 'UIView' is unavailable in watchOS
14 | /// - parameter object: The view or element.
15 | /// - parameter containerView: The view itself, or the view the element belongs to.
16 | public init(object: NSObject, containerView: UIView) {
| `- error: 'UIView' is unavailable in watchOS
17 | self.object = object
18 | self.containerView = containerView
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:22:22: error: 'UIView' is unavailable in watchOS
20 |
21 | /// The view, or nil if the element is not a view.
22 | public var view: UIView? {
| `- error: 'UIView' is unavailable in watchOS
23 | return self.object as? UIView
24 | }
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:44:34: error: 'UIWindow' is unavailable in watchOS
42 | ///
43 | /// - returns: The frame.
44 | public func frame(in window: UIWindow) -> CGRect {
| `- error: 'UIWindow' is unavailable in watchOS
45 | window.screen.coordinateSpace.convert(self.object.accessibilityFrame, to: window)
46 | }
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:53:44: error: 'UIWindow' is unavailable in watchOS
51 | ///
52 | /// - returns: The point.
53 | public func activationPoint(in window: UIWindow) -> CGPoint {
| `- error: 'UIWindow' is unavailable in watchOS
54 | window.screen.coordinateSpace.convert(self.object.accessibilityActivationPoint, to: window)
55 | }
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:23:32: error: 'UIView' is unavailable in watchOS
21 | /// The view, or nil if the element is not a view.
22 | public var view: UIView? {
23 | return self.object as? UIView
| `- error: 'UIView' is unavailable in watchOS
24 | }
25 |
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:30:49: error: 'accessibilityLabel' is unavailable in watchOS
28 | let object = self.object
29 | return AccessibilityQuery(identifier: object.accessibilityIdentifierValue,
30 | label: object.accessibilityLabel, value: object.accessibilityValue)
| `- error: 'accessibilityLabel' is unavailable in watchOS
31 | }
32 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
62 | Setting the property will change the label that is returned to the accessibility client.
63 | */
64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityLabel' has been explicitly marked unavailable here
65 |
66 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift:30:83: error: 'accessibilityValue' is unavailable in watchOS
28 | let object = self.object
29 | return AccessibilityQuery(identifier: object.accessibilityIdentifierValue,
30 | label: object.accessibilityLabel, value: object.accessibilityValue)
| `- error: 'accessibilityValue' is unavailable in watchOS
31 | }
32 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:95:49: note: 'accessibilityValue' has been explicitly marked unavailable here
93 | Setting the property will change the value that is returned to the accessibility client.
94 | */
95 | @property (nullable, nonatomic, copy) NSString *accessibilityValue API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityValue' has been explicitly marked unavailable here
96 |
97 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift:35:31: error: 'UIControl' is unavailable in watchOS
33 | /// If the element is a control or has traits of an element that performs an action.
34 | var isActionable: Bool {
35 | return self.object is UIControl
| `- error: 'UIControl' is unavailable in watchOS
36 | || !self.object.accessibilityTraits.isDisjoint(with: [.button, .link, .adjustable])
37 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift:36:29: error: 'accessibilityTraits' is unavailable in watchOS
34 | var isActionable: Bool {
35 | return self.object is UIControl
36 | || !self.object.accessibilityTraits.isDisjoint(with: [.button, .link, .adjustable])
| `- error: 'accessibilityTraits' is unavailable in watchOS
37 | }
38 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:113:45: note: 'accessibilityTraits' has been explicitly marked unavailable here
111 | Setting the property will change the traits that are returned to the accessibility client.
112 | */
113 | @property (nonatomic) UIAccessibilityTraits accessibilityTraits API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityTraits' has been explicitly marked unavailable here
114 |
115 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift:45:39: error: 'convert(_:to:)' is unavailable in watchOS
43 | /// - returns: The frame.
44 | public func frame(in window: UIWindow) -> CGRect {
45 | window.screen.coordinateSpace.convert(self.object.accessibilityFrame, to: window)
| `- error: 'convert(_:to:)' is unavailable in watchOS
46 | }
47 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/SubFrameworks/UIUtilities.framework/Headers/UICoordinateSpace.h:17:1: note: 'convert(_:to:)' has been explicitly marked unavailable here
15 | - (CGPoint)convertPoint:(CGPoint)point toCoordinateSpace:(id <UICoordinateSpace>)coordinateSpace API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
16 | - (CGPoint)convertPoint:(CGPoint)point fromCoordinateSpace:(id <UICoordinateSpace>)coordinateSpace API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
17 | - (CGRect)convertRect:(CGRect)rect toCoordinateSpace:(id <UICoordinateSpace>)coordinateSpace API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
| `- note: 'convert(_:to:)' has been explicitly marked unavailable here
18 | - (CGRect)convertRect:(CGRect)rect fromCoordinateSpace:(id <UICoordinateSpace>)coordinateSpace API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift:45:59: error: 'accessibilityFrame' is unavailable in watchOS
43 | /// - returns: The frame.
44 | public func frame(in window: UIWindow) -> CGRect {
45 | window.screen.coordinateSpace.convert(self.object.accessibilityFrame, to: window)
| `- error: 'accessibilityFrame' is unavailable in watchOS
46 | }
47 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:121:30: note: 'accessibilityFrame' has been explicitly marked unavailable here
119 | Setting the property will change the frame that is returned to the accessibility client.
120 | */
121 | @property (nonatomic) CGRect accessibilityFrame API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityFrame' has been explicitly marked unavailable here
122 |
123 | // The accessibilityFrame is expected to be in screen coordinates.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift:54:39: error: 'convert(_:to:)' is unavailable in watchOS
52 | /// - returns: The point.
53 | public func activationPoint(in window: UIWindow) -> CGPoint {
54 | window.screen.coordinateSpace.convert(self.object.accessibilityActivationPoint, to: window)
| `- error: 'convert(_:to:)' is unavailable in watchOS
55 | }
56 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/SubFrameworks/UIUtilities.framework/Headers/UICoordinateSpace.h:15:1: note: 'convert(_:to:)' has been explicitly marked unavailable here
13 | @protocol UICoordinateSpace <NSObject>
14 |
15 | - (CGPoint)convertPoint:(CGPoint)point toCoordinateSpace:(id <UICoordinateSpace>)coordinateSpace API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
| `- note: 'convert(_:to:)' has been explicitly marked unavailable here
16 | - (CGPoint)convertPoint:(CGPoint)point fromCoordinateSpace:(id <UICoordinateSpace>)coordinateSpace API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
17 | - (CGRect)convertRect:(CGRect)rect toCoordinateSpace:(id <UICoordinateSpace>)coordinateSpace API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift:54:59: error: 'accessibilityActivationPoint' is unavailable in watchOS
52 | /// - returns: The point.
53 | public func activationPoint(in window: UIWindow) -> CGPoint {
54 | window.screen.coordinateSpace.convert(self.object.accessibilityActivationPoint, to: window)
| `- error: 'accessibilityActivationPoint' is unavailable in watchOS
55 | }
56 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:145:31: note: 'accessibilityActivationPoint' has been explicitly marked unavailable here
143 | default == Mid-point of the accessibilityFrame.
144 | */
145 | @property (nonatomic) CGPoint accessibilityActivationPoint API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityActivationPoint' has been explicitly marked unavailable here
146 |
147 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift:74:59: error: 'UIView' is unavailable in watchOS
72 | // Views are reached through their subviews, after SwiftUI sets the identifier of hosted views, like
73 | // text fields, while it builds the elements of their container.
74 | func search(_ object: NSObject, in containerView: UIView) {
| `- error: 'UIView' is unavailable in watchOS
75 | for element in object.accessibilityChildren where !(element is UIView) {
76 | guard visited.insert(ObjectIdentifier(element)).inserted else {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:75:76: error: 'UIView' is unavailable in watchOS
73 | // text fields, while it builds the elements of their container.
74 | func search(_ object: NSObject, in containerView: UIView) {
75 | for element in object.accessibilityChildren where !(element is UIView) {
| `- error: 'UIView' is unavailable in watchOS
76 | guard visited.insert(ObjectIdentifier(element)).inserted else {
77 | continue
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:88:21: error: 'UIView' is unavailable in watchOS
86 | }
87 |
88 | var queue: [UIView] = [self.window]
| `- error: 'UIView' is unavailable in watchOS
89 | while !queue.isEmpty {
90 | let levelQueue = queue
/Applications/Xcode-27.0.0.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/Hammer/Utilities/AccessibilityElements.swift:144:32: error: 'accessibilityElements' is unavailable in watchOS
142 | extension NSObject {
143 | var accessibilityChildren: [NSObject] {
144 | if let elements = self.accessibilityElements as? [NSObject] {
| `- error: 'accessibilityElements' is unavailable in watchOS
145 | return elements
146 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h:53:50: note: 'accessibilityElements' has been explicitly marked unavailable here
51 | // This can be used as an alternative to implementing the dynamic methods.
52 | // default == nil
53 | @property (nullable, nonatomic, strong) NSArray *accessibilityElements API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElements' has been explicitly marked unavailable here
54 |
55 | // Some containers provide more context for accessibility elements, such as tables or lists.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift:149:26: error: 'accessibilityElementCount()' is unavailable in watchOS
147 |
148 | // Elements without children report `NSNotFound`
149 | let count = self.accessibilityElementCount()
| `- error: 'accessibilityElementCount()' is unavailable in watchOS
150 | guard count != NSNotFound, count > 0 else {
151 | return []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h:36:1: note: 'accessibilityElementCount()' has been explicitly marked unavailable here
34 | Returns the number of accessibility elements in the container.
35 | */
36 | - (NSInteger)accessibilityElementCount API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElementCount()' has been explicitly marked unavailable here
37 |
38 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift:154:46: error: 'accessibilityElement(at:)' is unavailable in watchOS
152 | }
153 |
154 | return (0..<count).compactMap { self.accessibilityElement(at: $0) as? NSObject }
| `- error: 'accessibilityElement(at:)' is unavailable in watchOS
155 | }
156 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h:42:1: note: 'accessibilityElement(at:)' has been explicitly marked unavailable here
40 | default == nil
41 | */
42 | - (nullable id)accessibilityElementAtIndex:(NSInteger)index API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElement(at:)' has been explicitly marked unavailable here
43 |
44 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HammerLocatable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/AccessibilityElements.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AccessibilityElements.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/CoreGraphic+Extensions.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoreGraphic+Extensions.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/Deadline.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Deadline.swift
SwiftCompile normal arm64 Compiling\ EventGenerator+Keyboard+Synchronous.swift,\ EventGenerator+Stylus+Synchronous.swift,\ EventGenerator+Synchronous.swift,\ EventGenerator+Waiting+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Keyboard+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Stylus+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Waiting+Synchronous.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Synchronous.swift:7:37: error: 'UIWindow' is unavailable in watchOS
5 | // code and the async versions in async code.
6 | extension EventGenerator {
7 | public convenience init(window: UIWindow) throws {
| `- error: 'UIWindow' is unavailable in watchOS
8 | self.init(host: .existing(window), mainView: window)
9 | try self.runSynchronously { try await self.waitUntilWindowIsReady() }
/Applications/Xcode-27.0.0.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/Hammer/Compatibility/EventGenerator+Synchronous.swift:12:45: error: 'UIViewController' is unavailable in watchOS
10 | }
11 |
12 | public convenience init(viewController: UIViewController) throws {
| `- error: 'UIViewController' is unavailable in watchOS
13 | self.init(host: EventGenerator.host(for: viewController), mainView: viewController.view)
14 | try self.runSynchronously { try await self.waitUntilWindowIsReady() }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Synchronous.swift:17:35: error: 'UIView' is unavailable in watchOS
15 | }
16 |
17 | public convenience init(view: UIView, alignment: WrappingAlignment = .center) throws {
| `- error: 'UIView' is unavailable in watchOS
18 | self.init(host: EventGenerator.host(for: view, alignment: alignment), mainView: view)
19 | try self.runSynchronously { try await self.waitUntilWindowIsReady() }
/Applications/Xcode-27.0.0.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/Hammer/Compatibility/EventGenerator+Synchronous.swift:42:69: error: 'UIView' is unavailable in watchOS
40 |
41 | public func viewWithIdentifier(_ accessibilityIdentifier: String,
42 | timeout: TimeInterval) throws -> UIView
| `- error: 'UIView' is unavailable in watchOS
43 | {
44 | try self.runSynchronously {
/Applications/Xcode-27.0.0.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/Hammer/Compatibility/EventGenerator+Synchronous.swift:49:39: error: 'UIView' is unavailable in watchOS
47 | }
48 |
49 | public func viewWithIdentifier<T: UIView>(_ accessibilityIdentifier: String, ofType type: T.Type,
| `- error: 'UIView' is unavailable in watchOS
50 | timeout: TimeInterval) throws -> T
51 | {
/Applications/Xcode-27.0.0.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/Hammer/Compatibility/EventGenerator+Waiting+Synchronous.swift:123:42: error: 'UIView' is unavailable in watchOS
121 | }
122 |
123 | public func waitUntilVisible(_ view: UIView, visibility: Visibility = .partial,
| `- error: 'UIView' is unavailable in watchOS
124 | timeout: TimeInterval? = nil) throws
125 | {
/Applications/Xcode-27.0.0.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/Hammer/Compatibility/EventGenerator+Keyboard+Synchronous.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Keyboard+Synchronous.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Stylus+Synchronous.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Stylus+Synchronous.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Synchronous.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Synchronous.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Waiting+Synchronous.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Waiting+Synchronous.swift
SwiftDriverJobDiscovery normal arm64 Compiling MCPServer.swift (in target 'hammer-product' from project 'Hammer')
SwiftCompile normal arm64_32 Compiling\ AppleInternal+BackBoardServices.swift,\ AppleInternal+IOHID.swift,\ AppleInternal+UIKit.swift,\ EventGenerator+Hand+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+IOHID.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Hand+Synchronous.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:16:54: error: 'UIEvent' is unavailable in watchOS
14 | extension UIApplication {
15 | typealias HIDEventCallback = @MainActor (_ event: IOHIDEvent) -> Void
16 | typealias UIEventCallback = @MainActor (_ event: UIEvent) -> Void
| `- error: 'UIEvent' is unavailable in watchOS
17 |
18 | private static var hidEventCallbacks = [ObjectIdentifier: HIDEventCallback]()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:30:45: error: 'UIEvent' is unavailable in watchOS
28 |
29 | @objc
30 | private func swizzledSendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
31 | // Callbacks run before dispatch so they see the phases that came from the HID event
32 | UIApplication.uiEventCallbacks.values.forEach { $0(event) }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:39:27: error: 'UIApplication' is unavailable in watchOS
37 |
38 | private static let runOnce: () = {
39 | class_addProtocol(UIApplication.self, UIApplicationPrivate.self)
| `- error: 'UIApplication' is unavailable in watchOS
40 | class_addProtocol(UIWindow.self, UIWindowPrivate.self)
41 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:40:27: error: 'UIWindow' is unavailable in watchOS
38 | private static let runOnce: () = {
39 | class_addProtocol(UIApplication.self, UIApplicationPrivate.self)
40 | class_addProtocol(UIWindow.self, UIWindowPrivate.self)
| `- error: 'UIWindow' is unavailable in watchOS
41 |
42 | UIApplication.exchange(NSSelectorFromString("_handleHIDEvent:"),
/Applications/Xcode-27.0.0.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/Hammer/AppleInternal/AppleInternal+UIKit.swift:42:9: error: 'UIApplication' is unavailable in watchOS
40 | class_addProtocol(UIWindow.self, UIWindowPrivate.self)
41 |
42 | UIApplication.exchange(NSSelectorFromString("_handleHIDEvent:"),
| `- error: 'UIApplication' is unavailable in watchOS
43 | with: #selector(UIApplication.swizzledHandleHIDEvent(_:)))
44 | UIApplication.exchange(#selector(UIApplication.sendEvent(_:)),
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:43:48: error: 'UIApplication' is unavailable in watchOS
41 |
42 | UIApplication.exchange(NSSelectorFromString("_handleHIDEvent:"),
43 | with: #selector(UIApplication.swizzledHandleHIDEvent(_:)))
| `- error: 'UIApplication' is unavailable in watchOS
44 | UIApplication.exchange(#selector(UIApplication.sendEvent(_:)),
45 | with: #selector(UIApplication.swizzledSendEvent(_:)))
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:44:9: error: 'UIApplication' is unavailable in watchOS
42 | UIApplication.exchange(NSSelectorFromString("_handleHIDEvent:"),
43 | with: #selector(UIApplication.swizzledHandleHIDEvent(_:)))
44 | UIApplication.exchange(#selector(UIApplication.sendEvent(_:)),
| `- error: 'UIApplication' is unavailable in watchOS
45 | with: #selector(UIApplication.swizzledSendEvent(_:)))
46 | }()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:44:42: error: 'UIApplication' is unavailable in watchOS
42 | UIApplication.exchange(NSSelectorFromString("_handleHIDEvent:"),
43 | with: #selector(UIApplication.swizzledHandleHIDEvent(_:)))
44 | UIApplication.exchange(#selector(UIApplication.sendEvent(_:)),
| `- error: 'UIApplication' is unavailable in watchOS
45 | with: #selector(UIApplication.swizzledSendEvent(_:)))
46 | }()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:45:48: error: 'UIApplication' is unavailable in watchOS
43 | with: #selector(UIApplication.swizzledHandleHIDEvent(_:)))
44 | UIApplication.exchange(#selector(UIApplication.sendEvent(_:)),
45 | with: #selector(UIApplication.swizzledSendEvent(_:)))
| `- error: 'UIApplication' is unavailable in watchOS
46 | }()
47 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:14:11: error: 'UIApplication' is unavailable in watchOS
12 | }
13 |
14 | extension UIApplication {
| `- error: 'UIApplication' is unavailable in watchOS
15 | typealias HIDEventCallback = @MainActor (_ event: IOHIDEvent) -> Void
16 | typealias UIEventCallback = @MainActor (_ event: UIEvent) -> Void
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:26:9: error: 'UIApplication' is unavailable in watchOS
24 | self.swizzledHandleHIDEvent(event)
25 |
26 | UIApplication.hidEventCallbacks.values.forEach { $0(event) }
| `- error: 'UIApplication' is unavailable in watchOS
27 | }
28 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:32:9: error: 'UIApplication' is unavailable in watchOS
30 | private func swizzledSendEvent(_ event: UIEvent) {
31 | // Callbacks run before dispatch so they see the phases that came from the HID event
32 | UIApplication.uiEventCallbacks.values.forEach { $0(event) }
| `- error: 'UIApplication' is unavailable in watchOS
33 |
34 | // Calling this really calls the original un-swizzled method
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:49:54: error: 'UIApplication' is unavailable in watchOS
47 |
48 | private static func exchange(_ originalSelector: Selector, with swizzledSelector: Selector) {
49 | let originalMethod = class_getInstanceMethod(UIApplication.self, originalSelector)
| `- error: 'UIApplication' is unavailable in watchOS
50 | let swizzledMethod = class_getInstanceMethod(UIApplication.self, swizzledSelector)
51 | if let originalMethod = originalMethod, let swizzledMethod = swizzledMethod {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleInternal+BackBoardServices.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+IOHID.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleInternal+IOHID.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleInternal+UIKit.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Hand+Synchronous.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Hand+Synchronous.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling AgentClient.swift (in target 'hammer-product' from project 'Hammer')
SwiftCompile normal arm64_32 Compiling\ MainRunLoop.swift,\ Subviews.swift,\ SwiftErrorHooks.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/MainRunLoop.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/Subviews.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/SwiftErrorHooks.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/Subviews.swift:43:81: error: 'UIView' is unavailable in watchOS
41 | ///
42 | /// - returns: The view.
43 | public func viewWithIdentifier(_ accessibilityIdentifier: String) throws -> UIView {
| `- error: 'UIView' is unavailable in watchOS
44 | let query = AccessibilityQuery(identifier: accessibilityIdentifier)
45 | guard let view = try self.accessibilityElement(matching: query, viewsOnly: true)?.view else {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:62:39: error: 'UIView' is unavailable in watchOS
60 | ///
61 | /// - returns: The view.
62 | public func viewWithIdentifier<T: UIView>(_ accessibilityIdentifier: String,
| `- error: 'UIView' is unavailable in watchOS
63 | ofType type: T.Type) throws -> T
64 | {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:87:75: error: 'UIView' is unavailable in watchOS
85 | /// - returns: The view.
86 | public func viewWithIdentifier(_ accessibilityIdentifier: String,
87 | timeout: TimeInterval) async throws -> UIView
| `- error: 'UIView' is unavailable in watchOS
88 | {
89 | try await self.viewWithIdentifier(accessibilityIdentifier, ofType: UIView.self, timeout: timeout)
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:104:39: error: 'UIView' is unavailable in watchOS
102 | ///
103 | /// - returns: The view.
104 | public func viewWithIdentifier<T: UIView>(_ accessibilityIdentifier: String, ofType type: T.Type,
| `- error: 'UIView' is unavailable in watchOS
105 | timeout: TimeInterval) async throws -> T
106 | {
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:124:34: error: 'UIView' is unavailable in watchOS
122 | ///
123 | /// - returns: The view, or nil if it is not in the hierarchy.
124 | private func existingView<T: UIView>(_ accessibilityIdentifier: String, _ type: T.Type) throws -> T? {
| `- error: 'UIView' is unavailable in watchOS
125 | do {
126 | return try self.viewWithIdentifier(accessibilityIdentifier, ofType: type)
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:185:39: error: 'UIView' is unavailable in watchOS
183 | ///
184 | /// - returns: If the view is visible
185 | public func viewIsVisible(_ view: UIView, visibility: Visibility = .partial) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
186 | return view.isVisible(inWindow: self.window, visibility: visibility)
187 | }
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:262:40: error: 'UIView' is unavailable in watchOS
260 | ///
261 | /// - returns: If the view is hittable
262 | public func viewIsHittable(_ view: UIView, atPoint point: CGPoint? = nil) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
263 | guard self.isWindowReady else {
264 | return false
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:345:46: error: 'UIView' is unavailable in watchOS
343 | ///
344 | /// - returns: If the view is hittable
345 | public func windowHitPoint(forView view: UIView) throws -> CGPoint {
| `- error: 'UIView' is unavailable in watchOS
346 | try self.checkWindowIsReady()
347 |
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:481:41: error: 'UIView' is unavailable in watchOS
479 | ///
480 | /// - returns: The visible bounds in window coordinates
481 | private func visibleBounds(of view: UIView) -> CGRect {
| `- error: 'UIView' is unavailable in watchOS
482 | var bounds = self.window.bounds
483 | var currentView: UIView? = view
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:512:55: error: 'UIView' is unavailable in watchOS
510 | ///
511 | /// - returns: A possible hittable point
512 | private func internalWindowHitPoint(forView view: UIView) -> CGPoint {
| `- error: 'UIView' is unavailable in watchOS
513 | let viewBounds = view.convert(view.bounds, to: self.window)
514 | return self.window.bounds.intersection(viewBounds).center
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:89:76: error: 'UIView' is unavailable in watchOS
87 | timeout: TimeInterval) async throws -> UIView
88 | {
89 | try await self.viewWithIdentifier(accessibilityIdentifier, ofType: UIView.self, timeout: timeout)
| `- error: 'UIView' is unavailable in watchOS
90 | }
91 |
/Applications/Xcode-27.0.0.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/Hammer/Utilities/Subviews.swift:292:42: error: 'UIView' is unavailable in watchOS
290 |
291 | // Recursive
292 | func viewIsHittable(currentView: UIView) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
293 | guard currentView.isUserInteractionEnabled else {
294 | return false
/Applications/Xcode-27.0.0.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/Hammer/Utilities/MainRunLoop.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MainRunLoop.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/Subviews.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Subviews.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/SwiftErrorHooks.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftErrorHooks.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling CommandArguments.swift (in target 'hammer-product' from project 'Hammer')
SwiftCompile normal arm64_32 Compiling\ FingerIndex.swift,\ HandInfo.swift,\ SwipeDirection.swift,\ EventGenerator+Keyboard.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/FingerIndex.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/HandInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/SwipeDirection.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/EventGenerator+Keyboard.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/FingerIndex.swift:19:65: error: 'UIDevice' is unavailable in watchOS
17 |
18 | @MainActor
19 | static let defaultOrder = Array(FingerIndex.allCases.prefix(UIDevice.current.maxNumberOfFingers))
| `- error: 'UIDevice' is unavailable in watchOS
20 | }
21 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/FingerIndex.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FingerIndex.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/HandInfo.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HandInfo.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/SwipeDirection.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwipeDirection.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/EventGenerator+Keyboard.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Keyboard.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling MCPServer.swift (in target 'hammer-product' from project 'Hammer')
SwiftCompile normal arm64_32 Compiling\ EventGenerator+Keyboard+Synchronous.swift,\ EventGenerator+Stylus+Synchronous.swift,\ EventGenerator+Synchronous.swift,\ EventGenerator+Waiting+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Keyboard+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Stylus+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Synchronous.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Waiting+Synchronous.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Synchronous.swift:7:37: error: 'UIWindow' is unavailable in watchOS
5 | // code and the async versions in async code.
6 | extension EventGenerator {
7 | public convenience init(window: UIWindow) throws {
| `- error: 'UIWindow' is unavailable in watchOS
8 | self.init(host: .existing(window), mainView: window)
9 | try self.runSynchronously { try await self.waitUntilWindowIsReady() }
/Applications/Xcode-27.0.0.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/Hammer/Compatibility/EventGenerator+Synchronous.swift:12:45: error: 'UIViewController' is unavailable in watchOS
10 | }
11 |
12 | public convenience init(viewController: UIViewController) throws {
| `- error: 'UIViewController' is unavailable in watchOS
13 | self.init(host: EventGenerator.host(for: viewController), mainView: viewController.view)
14 | try self.runSynchronously { try await self.waitUntilWindowIsReady() }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Synchronous.swift:17:35: error: 'UIView' is unavailable in watchOS
15 | }
16 |
17 | public convenience init(view: UIView, alignment: WrappingAlignment = .center) throws {
| `- error: 'UIView' is unavailable in watchOS
18 | self.init(host: EventGenerator.host(for: view, alignment: alignment), mainView: view)
19 | try self.runSynchronously { try await self.waitUntilWindowIsReady() }
/Applications/Xcode-27.0.0.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/Hammer/Compatibility/EventGenerator+Synchronous.swift:42:69: error: 'UIView' is unavailable in watchOS
40 |
41 | public func viewWithIdentifier(_ accessibilityIdentifier: String,
42 | timeout: TimeInterval) throws -> UIView
| `- error: 'UIView' is unavailable in watchOS
43 | {
44 | try self.runSynchronously {
/Applications/Xcode-27.0.0.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/Hammer/Compatibility/EventGenerator+Synchronous.swift:49:39: error: 'UIView' is unavailable in watchOS
47 | }
48 |
49 | public func viewWithIdentifier<T: UIView>(_ accessibilityIdentifier: String, ofType type: T.Type,
| `- error: 'UIView' is unavailable in watchOS
50 | timeout: TimeInterval) throws -> T
51 | {
/Applications/Xcode-27.0.0.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/Hammer/Compatibility/EventGenerator+Waiting+Synchronous.swift:123:42: error: 'UIView' is unavailable in watchOS
121 | }
122 |
123 | public func waitUntilVisible(_ view: UIView, visibility: Visibility = .partial,
| `- error: 'UIView' is unavailable in watchOS
124 | timeout: TimeInterval? = nil) throws
125 | {
/Applications/Xcode-27.0.0.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/Hammer/Compatibility/EventGenerator+Keyboard+Synchronous.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Keyboard+Synchronous.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Stylus+Synchronous.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Stylus+Synchronous.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Synchronous.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Synchronous.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Waiting+Synchronous.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Waiting+Synchronous.swift
SwiftDriverJobDiscovery normal arm64 Compiling HammerCLI.swift (in target 'hammer-product' from project 'Hammer')
SwiftDriver\ Compilation hammer normal arm64 com.apple.xcode.tools.swift.compiler (in target 'hammer-product' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name HammerCLI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64/hammer.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos10.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.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.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-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64/hammer-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/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64/HammerCLI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64/HammerCLI-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/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64/hammer_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/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64_32 Compiling HammerCLI.swift (in target 'hammer-product' from project 'Hammer')
SwiftDriver\ Compilation hammer normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'hammer-product' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name HammerCLI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64_32/hammer.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos10.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.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.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-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64_32/hammer-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/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64_32/HammerCLI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64_32/HammerCLI-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/Hammer.build/Debug-watchos/hammer-p.build/Objects-normal/arm64_32/hammer_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/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/hammer-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ DebugVisualizerWindow.swift,\ AccessibilityQuery.swift,\ ElementSnapshot.swift,\ EventGenerator+Hand.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/DebugWindow/DebugVisualizerWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/AccessibilityQuery.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/ElementSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/EventGenerator+Hand.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/DebugWindow/DebugVisualizerWindow.swift:4:28: error: 'UIWindow' is unavailable in watchOS
2 | import UIKit
3 |
4 | private let kWindowLevel = UIWindow.Level(rawValue: UIWindow.Level.alert.rawValue + 100)
| `- error: 'UIWindow' is unavailable in watchOS
5 |
6 | private let kStylusColor = UIColor(hue: 0.800, saturation: 1, brightness: 0.8, alpha: 1)
/Applications/Xcode-27.0.0.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/Hammer/DebugWindow/DebugVisualizerWindow.swift:4:53: error: 'UIWindow' is unavailable in watchOS
2 | import UIKit
3 |
4 | private let kWindowLevel = UIWindow.Level(rawValue: UIWindow.Level.alert.rawValue + 100)
| `- error: 'UIWindow' is unavailable in watchOS
5 |
6 | private let kStylusColor = UIColor(hue: 0.800, saturation: 1, brightness: 0.8, alpha: 1)
/Applications/Xcode-27.0.0.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/Hammer/DebugWindow/DebugVisualizerWindow.swift:4:68: error: 'alert' is unavailable in watchOS
2 | import UIKit
3 |
4 | private let kWindowLevel = UIWindow.Level(rawValue: UIWindow.Level.alert.rawValue + 100)
| `- error: 'alert' is unavailable in watchOS
5 |
6 | private let kStylusColor = UIColor(hue: 0.800, saturation: 1, brightness: 0.8, alpha: 1)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:107:34: note: 'alert' has been explicitly marked unavailable here
105 |
106 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelNormal API_UNAVAILABLE(watchos);
107 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelAlert API_UNAVAILABLE(watchos);
| `- note: 'alert' has been explicitly marked unavailable here
108 | UIKIT_EXTERN const UIWindowLevel UIWindowLevelStatusBar API_UNAVAILABLE(tvos, watchos);
109 |
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/FingerIndex.swift:19:65: error: 'UIDevice' is unavailable in watchOS
17 |
18 | @MainActor
19 | static let defaultOrder = Array(FingerIndex.allCases.prefix(UIDevice.current.maxNumberOfFingers))
| `- error: 'UIDevice' is unavailable in watchOS
20 | }
21 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/DebugWindow/DebugVisualizerWindow.swift:20:36: error: 'UIWindow' is unavailable in watchOS
18 | ]
19 |
20 | final class DebugVisualizerWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
21 | private let stylusView = TouchView.initializeForStylus()
22 | private let fingerViews = Dictionary(uniqueKeysWithValues: FingerIndex.defaultOrder.map { index in
/Applications/Xcode-27.0.0.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/Hammer/DebugWindow/DebugVisualizerWindow.swift:64:25: error: 'UILabel' is unavailable in watchOS
62 | private static let viewSize: CGFloat = 20
63 |
64 | private let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
65 |
66 | private init(text: String, color: UIColor) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/DebugWindow/DebugVisualizerWindow.swift:64:25: error: 'init()' is unavailable in watchOS
62 | private static let viewSize: CGFloat = 20
63 |
64 | private let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
65 |
66 | private init(text: String, color: UIColor) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/DebugWindow/DebugVisualizerWindow.swift:61:32: error: 'UIView' is unavailable in watchOS
59 | }
60 |
61 | private final class TouchView: UIView {
| `- error: 'UIView' is unavailable in watchOS
62 | private static let viewSize: CGFloat = 20
63 |
/Applications/Xcode-27.0.0.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/Hammer/DebugWindow/DebugVisualizerWindow.swift:31:15: error: 'init(frame:)' is unavailable in watchOS
29 |
30 | init() {
31 | super.init(frame: .zero)
| `- error: 'init(frame:)' is unavailable in watchOS
32 |
33 | self.windowLevel = kWindowLevel
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:27:1: note: 'init(frame:)' has been explicitly marked unavailable here
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(frame:)' has been explicitly marked unavailable here
28 | - (instancetype)init API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
29 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/DebugWindow/DebugVisualizerWindow.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DebugVisualizerWindow.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/AccessibilityQuery.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AccessibilityQuery.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/ElementSnapshot.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ElementSnapshot.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/EventGenerator+Hand.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Hand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/DebugWindow/DebugVisualizerWindow.swift:36:14: error: 'isAccessibilityElement' is unavailable in watchOS
34 | self.backgroundColor = .clear
35 | self.isUserInteractionEnabled = false
36 | self.isAccessibilityElement = false
| `- error: 'isAccessibilityElement' is unavailable in watchOS
37 | self.isHidden = false
38 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
50 | Setting the property to YES will cause the receiver to be visible to assistive applications.
51 | */
52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
53 |
54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/DebugWindow/DebugVisualizerWindow.swift:40:12: error: 'UIDevice' is unavailable in watchOS
38 |
39 | self.fingerViews.values.forEach(self.addSubview(_:))
40 | if UIDevice.current.supportsStylus {
| `- error: 'UIDevice' is unavailable in watchOS
41 | self.addSubview(self.stylusView)
42 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
SwiftCompile normal arm64_32 Compiling\ FrameTracker.swift,\ HammerError.swift,\ HammerWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/FrameTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerError.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift (in target 'Hammer' from project 'Hammer')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/FrameTracker.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FrameTracker.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerError.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HammerError.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HammerWindow.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-10-31 17:46:09.168 xcodebuild[857:4881] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'Hammer' from project 'Hammer')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Hammer (in target 'Hammer' from project 'Hammer')
SwiftEmitModule normal arm64 Emitting\ module\ for\ Hammer (in target 'Hammer' from project 'Hammer')
SwiftCompile normal arm64 (in target 'Hammer' from project 'Hammer')
Building workspace Hammer with scheme Hammer-Package
(5 failures)
BUILD FAILURE 6.4 watchOS