Build Information
Failed to build Hammer, reference main (90af16), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Sep 2026 12:47:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Hammer -destination generic/platform=watchOSBuild Log
SwiftDriver Hammer normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name Hammer -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Hammer (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:28:27: error: 'UIApplication' is unavailable in watchOS
26 |
27 | private static let runOnce: () = {
28 | class_addProtocol(UIApplication.self, UIApplicationPrivate.self)
| `- error: 'UIApplication' is unavailable in watchOS
29 | class_addProtocol(UIWindow.self, UIWindowPrivate.self)
30 |
/Applications/Xcode-27.0.0-Release.Candidate.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:29:27: error: 'UIWindow' is unavailable in watchOS
27 | private static let runOnce: () = {
28 | class_addProtocol(UIApplication.self, UIApplicationPrivate.self)
29 | class_addProtocol(UIWindow.self, UIWindowPrivate.self)
| `- error: 'UIWindow' is unavailable in watchOS
30 |
31 | let originalMethod = class_getInstanceMethod(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:32:13: error: 'UIApplication' is unavailable in watchOS
30 |
31 | let originalMethod = class_getInstanceMethod(
32 | UIApplication.self, NSSelectorFromString("_handleHIDEvent:"))
| `- error: 'UIApplication' is unavailable in watchOS
33 | let swizzledMethod = class_getInstanceMethod(
34 | UIApplication.self, #selector(UIApplication.swizzledHandleHIDEvent(_:)))
/Applications/Xcode-27.0.0-Release.Candidate.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:34:13: error: 'UIApplication' is unavailable in watchOS
32 | UIApplication.self, NSSelectorFromString("_handleHIDEvent:"))
33 | let swizzledMethod = class_getInstanceMethod(
34 | UIApplication.self, #selector(UIApplication.swizzledHandleHIDEvent(_:)))
| `- error: 'UIApplication' is unavailable in watchOS
35 | if let originalMethod = originalMethod, let swizzledMethod = swizzledMethod {
36 | method_exchangeImplementations(originalMethod, swizzledMethod)
/Applications/Xcode-27.0.0-Release.Candidate.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:34:43: error: 'UIApplication' is unavailable in watchOS
32 | UIApplication.self, NSSelectorFromString("_handleHIDEvent:"))
33 | let swizzledMethod = class_getInstanceMethod(
34 | UIApplication.self, #selector(UIApplication.swizzledHandleHIDEvent(_:)))
| `- error: 'UIApplication' is unavailable in watchOS
35 | if let originalMethod = originalMethod, let swizzledMethod = swizzledMethod {
36 | method_exchangeImplementations(originalMethod, swizzledMethod)
/Applications/Xcode-27.0.0-Release.Candidate.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 = (_ event: IOHIDEvent) -> Void
16 |
/Applications/Xcode-27.0.0-Release.Candidate.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/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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/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-Release.Candidate.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:18:65: error: 'UIDevice' is unavailable in watchOS
16 | public static let automatic: FingerIndex? = nil
17 |
18 | static let defaultOrder = Array(FingerIndex.allCases.prefix(UIDevice.current.maxNumberOfFingers))
| `- error: 'UIDevice' is unavailable in watchOS
19 | }
20 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/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-Release.Candidate.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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/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-Release.Candidate.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+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-Release.Candidate.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:22:24: error: 'UIWindow' is unavailable in watchOS
20 |
21 | /// The window for the events
22 | public let window: UIWindow
| `- error: 'UIWindow' is unavailable in watchOS
23 |
24 | /// The view that was used to create the event generator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:25:26: error: 'UIView' is unavailable in watchOS
23 |
24 | /// The view that was used to create the event generator
25 | public let mainView: UIView
| `- error: 'UIView' is unavailable in watchOS
26 |
27 | var activeTouches = TouchStorage()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:46:26: error: 'UIWindow' is unavailable in watchOS
44 | /// - parameter window: The window to receive events.
45 | /// - parameter mainView: The view that was used to create the event generator
46 | private init(window: UIWindow, mainView: UIView) throws {
| `- error: 'UIWindow' is unavailable in watchOS
47 | self.window = window
48 | self.mainView = mainView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:46:46: error: 'UIView' is unavailable in watchOS
44 | /// - parameter window: The window to receive events.
45 | /// - parameter mainView: The view that was used to create the event generator
46 | private init(window: UIWindow, mainView: UIView) throws {
| `- error: 'UIView' is unavailable in watchOS
47 | self.window = window
48 | self.mainView = mainView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:61:37: error: 'UIWindow' is unavailable in watchOS
59 | ///
60 | /// - parameter window: The window to receive events.
61 | public convenience init(window: UIWindow) throws {
| `- error: 'UIWindow' is unavailable in watchOS
62 | try self.init(window: window, mainView: window)
63 | try self.waitUntilWindowIsReady()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:72:45: error: 'UIViewController' is unavailable in watchOS
70 | ///
71 | /// - parameter viewController: The viewController to receive events.
72 | public convenience init(viewController: UIViewController) throws {
| `- error: 'UIViewController' is unavailable in watchOS
73 | if let window = viewController.view.window {
74 | try self.init(window: window, mainView: viewController.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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:90:35: error: 'UIView' is unavailable in watchOS
88 | /// - parameter view: The view to receive events.
89 | /// - parameter alignment: The wrapping alignment to use.
90 | public convenience init(view: UIView, alignment: WrappingAlignment = .center) throws {
| `- error: 'UIView' is unavailable in watchOS
91 | if let window = view.window {
92 | try self.init(window: window, mainView: view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:274:1: error: type 'UIApplication' does not conform to protocol 'UIApplicationDeprecated'
272 | }
273 |
274 | extension UIApplication: UIApplicationDeprecated {}
| `- error: type 'UIApplication' does not conform to protocol 'UIApplicationDeprecated'
275 |
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:274:1: error: unavailable property 'isIgnoringInteractionEvents' was used to satisfy a requirement of protocol 'UIApplicationDeprecated'
269 | // Bypasses deprecation warning for `isIgnoringInteractionEvents`
270 | private protocol UIApplicationDeprecated {
271 | var isIgnoringInteractionEvents: Bool { get }
| `- note: requirement 'isIgnoringInteractionEvents' declared here
272 | }
273 |
274 | extension UIApplication: UIApplicationDeprecated {}
| `- error: unavailable property 'isIgnoringInteractionEvents' was used to satisfy a requirement of protocol 'UIApplicationDeprecated'
275 |
/Applications/Xcode-27.0.0-Release.Candidate.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.swift:274:11: error: 'UIApplication' is unavailable in watchOS
272 | }
273 |
274 | extension UIApplication: UIApplicationDeprecated {}
| `- error: 'UIApplication' is unavailable in watchOS
275 |
/Applications/Xcode-27.0.0-Release.Candidate.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/HammerLocatable.swift:19:11: error: 'UIView' is unavailable in watchOS
17 | }
18 |
19 | extension UIView: HammerLocatable {
| `- error: 'UIView' is unavailable in watchOS
20 | public func windowHitPoint(for eventGenerator: EventGenerator) throws -> CGPoint {
21 | return try eventGenerator.windowHitPoint(forView: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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:25:11: error: 'UIViewController' is unavailable in watchOS
23 | }
24 |
25 | extension UIViewController: HammerLocatable {
| `- error: 'UIViewController' is unavailable in watchOS
26 | public func windowHitPoint(for eventGenerator: EventGenerator) throws -> CGPoint {
27 | return try self.view.windowHitPoint(for: eventGenerator)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift:64:22: error: 'UIView' is unavailable in watchOS
62 | /// Creates a relative location for a view.
63 | public struct RelativeLocation: HammerLocatable {
64 | public let view: UIView?
| `- error: 'UIView' is unavailable in watchOS
65 | public let x: CGFloat
66 | public let y: CGFloat
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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:77:32: error: 'UIView' is unavailable in watchOS
75 | /// - parameter x: The relative x value.
76 | /// - parameter y: The relative y value.
77 | public init(location view: UIView? = nil, x: CGFloat, y: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
78 | self.view = view
79 | self.x = x
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/FrameTracker.swift:7:30: error: 'CADisplayLink' is unavailable in watchOS
5 | static let shared = FrameTracker()
6 |
7 | private var displayLink: CADisplayLink?
| `- error: 'CADisplayLink' is unavailable in watchOS
8 | private var listeners: [() -> Void] = []
9 |
/Applications/Xcode-27.0.0-Release.Candidate.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/Utilties/HammerError.swift:21:32: error: 'UITouch' is unavailable in watchOS
19 | case unknownKeyForCharacter(Character)
20 |
21 | case unsupportedTouchPhase(UITouch.Phase)
| `- error: 'UITouch' is unavailable in watchOS
22 |
23 | case unableToAccessPrivateApi(type: String, method: String)
/Applications/Xcode-27.0.0-Release.Candidate.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/Utilties/HammerError.swift:25:31: error: 'UIView' is unavailable in watchOS
23 | case unableToAccessPrivateApi(type: String, method: String)
24 |
25 | case viewIsNotInHierarchy(UIView)
| `- error: 'UIView' is unavailable in watchOS
26 | case viewIsNotVisible(UIView)
27 | case viewIsNotHittable(UIView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Utilties/HammerError.swift:26:27: error: 'UIView' is unavailable in watchOS
24 |
25 | case viewIsNotInHierarchy(UIView)
26 | case viewIsNotVisible(UIView)
| `- error: 'UIView' is unavailable in watchOS
27 | case viewIsNotHittable(UIView)
28 | case pointIsNotHittable(CGPoint)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerError.swift:27:28: error: 'UIView' is unavailable in watchOS
25 | case viewIsNotInHierarchy(UIView)
26 | case viewIsNotVisible(UIView)
27 | case viewIsNotHittable(UIView)
| `- error: 'UIView' is unavailable in watchOS
28 | case pointIsNotHittable(CGPoint)
29 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerError.swift:96:11: error: 'UIView' is unavailable in watchOS
94 | }
95 |
96 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
97 | fileprivate var shortDescription: String {
98 | return self.accessibilityIdentifier ?? self.description
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/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-Release.Candidate.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/Utilties/HammerWindow.swift:31:45: error: 'UIViewController' is unavailable in watchOS
29 | }
30 |
31 | func presentContained(_ viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
32 | self.makeVisibleAndKey()
33 | self.hammerViewController.presentContained(viewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:43:33: error: 'UIView' is unavailable in watchOS
41 |
42 | private final class HammerViewController: UIViewController {
43 | private let containerView = UIView()
| `- error: 'UIView' is unavailable in watchOS
44 |
45 | override var shouldAutomaticallyForwardAppearanceMethods: Bool { false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:43:33: error: 'init()' is unavailable in watchOS
41 |
42 | private final class HammerViewController: UIViewController {
43 | private let containerView = UIView()
| `- error: 'init()' is unavailable in watchOS
44 |
45 | override var shouldAutomaticallyForwardAppearanceMethods: Bool { false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/Utilties/HammerWindow.swift:75:45: error: 'UIViewController' is unavailable in watchOS
73 | }
74 |
75 | func presentContained(_ viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
76 | viewController.beginAppearanceTransition(true, animated: false)
77 | self.addChild(viewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:42:43: error: 'UIViewController' is unavailable in watchOS
40 | }
41 |
42 | private final class HammerViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
43 | private let containerView = UIView()
44 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:104:11: error: 'UIWindow' is unavailable in watchOS
102 | }
103 |
104 | extension UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
105 | func makeVisibleAndKey(file: StaticString = #file, line: UInt = #line) {
106 | self.addToMainSceneIfNeeded(file: file, line: line)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:141:43: error: 'UIWindowScene' is unavailable in watchOS
139 | @available(iOS 13.0, *)
140 | private extension UIScene {
141 | static var mainOrFirstConnectedScene: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
142 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
143 | return scenes.first { $0.screen == UIScreen.main } ?? scenes.first
/Applications/Xcode-27.0.0-Release.Candidate.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/Utilties/HammerWindow.swift:140:19: error: 'UIScene' is unavailable in watchOS
138 |
139 | @available(iOS 13.0, *)
140 | private extension UIScene {
| `- error: 'UIScene' is unavailable in watchOS
141 | static var mainOrFirstConnectedScene: UIWindowScene? {
142 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.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/Utilties/Subviews.swift:26:81: error: 'UIView' is unavailable in watchOS
24 | ///
25 | /// - returns: The view.
26 | public func viewWithIdentifier(_ accessibilityIdentifier: String) throws -> UIView {
| `- error: 'UIView' is unavailable in watchOS
27 | var queue: [UIView] = [self.window]
28 | while !queue.isEmpty {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/Subviews.swift:54:39: error: 'UIView' is unavailable in watchOS
52 | ///
53 | /// - returns: The view.
54 | public func viewWithIdentifier<T: UIView>(_ accessibilityIdentifier: String,
| `- error: 'UIView' is unavailable in watchOS
55 | ofType type: T.Type) throws -> T
56 | {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/Subviews.swift:81:81: error: 'UIView' is unavailable in watchOS
79 | public func viewWithIdentifier(_ accessibilityIdentifier: String,
80 | timeout: TimeInterval,
81 | checkInterval: TimeInterval = 0.1) throws -> UIView
| `- error: 'UIView' is unavailable in watchOS
82 | {
83 | do {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/Subviews.swift:113:39: error: 'UIView' is unavailable in watchOS
111 | ///
112 | /// - returns: The view.
113 | public func viewWithIdentifier<T: UIView>(_ accessibilityIdentifier: String, ofType type: T.Type,
| `- error: 'UIView' is unavailable in watchOS
114 | timeout: TimeInterval,
115 | checkInterval: TimeInterval = 0.1) throws -> T
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/Subviews.swift:156:39: error: 'UIView' is unavailable in watchOS
154 | ///
155 | /// - returns: If the view is visible
156 | public func viewIsVisible(_ view: UIView, visibility: Visibility = .partial) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
157 | return view.isVisible(inWindow: self.window, visibility: visibility)
158 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/Subviews.swift:203:40: error: 'UIView' is unavailable in watchOS
201 | ///
202 | /// - returns: If the view is hittable
203 | public func viewIsHittable(_ view: UIView, atPoint point: CGPoint? = nil) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
204 | guard self.isWindowReady else {
205 | return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/Subviews.swift:284:46: error: 'UIView' is unavailable in watchOS
282 | ///
283 | /// - returns: If the view is hittable
284 | public func windowHitPoint(forView view: UIView) throws -> CGPoint {
| `- error: 'UIView' is unavailable in watchOS
285 | guard view.isDescendant(of: self.window) else {
286 | throw HammerError.viewIsNotInHierarchy(view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/Subviews.swift:309:55: error: 'UIView' is unavailable in watchOS
307 | ///
308 | /// - returns: A possible hittable point
309 | private func internalWindowHitPoint(forView view: UIView) -> CGPoint {
| `- error: 'UIView' is unavailable in watchOS
310 | let viewBounds = view.convert(view.bounds, to: self.window)
311 | return self.window.bounds.intersection(viewBounds).center
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/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-Release.Candidate.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/Utilties/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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/UIKit+Extensions.swift:47:37: error: 'UIView' is unavailable in watchOS
45 |
46 | extension UIViewController {
47 | convenience init(wrapping view: UIView, alignment: EventGenerator.WrappingAlignment) {
| `- error: 'UIView' is unavailable in watchOS
48 | self.init(nibName: nil, bundle: nil)
49 | view.translatesAutoresizingMaskIntoConstraints = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/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 view: UIView, alignment: EventGenerator.WrappingAlignment) {
48 | self.init(nibName: nil, bundle: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Utilties/UIKit+Extensions.swift:75:23: error: 'UIView' is unavailable in watchOS
73 | extension UIView {
74 | /// Returns the view at the top level of the view hierarchy. Could be a UIWindow.
75 | var topLevelView: UIView {
| `- error: 'UIView' is unavailable in watchOS
76 | return self.superview?.topLevelView ?? self
77 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/UIKit+Extensions.swift:85:37: error: 'UIWindow' is unavailable in watchOS
83 | ///
84 | /// - returns: If the view is visible
85 | func isVisible(inWindow window: UIWindow, visibility: EventGenerator.Visibility = .partial) -> Bool {
| `- error: 'UIWindow' is unavailable in watchOS
86 | guard self.isDescendant(of: window) else {
87 | return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/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/Utilties/UIKit+Extensions.swift:73:11: error: 'UIView' is unavailable in watchOS
71 | }
72 |
73 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
74 | /// Returns the view at the top level of the view hierarchy. Could be a UIWindow.
75 | var topLevelView: UIView {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Utilties/Waiting.swift:172:42: error: 'UIView' is unavailable in watchOS
170 | ///
171 | /// - throws: An error if the view does not exist after the specified time.
172 | public func waitUntilVisible(_ view: UIView, visibility: Visibility = .partial,
| `- error: 'UIView' is unavailable in watchOS
173 | timeout: TimeInterval, checkInterval: TimeInterval = 0.1) throws
174 | {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/Waiting.swift:229:43: error: 'UIView' is unavailable in watchOS
227 | ///
228 | /// - throws: An error if the view does not exist after the specified time.
229 | public func waitUntilHittable(_ view: UIView,
| `- error: 'UIView' is unavailable in watchOS
230 | timeout: TimeInterval, checkInterval: TimeInterval = 0.1) throws
231 | {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+IOHID.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/DebugWindow/DebugVisualizerWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/EventGenerator+Hand.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/FingerIndex.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/HandInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/EventGenerator+Keyboard.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/KeyboardKey.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Marker.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Settings.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Stylus/EventGenerator+Stylus.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Stylus/StylusInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/CoreGraphic+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/FrameTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerError.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/Subviews.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/TouchStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/UIKit+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/Waiting.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -swift-module-cross-import Darwin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/Darwin.swiftcrossimport/xlocale.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Hammer -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Hammer.build/Debug-watchos/Hammer-t.build/Objects-normal/arm64_32/Hammer.abi.json
SwiftCompile normal arm64_32 Compiling\ EventGenerator.swift,\ HammerLocatable.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:22:24: error: 'UIWindow' is unavailable in watchOS
20 |
21 | /// The window for the events
22 | public let window: UIWindow
| `- error: 'UIWindow' is unavailable in watchOS
23 |
24 | /// The view that was used to create the event generator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:25:26: error: 'UIView' is unavailable in watchOS
23 |
24 | /// The view that was used to create the event generator
25 | public let mainView: UIView
| `- error: 'UIView' is unavailable in watchOS
26 |
27 | var activeTouches = TouchStorage()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:46:26: error: 'UIWindow' is unavailable in watchOS
44 | /// - parameter window: The window to receive events.
45 | /// - parameter mainView: The view that was used to create the event generator
46 | private init(window: UIWindow, mainView: UIView) throws {
| `- error: 'UIWindow' is unavailable in watchOS
47 | self.window = window
48 | self.mainView = mainView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:46:46: error: 'UIView' is unavailable in watchOS
44 | /// - parameter window: The window to receive events.
45 | /// - parameter mainView: The view that was used to create the event generator
46 | private init(window: UIWindow, mainView: UIView) throws {
| `- error: 'UIView' is unavailable in watchOS
47 | self.window = window
48 | self.mainView = mainView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:61:37: error: 'UIWindow' is unavailable in watchOS
59 | ///
60 | /// - parameter window: The window to receive events.
61 | public convenience init(window: UIWindow) throws {
| `- error: 'UIWindow' is unavailable in watchOS
62 | try self.init(window: window, mainView: window)
63 | try self.waitUntilWindowIsReady()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:72:45: error: 'UIViewController' is unavailable in watchOS
70 | ///
71 | /// - parameter viewController: The viewController to receive events.
72 | public convenience init(viewController: UIViewController) throws {
| `- error: 'UIViewController' is unavailable in watchOS
73 | if let window = viewController.view.window {
74 | try self.init(window: window, mainView: viewController.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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:90:35: error: 'UIView' is unavailable in watchOS
88 | /// - parameter view: The view to receive events.
89 | /// - parameter alignment: The wrapping alignment to use.
90 | public convenience init(view: UIView, alignment: WrappingAlignment = .center) throws {
| `- error: 'UIView' is unavailable in watchOS
91 | if let window = view.window {
92 | try self.init(window: window, mainView: view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:274:1: error: type 'UIApplication' does not conform to protocol 'UIApplicationDeprecated'
272 | }
273 |
274 | extension UIApplication: UIApplicationDeprecated {}
| `- error: type 'UIApplication' does not conform to protocol 'UIApplicationDeprecated'
275 |
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:274:1: error: unavailable property 'isIgnoringInteractionEvents' was used to satisfy a requirement of protocol 'UIApplicationDeprecated'
269 | // Bypasses deprecation warning for `isIgnoringInteractionEvents`
270 | private protocol UIApplicationDeprecated {
271 | var isIgnoringInteractionEvents: Bool { get }
| `- note: requirement 'isIgnoringInteractionEvents' declared here
272 | }
273 |
274 | extension UIApplication: UIApplicationDeprecated {}
| `- error: unavailable property 'isIgnoringInteractionEvents' was used to satisfy a requirement of protocol 'UIApplicationDeprecated'
275 |
/Applications/Xcode-27.0.0-Release.Candidate.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.swift:274:11: error: 'UIApplication' is unavailable in watchOS
272 | }
273 |
274 | extension UIApplication: UIApplicationDeprecated {}
| `- error: 'UIApplication' is unavailable in watchOS
275 |
/Applications/Xcode-27.0.0-Release.Candidate.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:52:9: error: 'UIApplication' is unavailable in watchOS
50 | self.debugWindow.frame = self.window.frame
51 |
52 | UIApplication.swizzle()
| `- error: 'UIApplication' is unavailable in watchOS
53 | UIApplication.registerForHIDEvents(ObjectIdentifier(self)) { [weak self] event in
54 | self?.markerEventReceived(event)
/Applications/Xcode-27.0.0-Release.Candidate.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:53:9: error: 'UIApplication' is unavailable in watchOS
51 |
52 | UIApplication.swizzle()
53 | UIApplication.registerForHIDEvents(ObjectIdentifier(self)) { [weak self] event in
| `- error: 'UIApplication' is unavailable in watchOS
54 | self?.markerEventReceived(event)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.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:94:34: error: 'UIViewController' is unavailable in watchOS
92 | try self.init(window: window, mainView: view)
93 | } else {
94 | let viewController = UIViewController(wrapping: view.topLevelView, alignment: alignment)
| `- error: 'UIViewController' is unavailable in watchOS
95 | let window = HammerWindow()
96 | window.presentContained(viewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:104:9: error: 'UIApplication' is unavailable in watchOS
102 |
103 | deinit {
104 | UIApplication.unregisterForHIDEvents(ObjectIdentifier(self))
| `- error: 'UIApplication' is unavailable in watchOS
105 | self.debugWindow.removeFromScene()
106 | if let window = self.window as? HammerWindow {
/Applications/Xcode-27.0.0-Release.Candidate.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:142:17: error: 'UIApplication' is unavailable in watchOS
140 | /// Returns if the window is ready to receive user interaction events
141 | public var isWindowReady: Bool {
142 | guard !(UIApplication.shared as UIApplicationDeprecated).isIgnoringInteractionEvents
| `- error: 'UIApplication' is unavailable in watchOS
143 | && self.window.isHidden == false
144 | && self.window.isUserInteractionEnabled
/Applications/Xcode-27.0.0-Release.Candidate.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:155:31: error: 'windowScene' is unavailable in watchOS
153 |
154 | if #available(iOS 13.0, *) {
155 | guard self.window.windowScene?.activationState == .foregroundActive else {
| `- error: 'windowScene' is unavailable in watchOS
156 | return false
157 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h: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/EventGenerator/EventGenerator.swift:170:48: error: 'UIView' is unavailable in watchOS
168 | public var hasRunningAnimations: Bool {
169 | // Recursive
170 | func hasRunningAnimations(currentView: UIView) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
171 | // If the view is not visible, we do not need to consider it as running animation
172 | guard self.viewIsVisible(currentView) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:206:44: error: 'UIWindow' is unavailable in watchOS
204 | /// - parameter wait: If we should wait until the event has finished being sent.
205 | func sendEvent(_ event: IOHIDEvent, wait: Bool) throws {
206 | guard let window = self.window as? UIWindow & UIWindowPrivate else {
| `- error: 'UIWindow' is unavailable in watchOS
207 | throw HammerError.unableToAccessPrivateApi(type: "UIWindow", method: "Protocol")
208 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:210:50: error: 'UIApplication' is unavailable in watchOS
208 | }
209 |
210 | guard let app = UIApplication.shared as? UIApplication & UIApplicationPrivate else {
| `- error: 'UIApplication' is unavailable in watchOS
211 | throw HammerError.unableToAccessPrivateApi(type: "UIApplication", method: "Protocol")
212 | }
/Applications/Xcode-27.0.0-Release.Candidate.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:210:25: error: 'UIApplication' is unavailable in watchOS
208 | }
209 |
210 | guard let app = UIApplication.shared as? UIApplication & UIApplicationPrivate else {
| `- error: 'UIApplication' is unavailable in watchOS
211 | throw HammerError.unableToAccessPrivateApi(type: "UIApplication", method: "Protocol")
212 | }
/Applications/Xcode-27.0.0-Release.Candidate.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:241:9: error: 'UIApplication' is unavailable in watchOS
239 | }
240 |
241 | UIApplication.shared.accessibilityActivate()
| `- error: 'UIApplication' is unavailable in watchOS
242 | if self.isAccessibilityActivated {
243 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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:241:30: error: 'accessibilityActivate()' is unavailable in watchOS
239 | }
240 |
241 | UIApplication.shared.accessibilityActivate()
| `- error: 'accessibilityActivate()' is unavailable in watchOS
242 | if self.isAccessibilityActivated {
243 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:346:1: note: 'accessibilityActivate()' has been explicitly marked unavailable here
344 | default == NO
345 | */
346 | - (BOOL)accessibilityActivate API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityActivate()' has been explicitly marked unavailable here
347 |
348 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:241:30: warning: result of call to 'accessibilityActivate()' is unused [#NoUsage]
239 | }
240 |
241 | UIApplication.shared.accessibilityActivate()
| `- warning: result of call to 'accessibilityActivate()' is unused [#NoUsage]
242 | if self.isAccessibilityActivated {
243 | return
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift:19:11: error: 'UIView' is unavailable in watchOS
17 | }
18 |
19 | extension UIView: HammerLocatable {
| `- error: 'UIView' is unavailable in watchOS
20 | public func windowHitPoint(for eventGenerator: EventGenerator) throws -> CGPoint {
21 | return try eventGenerator.windowHitPoint(forView: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/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 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HammerLocatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift:25:11: error: 'UIViewController' is unavailable in watchOS
23 | }
24 |
25 | extension UIViewController: HammerLocatable {
| `- error: 'UIViewController' is unavailable in watchOS
26 | public func windowHitPoint(for eventGenerator: EventGenerator) throws -> CGPoint {
27 | return try self.view.windowHitPoint(for: eventGenerator)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift:64:22: error: 'UIView' is unavailable in watchOS
62 | /// Creates a relative location for a view.
63 | public struct RelativeLocation: HammerLocatable {
64 | public let view: UIView?
| `- error: 'UIView' is unavailable in watchOS
65 | public let x: CGFloat
66 | public let y: CGFloat
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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\ EventGenerator+Marker.swift,\ EventGenerator+Settings.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Marker.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Settings.swift (in target 'Hammer' from project 'Hammer')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Marker.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Marker.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Settings.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Settings.swift
SwiftCompile normal arm64_32 Compiling\ AppleInternal+BackBoardServices.swift,\ AppleInternal+IOHID.swift,\ AppleInternal+UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+IOHID.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift (in target 'Hammer' from project 'Hammer')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleInternal+BackBoardServices.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+IOHID.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleInternal+IOHID.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleInternal+UIKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:28:27: error: 'UIApplication' is unavailable in watchOS
26 |
27 | private static let runOnce: () = {
28 | class_addProtocol(UIApplication.self, UIApplicationPrivate.self)
| `- error: 'UIApplication' is unavailable in watchOS
29 | class_addProtocol(UIWindow.self, UIWindowPrivate.self)
30 |
/Applications/Xcode-27.0.0-Release.Candidate.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:29:27: error: 'UIWindow' is unavailable in watchOS
27 | private static let runOnce: () = {
28 | class_addProtocol(UIApplication.self, UIApplicationPrivate.self)
29 | class_addProtocol(UIWindow.self, UIWindowPrivate.self)
| `- error: 'UIWindow' is unavailable in watchOS
30 |
31 | let originalMethod = class_getInstanceMethod(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:32:13: error: 'UIApplication' is unavailable in watchOS
30 |
31 | let originalMethod = class_getInstanceMethod(
32 | UIApplication.self, NSSelectorFromString("_handleHIDEvent:"))
| `- error: 'UIApplication' is unavailable in watchOS
33 | let swizzledMethod = class_getInstanceMethod(
34 | UIApplication.self, #selector(UIApplication.swizzledHandleHIDEvent(_:)))
/Applications/Xcode-27.0.0-Release.Candidate.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:34:13: error: 'UIApplication' is unavailable in watchOS
32 | UIApplication.self, NSSelectorFromString("_handleHIDEvent:"))
33 | let swizzledMethod = class_getInstanceMethod(
34 | UIApplication.self, #selector(UIApplication.swizzledHandleHIDEvent(_:)))
| `- error: 'UIApplication' is unavailable in watchOS
35 | if let originalMethod = originalMethod, let swizzledMethod = swizzledMethod {
36 | method_exchangeImplementations(originalMethod, swizzledMethod)
/Applications/Xcode-27.0.0-Release.Candidate.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:34:43: error: 'UIApplication' is unavailable in watchOS
32 | UIApplication.self, NSSelectorFromString("_handleHIDEvent:"))
33 | let swizzledMethod = class_getInstanceMethod(
34 | UIApplication.self, #selector(UIApplication.swizzledHandleHIDEvent(_:)))
| `- error: 'UIApplication' is unavailable in watchOS
35 | if let originalMethod = originalMethod, let swizzledMethod = swizzledMethod {
36 | method_exchangeImplementations(originalMethod, swizzledMethod)
/Applications/Xcode-27.0.0-Release.Candidate.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 = (_ event: IOHIDEvent) -> Void
16 |
/Applications/Xcode-27.0.0-Release.Candidate.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 Compiling\ HandInfo.swift,\ EventGenerator+Keyboard.swift,\ KeyboardKey.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/HandInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/EventGenerator+Keyboard.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/KeyboardKey.swift (in target 'Hammer' from project 'Hammer')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/HandInfo.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HandInfo.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/EventGenerator+Keyboard.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Keyboard.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/KeyboardKey.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile KeyboardKey.swift
SwiftCompile normal arm64_32 Compiling\ HammerError.swift,\ HammerWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerError.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerError.swift:21:32: error: 'UITouch' is unavailable in watchOS
19 | case unknownKeyForCharacter(Character)
20 |
21 | case unsupportedTouchPhase(UITouch.Phase)
| `- error: 'UITouch' is unavailable in watchOS
22 |
23 | case unableToAccessPrivateApi(type: String, method: String)
/Applications/Xcode-27.0.0-Release.Candidate.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/Utilties/HammerError.swift:25:31: error: 'UIView' is unavailable in watchOS
23 | case unableToAccessPrivateApi(type: String, method: String)
24 |
25 | case viewIsNotInHierarchy(UIView)
| `- error: 'UIView' is unavailable in watchOS
26 | case viewIsNotVisible(UIView)
27 | case viewIsNotHittable(UIView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Utilties/HammerError.swift:26:27: error: 'UIView' is unavailable in watchOS
24 |
25 | case viewIsNotInHierarchy(UIView)
26 | case viewIsNotVisible(UIView)
| `- error: 'UIView' is unavailable in watchOS
27 | case viewIsNotHittable(UIView)
28 | case pointIsNotHittable(CGPoint)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerError.swift:27:28: error: 'UIView' is unavailable in watchOS
25 | case viewIsNotInHierarchy(UIView)
26 | case viewIsNotVisible(UIView)
27 | case viewIsNotHittable(UIView)
| `- error: 'UIView' is unavailable in watchOS
28 | case pointIsNotHittable(CGPoint)
29 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerError.swift:96:11: error: 'UIView' is unavailable in watchOS
94 | }
95 |
96 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
97 | fileprivate var shortDescription: String {
98 | return self.accessibilityIdentifier ?? self.description
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/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-Release.Candidate.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/Utilties/HammerWindow.swift:31:45: error: 'UIViewController' is unavailable in watchOS
29 | }
30 |
31 | func presentContained(_ viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
32 | self.makeVisibleAndKey()
33 | self.hammerViewController.presentContained(viewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:43:33: error: 'UIView' is unavailable in watchOS
41 |
42 | private final class HammerViewController: UIViewController {
43 | private let containerView = UIView()
| `- error: 'UIView' is unavailable in watchOS
44 |
45 | override var shouldAutomaticallyForwardAppearanceMethods: Bool { false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:43:33: error: 'init()' is unavailable in watchOS
41 |
42 | private final class HammerViewController: UIViewController {
43 | private let containerView = UIView()
| `- error: 'init()' is unavailable in watchOS
44 |
45 | override var shouldAutomaticallyForwardAppearanceMethods: Bool { false }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/Utilties/HammerWindow.swift:75:45: error: 'UIViewController' is unavailable in watchOS
73 | }
74 |
75 | func presentContained(_ viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
76 | viewController.beginAppearanceTransition(true, animated: false)
77 | self.addChild(viewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:42:43: error: 'UIViewController' is unavailable in watchOS
40 | }
41 |
42 | private final class HammerViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
43 | private let containerView = UIView()
44 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:104:11: error: 'UIWindow' is unavailable in watchOS
102 | }
103 |
104 | extension UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
105 | func makeVisibleAndKey(file: StaticString = #file, line: UInt = #line) {
106 | self.addToMainSceneIfNeeded(file: file, line: line)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:141:43: error: 'UIWindowScene' is unavailable in watchOS
139 | @available(iOS 13.0, *)
140 | private extension UIScene {
141 | static var mainOrFirstConnectedScene: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
142 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
143 | return scenes.first { $0.screen == UIScreen.main } ?? scenes.first
/Applications/Xcode-27.0.0-Release.Candidate.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/Utilties/HammerWindow.swift:140:19: error: 'UIScene' is unavailable in watchOS
138 |
139 | @available(iOS 13.0, *)
140 | private extension UIScene {
| `- error: 'UIScene' is unavailable in watchOS
141 | static var mainOrFirstConnectedScene: UIWindowScene? {
142 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.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/Utilties/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-Release.Candidate.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/Utilties/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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:20:37: error: 'systemBackground' is unavailable in watchOS
18 |
19 | if #available(iOS 13.0, *) {
20 | self.backgroundColor = .systemBackground
| `- error: 'systemBackground' is unavailable in watchOS
21 | } else {
22 | self.backgroundColor = .white
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h: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/Utilties/HammerWindow.swift:57:9: error: 'NSLayoutConstraint' is unavailable in watchOS
55 |
56 | // We only activate the top and leading constraints to allow the content to size itself.
57 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
58 | self.containerView.topAnchor.constraint(equalTo: self.view.topAnchor),
59 | self.containerView.bottomAnchor.constraint(equalTo: self.view.bottomAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:81:9: error: 'NSLayoutConstraint' is unavailable in watchOS
79 | viewController.view.translatesAutoresizingMaskIntoConstraints = false
80 | self.containerView.addSubview(viewController.view)
81 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
82 | viewController.view.topAnchor.constraint(equalTo: self.containerView.topAnchor),
83 | viewController.view.bottomAnchor.constraint(equalTo: self.containerView.bottomAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/HammerWindow.swift:115:20: error: 'windowScene' is unavailable in watchOS
113 | }
114 |
115 | guard self.windowScene == nil else {
| `- error: 'windowScene' is unavailable in watchOS
116 | return
117 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h: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/Utilties/HammerWindow.swift:119:28: error: 'UIScene' is unavailable in watchOS
117 | }
118 |
119 | if let mainScene = UIScene.mainOrFirstConnectedScene {
| `- error: 'UIScene' is unavailable in watchOS
120 | self.windowScene = mainScene
121 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.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/Utilties/HammerWindow.swift:120:18: error: 'windowScene' is unavailable in watchOS
118 |
119 | if let mainScene = UIScene.mainOrFirstConnectedScene {
120 | self.windowScene = mainScene
| `- error: 'windowScene' is unavailable in watchOS
121 | } else {
122 | assertionFailure("Unable to find main scene", file: file, line: line)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h: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/Utilties/HammerWindow.swift:130:18: error: 'windowScene' is unavailable in watchOS
128 |
129 | if #available(iOS 13.0, *) {
130 | self.windowScene = nil
| `- error: 'windowScene' is unavailable in watchOS
131 | }
132 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h: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/Utilties/HammerWindow.swift:142:22: error: 'UIApplication' is unavailable in watchOS
140 | private extension UIScene {
141 | static var mainOrFirstConnectedScene: UIWindowScene? {
142 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
| `- error: 'UIApplication' is unavailable in watchOS
143 | return scenes.first { $0.screen == UIScreen.main } ?? scenes.first
144 | }
/Applications/Xcode-27.0.0-Release.Candidate.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/Utilties/HammerWindow.swift:142:43: error: 'connectedScenes' is unavailable in watchOS
140 | private extension UIScene {
141 | static var mainOrFirstConnectedScene: UIWindowScene? {
142 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
| `- error: 'connectedScenes' is unavailable in watchOS
143 | return scenes.first { $0.screen == UIScreen.main } ?? scenes.first
144 | }
/Applications/Xcode-27.0.0-Release.Candidate.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/Utilties/HammerWindow.swift:142:79: error: 'UIWindowScene' is unavailable in watchOS
140 | private extension UIScene {
141 | static var mainOrFirstConnectedScene: UIWindowScene? {
142 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
| `- error: 'UIWindowScene' is unavailable in watchOS
143 | return scenes.first { $0.screen == UIScreen.main } ?? scenes.first
144 | }
/Applications/Xcode-27.0.0-Release.Candidate.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/Utilties/HammerWindow.swift:143:44: error: 'UIScreen' is unavailable in watchOS
141 | static var mainOrFirstConnectedScene: UIWindowScene? {
142 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
143 | return scenes.first { $0.screen == UIScreen.main } ?? scenes.first
| `- error: 'UIScreen' is unavailable in watchOS
144 | }
145 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/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/Utilties/HammerWindow.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HammerWindow.swift
SwiftCompile normal arm64 Compiling\ EventGenerator+Marker.swift,\ EventGenerator+Settings.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Marker.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Settings.swift (in target 'Hammer' from project 'Hammer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Marker.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Marker.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Settings.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Settings.swift
SwiftCompile normal arm64_32 Compiling\ CoreGraphic+Extensions.swift,\ FrameTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/CoreGraphic+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/FrameTracker.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/FrameTracker.swift:7:30: error: 'CADisplayLink' is unavailable in watchOS
5 | static let shared = FrameTracker()
6 |
7 | private var displayLink: CADisplayLink?
| `- error: 'CADisplayLink' is unavailable in watchOS
8 | private var listeners: [() -> Void] = []
9 |
/Applications/Xcode-27.0.0-Release.Candidate.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
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/CoreGraphic+Extensions.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoreGraphic+Extensions.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/Utilties/FrameTracker.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FrameTracker.swift
SwiftCompile normal arm64 Compiling\ EventGenerator.swift,\ HammerLocatable.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift (in target 'Hammer' from project 'Hammer')
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:22:24: error: 'UIWindow' is unavailable in watchOS
20 |
21 | /// The window for the events
22 | public let window: UIWindow
| `- error: 'UIWindow' is unavailable in watchOS
23 |
24 | /// The view that was used to create the event generator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:25:26: error: 'UIView' is unavailable in watchOS
23 |
24 | /// The view that was used to create the event generator
25 | public let mainView: UIView
| `- error: 'UIView' is unavailable in watchOS
26 |
27 | var activeTouches = TouchStorage()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:46:26: error: 'UIWindow' is unavailable in watchOS
44 | /// - parameter window: The window to receive events.
45 | /// - parameter mainView: The view that was used to create the event generator
46 | private init(window: UIWindow, mainView: UIView) throws {
| `- error: 'UIWindow' is unavailable in watchOS
47 | self.window = window
48 | self.mainView = mainView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:46:46: error: 'UIView' is unavailable in watchOS
44 | /// - parameter window: The window to receive events.
45 | /// - parameter mainView: The view that was used to create the event generator
46 | private init(window: UIWindow, mainView: UIView) throws {
| `- error: 'UIView' is unavailable in watchOS
47 | self.window = window
48 | self.mainView = mainView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:61:37: error: 'UIWindow' is unavailable in watchOS
59 | ///
60 | /// - parameter window: The window to receive events.
61 | public convenience init(window: UIWindow) throws {
| `- error: 'UIWindow' is unavailable in watchOS
62 | try self.init(window: window, mainView: window)
63 | try self.waitUntilWindowIsReady()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:72:45: error: 'UIViewController' is unavailable in watchOS
70 | ///
71 | /// - parameter viewController: The viewController to receive events.
72 | public convenience init(viewController: UIViewController) throws {
| `- error: 'UIViewController' is unavailable in watchOS
73 | if let window = viewController.view.window {
74 | try self.init(window: window, mainView: viewController.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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:90:35: error: 'UIView' is unavailable in watchOS
88 | /// - parameter view: The view to receive events.
89 | /// - parameter alignment: The wrapping alignment to use.
90 | public convenience init(view: UIView, alignment: WrappingAlignment = .center) throws {
| `- error: 'UIView' is unavailable in watchOS
91 | if let window = view.window {
92 | try self.init(window: window, mainView: view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:274:1: error: type 'UIApplication' does not conform to protocol 'UIApplicationDeprecated'
272 | }
273 |
274 | extension UIApplication: UIApplicationDeprecated {}
| `- error: type 'UIApplication' does not conform to protocol 'UIApplicationDeprecated'
275 |
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:274:1: error: unavailable property 'isIgnoringInteractionEvents' was used to satisfy a requirement of protocol 'UIApplicationDeprecated'
269 | // Bypasses deprecation warning for `isIgnoringInteractionEvents`
270 | private protocol UIApplicationDeprecated {
271 | var isIgnoringInteractionEvents: Bool { get }
| `- note: requirement 'isIgnoringInteractionEvents' declared here
272 | }
273 |
274 | extension UIApplication: UIApplicationDeprecated {}
| `- error: unavailable property 'isIgnoringInteractionEvents' was used to satisfy a requirement of protocol 'UIApplicationDeprecated'
275 |
/Applications/Xcode-27.0.0-Release.Candidate.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.swift:274:11: error: 'UIApplication' is unavailable in watchOS
272 | }
273 |
274 | extension UIApplication: UIApplicationDeprecated {}
| `- error: 'UIApplication' is unavailable in watchOS
275 |
/Applications/Xcode-27.0.0-Release.Candidate.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:52:9: error: 'UIApplication' is unavailable in watchOS
50 | self.debugWindow.frame = self.window.frame
51 |
52 | UIApplication.swizzle()
| `- error: 'UIApplication' is unavailable in watchOS
53 | UIApplication.registerForHIDEvents(ObjectIdentifier(self)) { [weak self] event in
54 | self?.markerEventReceived(event)
/Applications/Xcode-27.0.0-Release.Candidate.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:53:9: error: 'UIApplication' is unavailable in watchOS
51 |
52 | UIApplication.swizzle()
53 | UIApplication.registerForHIDEvents(ObjectIdentifier(self)) { [weak self] event in
| `- error: 'UIApplication' is unavailable in watchOS
54 | self?.markerEventReceived(event)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.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:94:34: error: 'UIViewController' is unavailable in watchOS
92 | try self.init(window: window, mainView: view)
93 | } else {
94 | let viewController = UIViewController(wrapping: view.topLevelView, alignment: alignment)
| `- error: 'UIViewController' is unavailable in watchOS
95 | let window = HammerWindow()
96 | window.presentContained(viewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:104:9: error: 'UIApplication' is unavailable in watchOS
102 |
103 | deinit {
104 | UIApplication.unregisterForHIDEvents(ObjectIdentifier(self))
| `- error: 'UIApplication' is unavailable in watchOS
105 | self.debugWindow.removeFromScene()
106 | if let window = self.window as? HammerWindow {
/Applications/Xcode-27.0.0-Release.Candidate.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:142:17: error: 'UIApplication' is unavailable in watchOS
140 | /// Returns if the window is ready to receive user interaction events
141 | public var isWindowReady: Bool {
142 | guard !(UIApplication.shared as UIApplicationDeprecated).isIgnoringInteractionEvents
| `- error: 'UIApplication' is unavailable in watchOS
143 | && self.window.isHidden == false
144 | && self.window.isUserInteractionEnabled
/Applications/Xcode-27.0.0-Release.Candidate.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:155:31: error: 'windowScene' is unavailable in watchOS
153 |
154 | if #available(iOS 13.0, *) {
155 | guard self.window.windowScene?.activationState == .foregroundActive else {
| `- error: 'windowScene' is unavailable in watchOS
156 | return false
157 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h: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/EventGenerator/EventGenerator.swift:170:48: error: 'UIView' is unavailable in watchOS
168 | public var hasRunningAnimations: Bool {
169 | // Recursive
170 | func hasRunningAnimations(currentView: UIView) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
171 | // If the view is not visible, we do not need to consider it as running animation
172 | guard self.viewIsVisible(currentView) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:206:44: error: 'UIWindow' is unavailable in watchOS
204 | /// - parameter wait: If we should wait until the event has finished being sent.
205 | func sendEvent(_ event: IOHIDEvent, wait: Bool) throws {
206 | guard let window = self.window as? UIWindow & UIWindowPrivate else {
| `- error: 'UIWindow' is unavailable in watchOS
207 | throw HammerError.unableToAccessPrivateApi(type: "UIWindow", method: "Protocol")
208 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:210:50: error: 'UIApplication' is unavailable in watchOS
208 | }
209 |
210 | guard let app = UIApplication.shared as? UIApplication & UIApplicationPrivate else {
| `- error: 'UIApplication' is unavailable in watchOS
211 | throw HammerError.unableToAccessPrivateApi(type: "UIApplication", method: "Protocol")
212 | }
/Applications/Xcode-27.0.0-Release.Candidate.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:210:25: error: 'UIApplication' is unavailable in watchOS
208 | }
209 |
210 | guard let app = UIApplication.shared as? UIApplication & UIApplicationPrivate else {
| `- error: 'UIApplication' is unavailable in watchOS
211 | throw HammerError.unableToAccessPrivateApi(type: "UIApplication", method: "Protocol")
212 | }
/Applications/Xcode-27.0.0-Release.Candidate.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:241:9: error: 'UIApplication' is unavailable in watchOS
239 | }
240 |
241 | UIApplication.shared.accessibilityActivate()
| `- error: 'UIApplication' is unavailable in watchOS
242 | if self.isAccessibilityActivated {
243 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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:241:30: error: 'accessibilityActivate()' is unavailable in watchOS
239 | }
240 |
241 | UIApplication.shared.accessibilityActivate()
| `- error: 'accessibilityActivate()' is unavailable in watchOS
242 | if self.isAccessibilityActivated {
243 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:346:1: note: 'accessibilityActivate()' has been explicitly marked unavailable here
344 | default == NO
345 | */
346 | - (BOOL)accessibilityActivate API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityActivate()' has been explicitly marked unavailable here
347 |
348 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator.swift:241:30: warning: result of call to 'accessibilityActivate()' is unused [#NoUsage]
239 | }
240 |
241 | UIApplication.shared.accessibilityActivate()
| `- warning: result of call to 'accessibilityActivate()' is unused [#NoUsage]
242 | if self.isAccessibilityActivated {
243 | return
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift:19:11: error: 'UIView' is unavailable in watchOS
17 | }
18 |
19 | extension UIView: HammerLocatable {
| `- error: 'UIView' is unavailable in watchOS
20 | public func windowHitPoint(for eventGenerator: EventGenerator) throws -> CGPoint {
21 | return try eventGenerator.windowHitPoint(forView: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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:25:11: error: 'UIViewController' is unavailable in watchOS
23 | }
24 |
25 | extension UIViewController: HammerLocatable {
| `- error: 'UIViewController' is unavailable in watchOS
26 | public func windowHitPoint(for eventGenerator: EventGenerator) throws -> CGPoint {
27 | return try self.view.windowHitPoint(for: eventGenerator)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift:64:22: error: 'UIView' is unavailable in watchOS
62 | /// Creates a relative location for a view.
63 | public struct RelativeLocation: HammerLocatable {
64 | public let view: UIView?
| `- error: 'UIView' is unavailable in watchOS
65 | public let x: CGFloat
66 | public let y: CGFloat
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/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 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/HammerLocatable.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HammerLocatable.swift
SwiftCompile normal arm64 Compiling\ HandInfo.swift,\ EventGenerator+Keyboard.swift,\ KeyboardKey.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/HandInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/EventGenerator+Keyboard.swift /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/KeyboardKey.swift (in target 'Hammer' from project 'Hammer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Hand/HandInfo.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HandInfo.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/EventGenerator+Keyboard.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EventGenerator+Keyboard.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Hammer/EventGenerator/EventGenerator+Keyboard/KeyboardKey.swift (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile KeyboardKey.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ Hammer (in target 'Hammer' from project 'Hammer')
SwiftCompile normal arm64 (in target 'Hammer' from project 'Hammer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-23 08:47:14.180 xcodebuild[806:5004] [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
(3 failures)
BUILD FAILURE 6.4 watchOS