Build Information
Failed to build TouchVisualization, reference v0.1.3 (b35a35), with Swift 6.4 for watchOS using Xcode 27.0 on 20 Nov 2026 13:52:40 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme TouchVisualization -destination generic/platform=watchOSBuild Log
14 | /// The application's touch visualizer.
15 | public static let shared = TouchVisualizer()
:
57 | // iOS 16 can realize this class while enumerating Objective-C classes.
58 | // Keep ObservationRegistrar out of its instance layout until the singleton is used.
59 | private static let registrar = ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
| `- note: add '@available' attribute to enclosing static property
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:30:35: error: 'systemBlue' is unavailable in watchOS
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
31 | strokeWidth: CGFloat = 2,
32 | diameter: CGFloat = 44
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:62:39: error: 'UIWindow' is unavailable in watchOS
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
62 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
63 |
64 | private init() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:27: error: 'UIEvent' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:47: error: 'UIWindow' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:94:37: error: 'UIWindow' is unavailable in watchOS
92 | }
93 |
94 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
95 | if let overlay = overlays.object(forKey: window) {
96 | return overlay
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftCompile normal arm64 Compiling\ TouchVisualizer+Configuration.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift (in target 'TouchVisualization' from project 'TouchVisualization')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TouchVisualizer+Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64 Compiling\ TouchOverlayView.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:14:48: error: 'UIView' is unavailable in watchOS
12 | }
13 |
14 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
15 |
16 | init(frame: CGRect, configuration: TouchVisualizer.Configuration = .init()) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:30:35: error: 'systemBlue' is unavailable in watchOS
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
31 | strokeWidth: CGFloat = 2,
32 | diameter: CGFloat = 44
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:76:51: error: 'UIView' is unavailable in watchOS
74 | }
75 |
76 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
77 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
78 | indicator.layer.cornerRadius = configuration.diameter / 2
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:7:31: error: 'UIView' is unavailable in watchOS
5 |
6 | @available(iOS 17, *)
7 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
8 | var configuration: TouchVisualizer.Configuration {
9 | didSet {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:20:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
18 | super.init(frame: frame)
19 | isUserInteractionEnabled = false
20 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:160:28: note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
158 | default == NO
159 | */
160 | @property (nonatomic) BOOL accessibilityElementsHidden API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
161 |
162 | /*
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:23:9: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
24 | (view: TouchOverlayView, _: UITraitCollection) in
25 | view.updateIndicators()
UIKit.UIView.registerForTraitChanges:3:26: note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
1 | class UIView {
2 | @discardableResult
3 | @MainActor public func registerForTraitChanges<Self>(_ traits: [UITrait], handler: @escaping UIView.TraitChangeHandler<Self>) -> any UITraitChangeRegistration where Self : UITraitEnvironment}
| `- note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:23:33: error: 'UITraitCollection' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'UITraitCollection' is unavailable in watchOS
24 | (view: TouchOverlayView, _: UITraitCollection) in
25 | view.updateIndicators()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:23:51: error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
24 | (view: TouchOverlayView, _: UITraitCollection) in
25 | view.updateIndicators()
UIKit.UITraitCollection.systemTraitsAffectingColorAppearance:2:18: note: 'systemTraitsAffectingColorAppearance' has been explicitly marked unavailable here
1 | class UITraitCollection {
2 | public class var systemTraitsAffectingColorAppearance: [UITrait] { get }}
| `- note: 'systemTraitsAffectingColorAppearance' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:24:41: error: 'UITraitCollection' is unavailable in watchOS
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
24 | (view: TouchOverlayView, _: UITraitCollection) in
| `- error: 'UITraitCollection' is unavailable in watchOS
25 | view.updateIndicators()
26 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:40:25: error: 'UIView' is unavailable in watchOS
38 | }
39 |
40 | let indicator = UIView()
| `- error: 'UIView' is unavailable in watchOS
41 | indicator.isUserInteractionEnabled = false
42 | applyConfiguration(to: indicator)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:40:25: error: 'init()' is unavailable in watchOS
38 | }
39 |
40 | let indicator = UIView()
| `- error: 'init()' is unavailable in watchOS
41 | indicator.isUserInteractionEnabled = false
42 | applyConfiguration(to: indicator)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:57:9: error: 'UIView' is unavailable in watchOS
55 | guard let indicator = indicators.removeValue(forKey: identifier) else { return }
56 |
57 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
58 | withDuration: 0.2,
59 | delay: 0.1,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TouchOverlayView.swift
SwiftCompile normal arm64 Compiling\ WindowEventHook.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:52: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:77: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:20:17: error: 'UIWindow' is unavailable in watchOS
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
22 | )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:21:27: error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
22 | )
23 | else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:32:74: error: 'UIEvent' is unavailable in watchOS
30 | @available(iOS 17, *)
31 | extension UIWindow {
32 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
33 | // Observe the event before dispatch invokes application code.
34 | TouchVisualizer.shared.receive(event, in: self)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowEventHook.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ TouchVisualization (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:14:48: error: 'UIView' is unavailable in watchOS
12 | }
13 |
14 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
15 |
16 | init(frame: CGRect, configuration: TouchVisualizer.Configuration = .init()) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:30:35: error: 'systemBlue' is unavailable in watchOS
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
31 | strokeWidth: CGFloat = 2,
32 | diameter: CGFloat = 44
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:76:51: error: 'UIView' is unavailable in watchOS
74 | }
75 |
76 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
77 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
78 | indicator.layer.cornerRadius = configuration.diameter / 2
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:7:31: error: 'UIView' is unavailable in watchOS
5 |
6 | @available(iOS 17, *)
7 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
8 | var configuration: TouchVisualizer.Configuration {
9 | didSet {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:59:36: error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
11 | @available(iOS 17, *)
12 | @MainActor
13 | public final class TouchVisualizer: Observable {
| `- note: add '@available' attribute to enclosing class
14 | /// The application's touch visualizer.
15 | public static let shared = TouchVisualizer()
:
57 | // iOS 16 can realize this class while enumerating Objective-C classes.
58 | // Keep ObservationRegistrar out of its instance layout until the singleton is used.
59 | private static let registrar = ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
| `- note: add '@available' attribute to enclosing static property
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:62:39: error: 'UIWindow' is unavailable in watchOS
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
62 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
63 |
64 | private init() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:27: error: 'UIEvent' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:47: error: 'UIWindow' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftCompile normal arm64_32 (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ TouchVisualization.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:59:36: error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
11 | @available(iOS 17, *)
12 | @MainActor
13 | public final class TouchVisualizer: Observable {
| `- note: add '@available' attribute to enclosing class
14 | /// The application's touch visualizer.
15 | public static let shared = TouchVisualizer()
:
57 | // iOS 16 can realize this class while enumerating Objective-C classes.
58 | // Keep ObservationRegistrar out of its instance layout until the singleton is used.
59 | private static let registrar = ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
| `- note: add '@available' attribute to enclosing static property
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:30:35: error: 'systemBlue' is unavailable in watchOS
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
31 | strokeWidth: CGFloat = 2,
32 | diameter: CGFloat = 44
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:62:39: error: 'UIWindow' is unavailable in watchOS
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
62 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
63 |
64 | private init() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:27: error: 'UIEvent' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:47: error: 'UIWindow' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:94:37: error: 'UIWindow' is unavailable in watchOS
92 | }
93 |
94 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
95 | if let overlay = overlays.object(forKey: window) {
96 | return overlay
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftCompile normal arm64_32 (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ TouchOverlayView.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:14:48: error: 'UIView' is unavailable in watchOS
12 | }
13 |
14 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
15 |
16 | init(frame: CGRect, configuration: TouchVisualizer.Configuration = .init()) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:30:35: error: 'systemBlue' is unavailable in watchOS
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
31 | strokeWidth: CGFloat = 2,
32 | diameter: CGFloat = 44
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:76:51: error: 'UIView' is unavailable in watchOS
74 | }
75 |
76 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
77 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
78 | indicator.layer.cornerRadius = configuration.diameter / 2
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:7:31: error: 'UIView' is unavailable in watchOS
5 |
6 | @available(iOS 17, *)
7 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
8 | var configuration: TouchVisualizer.Configuration {
9 | didSet {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:20:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
18 | super.init(frame: frame)
19 | isUserInteractionEnabled = false
20 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:160:28: note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
158 | default == NO
159 | */
160 | @property (nonatomic) BOOL accessibilityElementsHidden API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
161 |
162 | /*
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:23:9: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
24 | (view: TouchOverlayView, _: UITraitCollection) in
25 | view.updateIndicators()
UIKit.UIView.registerForTraitChanges:3:26: note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
1 | class UIView {
2 | @discardableResult
3 | @MainActor public func registerForTraitChanges<Self>(_ traits: [UITrait], handler: @escaping UIView.TraitChangeHandler<Self>) -> any UITraitChangeRegistration where Self : UITraitEnvironment}
| `- note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
4 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TouchOverlayView.swift
SwiftCompile normal arm64_32 Compiling\ TouchVisualizer+Configuration.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TouchVisualizer+Configuration.swift
SwiftCompile normal arm64_32 Compiling\ WindowEventHook.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift (in target 'TouchVisualization' from project 'TouchVisualization')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowEventHook.swift
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:52: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:77: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:20:17: error: 'UIWindow' is unavailable in watchOS
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
22 | )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:21:27: error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
22 | )
23 | else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:32:74: error: 'UIEvent' is unavailable in watchOS
30 | @available(iOS 17, *)
31 | extension UIWindow {
32 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
33 | // Observe the event before dispatch invokes application code.
34 | TouchVisualizer.shared.receive(event, in: self)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-11-20 08:52:31.172 xcodebuild[650:4091] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'TouchVisualization' from project 'TouchVisualization')
SwiftEmitModule normal arm64 Emitting\ module\ for\ TouchVisualization (in target 'TouchVisualization' from project 'TouchVisualization')
Building workspace TouchVisualization with scheme TouchVisualization
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
TouchVisualization: /Users/admin/builder/spi-builder-workspace
resolved source packages: TouchVisualization
2026-11-20 08:52:37.134 xcodebuild[780:4600] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "TouchVisualization",
"name" : "TouchVisualization",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "TouchVisualization",
"targets" : [
"TouchVisualization"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "TouchVisualizationTests",
"module_type" : "SwiftTarget",
"name" : "TouchVisualizationTests",
"path" : "Tests/TouchVisualizationTests",
"sources" : [
"TouchVisualizationTests.swift"
],
"target_dependencies" : [
"TouchVisualization"
],
"type" : "test"
},
{
"c99name" : "TouchVisualization",
"module_type" : "SwiftTarget",
"name" : "TouchVisualization",
"path" : "Sources/TouchVisualization",
"product_memberships" : [
"TouchVisualization"
],
"sources" : [
"TouchOverlayView.swift",
"TouchVisualization.swift",
"TouchVisualizer+Configuration.swift",
"WindowEventHook.swift"
],
"type" : "library"
}
],
"tools_version" : "6.3"
}
{
"workspace" : {
"name" : "TouchVisualization",
"schemes" : [
"TouchVisualization"
]
}
}
2026-11-20 08:52:38.382 xcodebuild[788:4662] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme TouchVisualization -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme TouchVisualization -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
TouchVisualization: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'TouchVisualization-product' in project 'TouchVisualization'
➜ Explicit dependency on target 'TouchVisualization' in project 'TouchVisualization'
Target 'TouchVisualization' in project 'TouchVisualization' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
SwiftDriver TouchVisualization normal arm64 com.apple.xcode.tools.swift.compiler (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name TouchVisualization -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization-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/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization_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/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-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/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver TouchVisualization normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name TouchVisualization -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization-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/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization_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/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-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/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization-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\ TouchVisualization (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:14:48: error: 'UIView' is unavailable in watchOS
12 | }
13 |
14 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
15 |
16 | init(frame: CGRect, configuration: TouchVisualizer.Configuration = .init()) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:30:35: error: 'systemBlue' is unavailable in watchOS
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
31 | strokeWidth: CGFloat = 2,
32 | diameter: CGFloat = 44
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:76:51: error: 'UIView' is unavailable in watchOS
74 | }
75 |
76 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
77 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
78 | indicator.layer.cornerRadius = configuration.diameter / 2
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:7:31: error: 'UIView' is unavailable in watchOS
5 |
6 | @available(iOS 17, *)
7 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
8 | var configuration: TouchVisualizer.Configuration {
9 | didSet {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:59:36: error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
11 | @available(iOS 17, *)
12 | @MainActor
13 | public final class TouchVisualizer: Observable {
| `- note: add '@available' attribute to enclosing class
14 | /// The application's touch visualizer.
15 | public static let shared = TouchVisualizer()
:
57 | // iOS 16 can realize this class while enumerating Objective-C classes.
58 | // Keep ObservationRegistrar out of its instance layout until the singleton is used.
59 | private static let registrar = ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
| `- note: add '@available' attribute to enclosing static property
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:62:39: error: 'UIWindow' is unavailable in watchOS
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
62 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
63 |
64 | private init() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:27: error: 'UIEvent' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:47: error: 'UIWindow' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:94:37: error: 'UIWindow' is unavailable in watchOS
92 | }
93 |
94 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
95 | if let overlay = overlays.object(forKey: window) {
96 | return overlay
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:52: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:77: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:20:17: error: 'UIWindow' is unavailable in watchOS
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
22 | )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:21:27: error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
22 | )
23 | else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:32:74: error: 'UIEvent' is unavailable in watchOS
30 | @available(iOS 17, *)
31 | extension UIWindow {
32 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
33 | // Observe the event before dispatch invokes application code.
34 | TouchVisualizer.shared.receive(event, in: self)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
SwiftCompile normal arm64_32 (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:31:11: error: 'UIWindow' is unavailable in watchOS
29 |
30 | @available(iOS 17, *)
31 | extension UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
32 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
33 | // Observe the event before dispatch invokes application code.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name TouchVisualization -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization_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.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/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64_32/TouchVisualization.abi.json
SwiftCompile normal arm64_32 Compiling\ TouchOverlayView.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:14:48: error: 'UIView' is unavailable in watchOS
12 | }
13 |
14 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
15 |
16 | init(frame: CGRect, configuration: TouchVisualizer.Configuration = .init()) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:30:35: error: 'systemBlue' is unavailable in watchOS
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
31 | strokeWidth: CGFloat = 2,
32 | diameter: CGFloat = 44
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:76:51: error: 'UIView' is unavailable in watchOS
74 | }
75 |
76 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
77 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
78 | indicator.layer.cornerRadius = configuration.diameter / 2
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:7:31: error: 'UIView' is unavailable in watchOS
5 |
6 | @available(iOS 17, *)
7 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
8 | var configuration: TouchVisualizer.Configuration {
9 | didSet {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:20:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
18 | super.init(frame: frame)
19 | isUserInteractionEnabled = false
20 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:160:28: note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
158 | default == NO
159 | */
160 | @property (nonatomic) BOOL accessibilityElementsHidden API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
161 |
162 | /*
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:23:9: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
24 | (view: TouchOverlayView, _: UITraitCollection) in
25 | view.updateIndicators()
UIKit.UIView.registerForTraitChanges:3:26: note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
1 | class UIView {
2 | @discardableResult
3 | @MainActor public func registerForTraitChanges<Self>(_ traits: [UITrait], handler: @escaping UIView.TraitChangeHandler<Self>) -> any UITraitChangeRegistration where Self : UITraitEnvironment}
| `- note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:23:33: error: 'UITraitCollection' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'UITraitCollection' is unavailable in watchOS
24 | (view: TouchOverlayView, _: UITraitCollection) in
25 | view.updateIndicators()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TouchOverlayView.swift
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:23:51: error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
24 | (view: TouchOverlayView, _: UITraitCollection) in
25 | view.updateIndicators()
UIKit.UITraitCollection.systemTraitsAffectingColorAppearance:2:18: note: 'systemTraitsAffectingColorAppearance' has been explicitly marked unavailable here
1 | class UITraitCollection {
2 | public class var systemTraitsAffectingColorAppearance: [UITrait] { get }}
| `- note: 'systemTraitsAffectingColorAppearance' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:24:41: error: 'UITraitCollection' is unavailable in watchOS
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
24 | (view: TouchOverlayView, _: UITraitCollection) in
| `- error: 'UITraitCollection' is unavailable in watchOS
25 | view.updateIndicators()
26 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:40:25: error: 'UIView' is unavailable in watchOS
38 | }
39 |
40 | let indicator = UIView()
| `- error: 'UIView' is unavailable in watchOS
41 | indicator.isUserInteractionEnabled = false
42 | applyConfiguration(to: indicator)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:40:25: error: 'init()' is unavailable in watchOS
38 | }
39 |
40 | let indicator = UIView()
| `- error: 'init()' is unavailable in watchOS
41 | indicator.isUserInteractionEnabled = false
42 | applyConfiguration(to: indicator)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:57:9: error: 'UIView' is unavailable in watchOS
55 | guard let indicator = indicators.removeValue(forKey: identifier) else { return }
56 |
57 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
58 | withDuration: 0.2,
59 | delay: 0.1,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 Compiling\ TouchVisualization.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:59:36: error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
11 | @available(iOS 17, *)
12 | @MainActor
13 | public final class TouchVisualizer: Observable {
| `- note: add '@available' attribute to enclosing class
14 | /// The application's touch visualizer.
15 | public static let shared = TouchVisualizer()
:
57 | // iOS 16 can realize this class while enumerating Objective-C classes.
58 | // Keep ObservationRegistrar out of its instance layout until the singleton is used.
59 | private static let registrar = ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
| `- note: add '@available' attribute to enclosing static property
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:30:35: error: 'systemBlue' is unavailable in watchOS
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
31 | strokeWidth: CGFloat = 2,
32 | diameter: CGFloat = 44
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:62:39: error: 'UIWindow' is unavailable in watchOS
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
62 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
63 |
64 | private init() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:27: error: 'UIEvent' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:47: error: 'UIWindow' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:94:37: error: 'UIWindow' is unavailable in watchOS
92 | }
93 |
94 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
95 | if let overlay = overlays.object(forKey: window) {
96 | return overlay
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftCompile normal arm64_32 (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ TouchVisualizer+Configuration.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift (in target 'TouchVisualization' from project 'TouchVisualization')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TouchVisualizer+Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64_32 Compiling\ WindowEventHook.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:52: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:77: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:20:17: error: 'UIWindow' is unavailable in watchOS
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
22 | )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:21:27: error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
22 | )
23 | else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:32:74: error: 'UIEvent' is unavailable in watchOS
30 | @available(iOS 17, *)
31 | extension UIWindow {
32 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
33 | // Observe the event before dispatch invokes application code.
34 | TouchVisualizer.shared.receive(event, in: self)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowEventHook.swift
SwiftCompile normal arm64 Compiling\ TouchOverlayView.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:14:48: error: 'UIView' is unavailable in watchOS
12 | }
13 |
14 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
15 |
16 | init(frame: CGRect, configuration: TouchVisualizer.Configuration = .init()) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:30:35: error: 'systemBlue' is unavailable in watchOS
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
31 | strokeWidth: CGFloat = 2,
32 | diameter: CGFloat = 44
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:76:51: error: 'UIView' is unavailable in watchOS
74 | }
75 |
76 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
77 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
78 | indicator.layer.cornerRadius = configuration.diameter / 2
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:7:31: error: 'UIView' is unavailable in watchOS
5 |
6 | @available(iOS 17, *)
7 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
8 | var configuration: TouchVisualizer.Configuration {
9 | didSet {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:20:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
18 | super.init(frame: frame)
19 | isUserInteractionEnabled = false
20 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:160:28: note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
158 | default == NO
159 | */
160 | @property (nonatomic) BOOL accessibilityElementsHidden API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
161 |
162 | /*
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:23:9: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
24 | (view: TouchOverlayView, _: UITraitCollection) in
25 | view.updateIndicators()
UIKit.UIView.registerForTraitChanges:3:26: note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
1 | class UIView {
2 | @discardableResult
3 | @MainActor public func registerForTraitChanges<Self>(_ traits: [UITrait], handler: @escaping UIView.TraitChangeHandler<Self>) -> any UITraitChangeRegistration where Self : UITraitEnvironment}
| `- note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:23:33: error: 'UITraitCollection' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'UITraitCollection' is unavailable in watchOS
24 | (view: TouchOverlayView, _: UITraitCollection) in
25 | view.updateIndicators()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:23:51: error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
21 | backgroundColor = .clear
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
24 | (view: TouchOverlayView, _: UITraitCollection) in
25 | view.updateIndicators()
UIKit.UITraitCollection.systemTraitsAffectingColorAppearance:2:18: note: 'systemTraitsAffectingColorAppearance' has been explicitly marked unavailable here
1 | class UITraitCollection {
2 | public class var systemTraitsAffectingColorAppearance: [UITrait] { get }}
| `- note: 'systemTraitsAffectingColorAppearance' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:24:41: error: 'UITraitCollection' is unavailable in watchOS
22 |
23 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
24 | (view: TouchOverlayView, _: UITraitCollection) in
| `- error: 'UITraitCollection' is unavailable in watchOS
25 | view.updateIndicators()
26 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:40:25: error: 'UIView' is unavailable in watchOS
38 | }
39 |
40 | let indicator = UIView()
| `- error: 'UIView' is unavailable in watchOS
41 | indicator.isUserInteractionEnabled = false
42 | applyConfiguration(to: indicator)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:40:25: error: 'init()' is unavailable in watchOS
38 | }
39 |
40 | let indicator = UIView()
| `- error: 'init()' is unavailable in watchOS
41 | indicator.isUserInteractionEnabled = false
42 | applyConfiguration(to: indicator)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:57:9: error: 'UIView' is unavailable in watchOS
55 | guard let indicator = indicators.removeValue(forKey: identifier) else { return }
56 |
57 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
58 | withDuration: 0.2,
59 | delay: 0.1,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TouchOverlayView.swift
SwiftCompile normal arm64 Compiling\ TouchVisualization.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift (in target 'TouchVisualization' from project 'TouchVisualization')
SwiftCompile normal arm64 (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:59:36: error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
11 | @available(iOS 17, *)
12 | @MainActor
13 | public final class TouchVisualizer: Observable {
| `- note: add '@available' attribute to enclosing class
14 | /// The application's touch visualizer.
15 | public static let shared = TouchVisualizer()
:
57 | // iOS 16 can realize this class while enumerating Objective-C classes.
58 | // Keep ObservationRegistrar out of its instance layout until the singleton is used.
59 | private static let registrar = ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
| `- note: add '@available' attribute to enclosing static property
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:30:35: error: 'systemBlue' is unavailable in watchOS
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
31 | strokeWidth: CGFloat = 2,
32 | diameter: CGFloat = 44
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:62:39: error: 'UIWindow' is unavailable in watchOS
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
62 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
63 |
64 | private init() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:27: error: 'UIEvent' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:47: error: 'UIWindow' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:94:37: error: 'UIWindow' is unavailable in watchOS
92 | }
93 |
94 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
95 | if let overlay = overlays.object(forKey: window) {
96 | return overlay
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftCompile normal arm64 Compiling\ WindowEventHook.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:52: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:77: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:20:17: error: 'UIWindow' is unavailable in watchOS
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
22 | )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:21:27: error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
22 | )
23 | else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:32:74: error: 'UIEvent' is unavailable in watchOS
30 | @available(iOS 17, *)
31 | extension UIWindow {
32 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
33 | // Observe the event before dispatch invokes application code.
34 | TouchVisualizer.shared.receive(event, in: self)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowEventHook.swift
SwiftCompile normal arm64 Compiling\ TouchVisualizer+Configuration.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift (in target 'TouchVisualization' from project 'TouchVisualization')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TouchVisualizer+Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
SwiftEmitModule normal arm64 Emitting\ module\ for\ TouchVisualization (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:14:48: error: 'UIView' is unavailable in watchOS
12 | }
13 |
14 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
15 |
16 | init(frame: CGRect, configuration: TouchVisualizer.Configuration = .init()) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:29:37: error: 'systemBlue' is unavailable in watchOS
27 | /// Creates a configuration with the specified appearance.
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
31 | strokeWidth: CGFloat = 2,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift:30:35: error: 'systemBlue' is unavailable in watchOS
28 | public init(
29 | strokeColor: UIColor = .systemBlue,
30 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
31 | strokeWidth: CGFloat = 2,
32 | diameter: CGFloat = 44
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:76:51: error: 'UIView' is unavailable in watchOS
74 | }
75 |
76 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
77 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
78 | indicator.layer.cornerRadius = configuration.diameter / 2
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:7:31: error: 'UIView' is unavailable in watchOS
5 |
6 | @available(iOS 17, *)
7 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
8 | var configuration: TouchVisualizer.Configuration {
9 | didSet {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:59:36: error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
11 | @available(iOS 17, *)
12 | @MainActor
13 | public final class TouchVisualizer: Observable {
| `- note: add '@available' attribute to enclosing class
14 | /// The application's touch visualizer.
15 | public static let shared = TouchVisualizer()
:
57 | // iOS 16 can realize this class while enumerating Objective-C classes.
58 | // Keep ObservationRegistrar out of its instance layout until the singleton is used.
59 | private static let registrar = ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in watchOS 10.0 or newer
| `- note: add '@available' attribute to enclosing static property
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:62:39: error: 'UIWindow' is unavailable in watchOS
60 | private var enabled = false
61 | private var currentConfiguration = Configuration()
62 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
63 |
64 | private init() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:27: error: 'UIEvent' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:73:47: error: 'UIWindow' is unavailable in watchOS
71 | }
72 |
73 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
74 | guard isEnabled, event.type == .touches else { return }
75 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift:94:37: error: 'UIWindow' is unavailable in watchOS
92 | }
93 |
94 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
95 | if let overlay = overlays.object(forKey: window) {
96 | return overlay
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:52: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:18:77: error: 'UIWindow' is unavailable in watchOS
16 | private static let installation: Void = {
17 | guard
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:20:17: error: 'UIWindow' is unavailable in watchOS
18 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
22 | )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:21:27: error: 'UIWindow' is unavailable in watchOS
19 | let replacement = class_getInstanceMethod(
20 | UIWindow.self,
21 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
22 | )
23 | else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:32:74: error: 'UIEvent' is unavailable in watchOS
30 | @available(iOS 17, *)
31 | extension UIWindow {
32 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
33 | // Observe the event before dispatch invokes application code.
34 | TouchVisualizer.shared.receive(event, in: self)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:31:11: error: 'UIWindow' is unavailable in watchOS
29 |
30 | @available(iOS 17, *)
31 | extension UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
32 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
33 | // Observe the event before dispatch invokes application code.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualization.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchVisualizer+Configuration.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name TouchVisualization -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/TouchVisualization.build/Debug-watchos/TouchVisualization-t.build/Objects-normal/arm64/TouchVisualization.abi.json
SwiftCompile normal arm64 (in target 'TouchVisualization' from project 'TouchVisualization')
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-11-20 08:52:39.434 xcodebuild[789:4692] [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 'TouchVisualization' from project 'TouchVisualization')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ TouchVisualization (in target 'TouchVisualization' from project 'TouchVisualization')
SwiftEmitModule normal arm64 Emitting\ module\ for\ TouchVisualization (in target 'TouchVisualization' from project 'TouchVisualization')
SwiftCompile normal arm64 (in target 'TouchVisualization' from project 'TouchVisualization')
Building workspace TouchVisualization with scheme TouchVisualization
(5 failures)
BUILD FAILURE 6.4 watchOS