Build Information
Failed to build Hammer, reference 2.3.2 (51f95a), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Nov 2026 21:02:36 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
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/EventGenerator/EventGenerator.swift:233:50: error: 'UIApplication' is unavailable in watchOS
231 | }
232 |
233 | guard let app = UIApplication.shared as? UIApplication & UIApplicationPrivate else {
| `- error: 'UIApplication' is unavailable in watchOS
234 | throw HammerError.unableToAccessPrivateApi(type: "UIApplication", method: "Protocol")
235 | }
/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/EventGenerator/EventGenerator.swift:233:25: error: 'UIApplication' is unavailable in watchOS
231 | }
232 |
233 | guard let app = UIApplication.shared as? UIApplication & UIApplicationPrivate else {
| `- error: 'UIApplication' is unavailable in watchOS
234 | throw HammerError.unableToAccessPrivateApi(type: "UIApplication", method: "Protocol")
235 | }
/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/EventGenerator/EventGenerator+Stylus/EventGenerator+Stylus.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Stylus.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Stylus/StylusInfo.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StylusInfo.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+SwiftUI.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+SwiftUI.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator.swift
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.
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
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')
/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/FrameTracker.swift:28:9: error: 'CACurrentMediaTime()' is unavailable in watchOS
26 | /// not scheduled, such as on an overloaded machine, so timeouts measure the app and not the machine.
27 | var appTime: CFTimeInterval {
28 | CACurrentMediaTime() - self.completedStallsTime - self.currentStallTime
| `- error: 'CACurrentMediaTime()' is unavailable in watchOS
29 | }
30 |
/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/FrameTracker.swift:33:28: error: 'CADisplayLink' is unavailable in watchOS
31 | private init() {
32 | self.lastFrameCPUTime = self.mainThreadCPUTime()
33 | self.displayLink = CADisplayLink(target: self, selector: #selector(displayLinkCallback))
| `- error: 'CADisplayLink' is unavailable in watchOS
34 | self.displayLink?.add(to: .main, forMode: .common)
35 | }
/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:49:19: error: 'CACurrentMediaTime()' is unavailable in watchOS
47 | /// that app time stays continuous.
48 | private var currentStallTime: CFTimeInterval {
49 | let gap = CACurrentMediaTime() - self.lastFrameTime - FrameTracker.stallThreshold
| `- error: 'CACurrentMediaTime()' is unavailable in watchOS
50 | guard gap > 0 else {
51 | return 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/FrameTracker.swift:79:30: error: 'CACurrentMediaTime()' is unavailable in watchOS
77 | private func displayLinkCallback() {
78 | self.completedStallsTime += self.currentStallTime
79 | self.lastFrameTime = CACurrentMediaTime()
| `- error: 'CACurrentMediaTime()' is unavailable in watchOS
80 | self.lastFrameCPUTime = self.mainThreadCPUTime()
81 | self.frameCount += 1
/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/FrameTracker.swift:82:48: error: 'targetTimestamp' is unavailable in watchOS
80 | self.lastFrameCPUTime = self.mainThreadCPUTime()
81 | self.frameCount += 1
82 | self.nextFrameTime = self.displayLink?.targetTimestamp ?? 0
| `- error: 'targetTimestamp' is unavailable in watchOS
83 |
84 | // Listeners added by a listener wait for the following frame
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h:64:47: note: 'targetTimestamp' has been explicitly marked unavailable here
62 | /* The next timestamp that the client should target their render for. */
63 |
64 | @property(readonly, nonatomic) CFTimeInterval targetTimestamp
| `- note: 'targetTimestamp' has been explicitly marked unavailable here
65 | API_AVAILABLE(ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos);
66 |
/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/HammerWindow.swift:16:15: error: 'init(frame:)' is unavailable in watchOS
14 |
15 | init() {
16 | super.init(frame: UIScreen.main.bounds)
| `- error: 'init(frame:)' is unavailable in watchOS
17 | self.rootViewController = self.hammerViewController
18 |
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:16:27: error: 'UIScreen' is unavailable in watchOS
14 |
15 | init() {
16 | super.init(frame: UIScreen.main.bounds)
| `- error: 'UIScreen' is unavailable in watchOS
17 | self.rootViewController = self.hammerViewController
18 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:16:36: error: 'main' is unavailable in watchOS
14 |
15 | init() {
16 | super.init(frame: UIScreen.main.bounds)
| `- error: 'main' is unavailable in watchOS
17 | self.rootViewController = self.hammerViewController
18 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:19:33: error: 'systemBackground' is unavailable in watchOS
17 | self.rootViewController = self.hammerViewController
18 |
19 | self.backgroundColor = .systemBackground
| `- error: 'systemBackground' 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/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:54:9: error: 'NSLayoutConstraint' is unavailable in watchOS
52 |
53 | // We only activate the top and leading constraints to allow the content to size itself.
54 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
55 | self.containerView.topAnchor.constraint(equalTo: self.view.topAnchor),
56 | self.containerView.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/HammerWindow.swift:73:9: error: 'NSLayoutConstraint' is unavailable in watchOS
71 | viewController.view.translatesAutoresizingMaskIntoConstraints = false
72 | self.containerView.addSubview(viewController.view)
73 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
74 | viewController.view.topAnchor.constraint(equalTo: self.containerView.topAnchor),
75 | viewController.view.bottomAnchor.constraint(equalTo: self.containerView.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/HammerWindow.swift:103:20: error: 'windowScene' is unavailable in watchOS
101 |
102 | func addToMainSceneIfNeeded(file: StaticString = #fileID, line: UInt = #line) {
103 | guard self.windowScene == nil else {
| `- error: 'windowScene' is unavailable in watchOS
104 | return
105 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:107:28: error: 'UIScene' is unavailable in watchOS
105 | }
106 |
107 | if let mainScene = UIScene.mainOrFirstConnectedScene {
| `- error: 'UIScene' is unavailable in watchOS
108 | self.windowScene = mainScene
109 | } else {
/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/HammerWindow.swift:108:18: error: 'windowScene' is unavailable in watchOS
106 |
107 | if let mainScene = UIScene.mainOrFirstConnectedScene {
108 | self.windowScene = mainScene
| `- error: 'windowScene' is unavailable in watchOS
109 | } else {
110 | assertionFailure("Unable to find main scene", 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:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:116:14: error: 'windowScene' is unavailable in watchOS
114 | func removeFromScene(removeViewController: Bool = true) {
115 | self.isHidden = true
116 | self.windowScene = nil
| `- error: 'windowScene' is unavailable in watchOS
117 |
118 | if removeViewController {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:126:22: error: 'UIApplication' is unavailable in watchOS
124 | private extension UIScene {
125 | static var mainOrFirstConnectedScene: UIWindowScene? {
126 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
| `- error: 'UIApplication' is unavailable in watchOS
127 | return scenes.first { $0.screen == UIScreen.main } ?? scenes.first
128 | }
/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/Utilities/HammerWindow.swift:126:43: error: 'connectedScenes' is unavailable in watchOS
124 | private extension UIScene {
125 | static var mainOrFirstConnectedScene: UIWindowScene? {
126 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
| `- error: 'connectedScenes' is unavailable in watchOS
127 | return scenes.first { $0.screen == UIScreen.main } ?? scenes.first
128 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:189:50: note: 'connectedScenes' has been explicitly marked unavailable here
187 | #pragma mark -- UIScene --
188 | // All of the currently connected UIScene instances
189 | @property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'connectedScenes' has been explicitly marked unavailable here
190 |
191 | // All of the representations that currently have connected UIScene instances or had their sessions persisted by the system (ex: visible in iOS' switcher)
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilities/HammerWindow.swift:126:79: error: 'UIWindowScene' is unavailable in watchOS
124 | private extension UIScene {
125 | static var mainOrFirstConnectedScene: UIWindowScene? {
126 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
| `- error: 'UIWindowScene' is unavailable in watchOS
127 | return scenes.first { $0.screen == UIScreen.main } ?? scenes.first
128 | }
/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:127:44: error: 'UIScreen' is unavailable in watchOS
125 | static var mainOrFirstConnectedScene: UIWindowScene? {
126 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
127 | return scenes.first { $0.screen == UIScreen.main } ?? scenes.first
| `- error: 'UIScreen' is unavailable in watchOS
128 | }
129 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
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
SwiftEmitModule normal arm64 Emitting\ module\ for\ Hammer (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/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.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Compatibility/EventGenerator+Waiting+Synchronous.swift:153:43: error: 'UIView' is unavailable in watchOS
151 | }
152 |
153 | public func waitUntilHittable(_ view: UIView, timeout: TimeInterval? = nil) throws {
| `- error: 'UIView' is unavailable in watchOS
154 | try self.runSynchronously { try await self.waitUntilHittable(view, timeout: timeout) }
155 | }
/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: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/EventGenerator/EventGenerator+Hand/EventGenerator+Hand.swift:600:35: error: 'UIEvent' is unavailable in watchOS
598 | ///
599 | /// - parameter event: The event UIKit is about to dispatch.
600 | func eventDispatched(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
601 | guard event.type == .touches else {
602 | return
/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/EventGenerator/EventGenerator+Hand/HandInfo.swift:22:16: error: 'UITouch' is unavailable in watchOS
20 | let fingerIndex: FingerIndex
21 | let location: CGPoint
22 | let phase: UITouch.Phase
| `- error: 'UITouch' is unavailable in watchOS
23 |
24 | let pressure: CGFloat
/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/EventGenerator/EventGenerator+Readiness.swift:250:11: error: 'UIScene' is unavailable in watchOS
248 | }
249 |
250 | extension UIScene.ActivationState {
| `- error: 'UIScene' is unavailable in watchOS
251 | fileprivate var name: String {
252 | switch self {
/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/EventGenerator/EventGenerator+Readiness.swift:273:1: error: type 'UIApplication' does not conform to protocol 'UIApplicationDeprecated'
271 | }
272 |
273 | extension UIApplication: UIApplicationDeprecated {}
| `- error: type 'UIApplication' does not conform to protocol 'UIApplicationDeprecated'
274 |
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Readiness.swift:273:1: error: unavailable property 'isIgnoringInteractionEvents' was used to satisfy a requirement of protocol 'UIApplicationDeprecated'
268 | @MainActor
269 | private protocol UIApplicationDeprecated {
270 | var isIgnoringInteractionEvents: Bool { get }
| `- note: requirement 'isIgnoringInteractionEvents' declared here
271 | }
272 |
273 | extension UIApplication: UIApplicationDeprecated {}
| `- error: unavailable property 'isIgnoringInteractionEvents' was used to satisfy a requirement of protocol 'UIApplicationDeprecated'
274 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:93:73: note: 'isIgnoringInteractionEvents' declared here
91 | - (void)beginIgnoringInteractionEvents API_DEPRECATED("Use UIView's userInteractionEnabled property instead", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos); // nested. set should be set during animations & transitions to ignore touch and other events
92 | - (void)endIgnoringInteractionEvents API_DEPRECATED("Use UIView's userInteractionEnabled property instead", ios(2.0, 13.0)) API_UNAVAILABLE(watchos);
93 | @property(nonatomic, readonly, getter=isIgnoringInteractionEvents) BOOL ignoringInteractionEvents API_DEPRECATED("Use UIView's userInteractionEnabled property instead", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos); // returns YES if we are at least one deep in ignoring events
| `- note: 'isIgnoringInteractionEvents' declared here
94 |
95 | @property(nonatomic,getter=isIdleTimerDisabled) BOOL idleTimerDisabled; // default is NO
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Readiness.swift:273:11: error: 'UIApplication' is unavailable in watchOS
271 | }
272 |
273 | extension UIApplication: UIApplicationDeprecated {}
| `- error: 'UIApplication' is unavailable in watchOS
274 |
/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/EventGenerator/EventGenerator+Stylus/StylusInfo.swift:6:16: error: 'UITouch' is unavailable in watchOS
4 | struct StylusInfo {
5 | let location: CGPoint
6 | let phase: UITouch.Phase
| `- error: 'UITouch' is unavailable in watchOS
7 |
8 | let pressure: CGFloat
/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/EventGenerator/EventGenerator+SwiftUI.swift:23:59: error: 'UIViewController' is unavailable in watchOS
21 | ///
22 | /// - returns: The hosting controller.
23 | static func hostingController(for view: some View) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
24 | let hostingController = UIHostingController(rootView: view)
25 | hostingController.sizingOptions = .intrinsicContentSize
/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/EventGenerator+SwiftUI.swift:35:42: error: 'UIViewController' is unavailable in watchOS
33 | ///
34 | /// - returns: The window to send events to.
35 | static func host(for viewController: UIViewController, alignment: WrappingAlignment) -> Host {
| `- error: 'UIViewController' is unavailable in watchOS
36 | let window = HammerWindow()
37 | window.presentContained(UIViewController(wrapping: viewController, 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/EventGenerator/EventGenerator.swift:30:23: error: 'UIWindow' is unavailable in watchOS
28 | enum Host {
29 | /// A window the caller owns, such as the app's key window.
30 | case existing(UIWindow)
| `- error: 'UIWindow' is unavailable in watchOS
31 |
32 | /// A window the event generator presented the view in, dismissed when it finishes.
/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/EventGenerator/EventGenerator.swift:35:21: error: 'UIWindow' is unavailable in watchOS
33 | case presented(HammerWindow)
34 |
35 | var window: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
36 | switch self {
37 | case .existing(let window):
/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/EventGenerator/EventGenerator.swift:46:24: error: 'UIWindow' is unavailable in watchOS
44 |
45 | /// The window for the events
46 | public let window: UIWindow
| `- error: 'UIWindow' is unavailable in watchOS
47 |
48 | /// The view that was used to create the event generator
/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/EventGenerator/EventGenerator.swift:49:26: error: 'UIView' is unavailable in watchOS
47 |
48 | /// The view that was used to create the event generator
49 | public let mainView: UIView
| `- error: 'UIView' is unavailable in watchOS
50 |
51 | /// The settings for this event generator, starting from `EventGenerator.settings`.
/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/EventGenerator.swift:63:34: error: 'UITouch' is unavailable in watchOS
61 |
62 | /// The touches UIKit began delivering to the window since the last event was sent.
63 | var deliveredBeganTouches = [UITouch]()
| `- error: 'UITouch' is unavailable in watchOS
64 |
65 | /// The default sender id for all events.
/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/EventGenerator/EventGenerator.swift:80:32: error: 'UIView' is unavailable in watchOS
78 | /// - parameter host: The window to receive events, and who owns it.
79 | /// - parameter mainView: The view that was used to create the event generator
80 | init(host: Host, mainView: UIView) {
| `- error: 'UIView' is unavailable in watchOS
81 | self.host = host
82 | self.window = host.window
/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/EventGenerator.swift:99:37: error: 'UIWindow' is unavailable in watchOS
97 | ///
98 | /// - parameter window: The window to receive events.
99 | public convenience init(window: UIWindow) async throws {
| `- error: 'UIWindow' is unavailable in watchOS
100 | try await self.init(window: window, settings: EventGenerator.settings)
101 | }
/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/EventGenerator/EventGenerator.swift:107:37: error: 'UIWindow' is unavailable in watchOS
105 | /// - parameter window: The window to receive events.
106 | /// - parameter settings: The settings to use, including while waiting for the window to be ready.
107 | public convenience init(window: UIWindow, settings: Settings) async throws {
| `- error: 'UIWindow' is unavailable in watchOS
108 | self.init(host: .existing(window), mainView: window)
109 | self.settings = settings
/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/EventGenerator/EventGenerator.swift:119:45: error: 'UIViewController' is unavailable in watchOS
117 | ///
118 | /// - parameter viewController: The viewController to receive events.
119 | public convenience init(viewController: UIViewController) async throws {
| `- error: 'UIViewController' is unavailable in watchOS
120 | self.init(host: EventGenerator.host(for: viewController), mainView: viewController.view)
121 | 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/EventGenerator/EventGenerator.swift:130:35: error: 'UIView' is unavailable in watchOS
128 | /// - parameter view: The view to receive events.
129 | /// - parameter alignment: The wrapping alignment to use.
130 | public convenience init(view: UIView, alignment: WrappingAlignment = .center) async throws {
| `- error: 'UIView' is unavailable in watchOS
131 | self.init(host: EventGenerator.host(for: view, alignment: alignment), mainView: view)
132 | 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/EventGenerator/EventGenerator.swift:140:42: error: 'UIViewController' is unavailable in watchOS
138 | ///
139 | /// - returns: The window to send events to.
140 | static func host(for viewController: UIViewController) -> Host {
| `- error: 'UIViewController' is unavailable in watchOS
141 | if let window = viewController.view.window {
142 | return .existing(window)
/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/EventGenerator.swift:156:32: error: 'UIView' is unavailable in watchOS
154 | ///
155 | /// - returns: The window to send events to.
156 | static func host(for view: UIView, alignment: WrappingAlignment) -> Host {
| `- error: 'UIView' is unavailable in watchOS
157 | if let window = view.window {
158 | return .existing(window)
/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: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/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.
SwiftCompile normal arm64 (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 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 /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 /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 /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
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/zlib-3IEL10YUTB1NZA51QRJZN4FU4.pcm
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-11-22 16:02:34.384 xcodebuild[848:5003] [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')
Building workspace Hammer with scheme Hammer-Package
(3 failures)
BUILD FAILURE 6.4 watchOS