Build Information
Failed to build TouchVisualization, reference main (46d833), with Swift 6.4 for watchOS using Xcode 27.0 on 24 Oct 2026 22:13:50 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
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
21 | )
/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:27: error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
21 | )
22 | 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:30:74: error: 'UIEvent' is unavailable in watchOS
28 |
29 | extension UIWindow {
30 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
31 | // Observe the event before dispatch invokes application code.
32 | 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 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/TouchVisualizer+Configuration.swift:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:29:35: error: 'systemBlue' is unavailable in watchOS
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
30 | strokeWidth: CGFloat = 2,
31 | 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:43:39: error: 'UIWindow' is unavailable in watchOS
41 | }
42 |
43 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
44 |
45 | 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:54:27: error: 'UIEvent' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:54:47: error: 'UIWindow' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:75:37: error: 'UIWindow' is unavailable in watchOS
73 | }
74 |
75 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
76 | if let overlay = overlays.object(forKey: window) {
77 | 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 (in target 'TouchVisualization' from project 'TouchVisualization')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
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:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:13:48: error: 'UIView' is unavailable in watchOS
11 | }
12 |
13 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
14 |
15 | 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:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:29:35: error: 'systemBlue' is unavailable in watchOS
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
30 | strokeWidth: CGFloat = 2,
31 | 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:75:51: error: 'UIView' is unavailable in watchOS
73 | }
74 |
75 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
76 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
77 | 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:6:31: error: 'UIView' is unavailable in watchOS
4 | import UIKit
5 |
6 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | var configuration: TouchVisualizer.Configuration {
8 | 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:19:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
17 | super.init(frame: frame)
18 | isUserInteractionEnabled = false
19 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
/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:22:9: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:22:33: error: 'UITraitCollection' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'UITraitCollection' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:22:51: error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:23:41: error: 'UITraitCollection' is unavailable in watchOS
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
23 | (view: TouchOverlayView, _: UITraitCollection) in
| `- error: 'UITraitCollection' is unavailable in watchOS
24 | view.updateIndicators()
25 | }
/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:39:25: error: 'UIView' is unavailable in watchOS
37 | }
38 |
39 | let indicator = UIView()
| `- error: 'UIView' is unavailable in watchOS
40 | indicator.isUserInteractionEnabled = false
41 | 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:39:25: error: 'init()' is unavailable in watchOS
37 | }
38 |
39 | let indicator = UIView()
| `- error: 'init()' is unavailable in watchOS
40 | indicator.isUserInteractionEnabled = false
41 | 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:56:9: error: 'UIView' is unavailable in watchOS
54 | guard let indicator = indicators.removeValue(forKey: identifier) else { return }
55 |
56 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
57 | withDuration: 0.2,
58 | 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.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:79:65: error: 'resolvedColor(with:)' is unavailable in watchOS
77 | indicator.layer.cornerRadius = configuration.diameter / 2
78 | indicator.layer.borderWidth = configuration.strokeWidth
79 | indicator.layer.borderColor = configuration.strokeColor.resolvedColor(with: traitCollection).cgColor
| `- error: 'resolvedColor(with:)' is unavailable in watchOS
80 | indicator.backgroundColor = configuration.fillColor.resolvedColor(with: traitCollection)
81 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:148:1: note: 'resolvedColor(with:)' has been explicitly marked unavailable here
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
147 | */
148 | - (UIColor *)resolvedColorWithTraitCollection:(UITraitCollection *)traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'resolvedColor(with:)' has been explicitly marked unavailable here
149 |
150 | @end
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_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:17:52: error: 'UIWindow' is unavailable in watchOS
15 | private static let installation: Void = {
16 | guard
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | 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:17:77: error: 'UIWindow' is unavailable in watchOS
15 | private static let installation: Void = {
16 | guard
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | 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:19:17: error: 'UIWindow' is unavailable in watchOS
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
21 | )
/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:27: error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
21 | )
22 | 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:30:74: error: 'UIEvent' is unavailable in watchOS
28 |
29 | extension UIWindow {
30 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
31 | // Observe the event before dispatch invokes application code.
32 | 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
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ TouchVisualization (in target 'TouchVisualization' from project 'TouchVisualization')
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/TouchOverlayView.swift:13:48: error: 'UIView' is unavailable in watchOS
11 | }
12 |
13 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
14 |
15 | 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:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:29:35: error: 'systemBlue' is unavailable in watchOS
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
30 | strokeWidth: CGFloat = 2,
31 | 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:75:51: error: 'UIView' is unavailable in watchOS
73 | }
74 |
75 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
76 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
77 | 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:6:31: error: 'UIView' is unavailable in watchOS
4 | import UIKit
5 |
6 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | var configuration: TouchVisualizer.Configuration {
8 | 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:43:39: error: 'UIWindow' is unavailable in watchOS
41 | }
42 |
43 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
44 |
45 | 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:54:27: error: 'UIEvent' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:54:47: error: 'UIWindow' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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 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:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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\ 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:13:48: error: 'UIView' is unavailable in watchOS
11 | }
12 |
13 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
14 |
15 | 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:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:29:35: error: 'systemBlue' is unavailable in watchOS
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
30 | strokeWidth: CGFloat = 2,
31 | 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:75:51: error: 'UIView' is unavailable in watchOS
73 | }
74 |
75 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
76 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
77 | 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:6:31: error: 'UIView' is unavailable in watchOS
4 | import UIKit
5 |
6 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | var configuration: TouchVisualizer.Configuration {
8 | 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:19:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
17 | super.init(frame: frame)
18 | isUserInteractionEnabled = false
19 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
/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:22:9: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:22:33: error: 'UITraitCollection' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'UITraitCollection' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:22:51: error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:23:41: error: 'UITraitCollection' is unavailable in watchOS
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
23 | (view: TouchOverlayView, _: UITraitCollection) in
| `- error: 'UITraitCollection' is unavailable in watchOS
24 | view.updateIndicators()
25 | }
/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:39:25: error: 'UIView' is unavailable in watchOS
37 | }
38 |
39 | let indicator = UIView()
| `- error: 'UIView' is unavailable in watchOS
40 | indicator.isUserInteractionEnabled = false
41 | 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:39:25: error: 'init()' is unavailable in watchOS
37 | }
38 |
39 | let indicator = UIView()
| `- error: 'init()' is unavailable in watchOS
40 | indicator.isUserInteractionEnabled = false
41 | 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:56:9: error: 'UIView' is unavailable in watchOS
54 | guard let indicator = indicators.removeValue(forKey: identifier) else { return }
55 |
56 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
57 | withDuration: 0.2,
58 | 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 /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\ 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/TouchVisualizer+Configuration.swift:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:29:35: error: 'systemBlue' is unavailable in watchOS
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
30 | strokeWidth: CGFloat = 2,
31 | 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:43:39: error: 'UIWindow' is unavailable in watchOS
41 | }
42 |
43 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
44 |
45 | 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:54:27: error: 'UIEvent' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:54:47: error: 'UIWindow' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:75:37: error: 'UIWindow' is unavailable in watchOS
73 | }
74 |
75 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
76 | if let overlay = overlays.object(forKey: window) {
77 | 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
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-10-24 18:13:40.480 xcodebuild[630:3944] [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-10-24 18:13:46.574 xcodebuild[791:4620] [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" : "17.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-10-24 18:13:47.851 xcodebuild[799:4684] [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-watchos10.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-watchos10.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
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:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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\ WindowEventHook.swift /Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift (in target 'TouchVisualization' from project 'TouchVisualization')
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
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/WindowEventHook.swift:17:52: error: 'UIWindow' is unavailable in watchOS
15 | private static let installation: Void = {
16 | guard
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | 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:17:77: error: 'UIWindow' is unavailable in watchOS
15 | private static let installation: Void = {
16 | guard
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | 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:19:17: error: 'UIWindow' is unavailable in watchOS
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
21 | )
/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:27: error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
21 | )
22 | 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:30:74: error: 'UIEvent' is unavailable in watchOS
28 |
29 | extension UIWindow {
30 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
31 | // Observe the event before dispatch invokes application code.
32 | 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));
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ TouchVisualization (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:13:48: error: 'UIView' is unavailable in watchOS
11 | }
12 |
13 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
14 |
15 | 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:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:29:35: error: 'systemBlue' is unavailable in watchOS
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
30 | strokeWidth: CGFloat = 2,
31 | 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:75:51: error: 'UIView' is unavailable in watchOS
73 | }
74 |
75 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
76 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
77 | 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:6:31: error: 'UIView' is unavailable in watchOS
4 | import UIKit
5 |
6 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | var configuration: TouchVisualizer.Configuration {
8 | 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:43:39: error: 'UIWindow' is unavailable in watchOS
41 | }
42 |
43 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
44 |
45 | 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:54:27: error: 'UIEvent' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:54:47: error: 'UIWindow' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:75:37: error: 'UIWindow' is unavailable in watchOS
73 | }
74 |
75 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
76 | if let overlay = overlays.object(forKey: window) {
77 | 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:17:52: error: 'UIWindow' is unavailable in watchOS
15 | private static let installation: Void = {
16 | guard
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | 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:17:77: error: 'UIWindow' is unavailable in watchOS
15 | private static let installation: Void = {
16 | guard
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | 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:19:17: error: 'UIWindow' is unavailable in watchOS
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
21 | )
/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:27: error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
21 | )
22 | 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:30:74: error: 'UIEvent' is unavailable in watchOS
28 |
29 | extension UIWindow {
30 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
31 | // Observe the event before dispatch invokes application code.
32 | 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:29:11: error: 'UIWindow' is unavailable in watchOS
27 | }
28 |
29 | extension UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
30 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
31 | // 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-watchos10.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 (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')
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/TouchVisualizer+Configuration.swift:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:29:35: error: 'systemBlue' is unavailable in watchOS
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
30 | strokeWidth: CGFloat = 2,
31 | 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:43:39: error: 'UIWindow' is unavailable in watchOS
41 | }
42 |
43 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
44 |
45 | 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:54:27: error: 'UIEvent' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:54:47: error: 'UIWindow' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:75:37: error: 'UIWindow' is unavailable in watchOS
73 | }
74 |
75 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
76 | if let overlay = overlays.object(forKey: window) {
77 | 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.
SwiftEmitModule normal arm64 Emitting\ module\ for\ TouchVisualization (in target 'TouchVisualization' from project 'TouchVisualization')
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:13:48: error: 'UIView' is unavailable in watchOS
11 | }
12 |
13 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
14 |
15 | 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:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:29:35: error: 'systemBlue' is unavailable in watchOS
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
30 | strokeWidth: CGFloat = 2,
31 | 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:75:51: error: 'UIView' is unavailable in watchOS
73 | }
74 |
75 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
76 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
77 | 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:6:31: error: 'UIView' is unavailable in watchOS
4 | import UIKit
5 |
6 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | var configuration: TouchVisualizer.Configuration {
8 | 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:43:39: error: 'UIWindow' is unavailable in watchOS
41 | }
42 |
43 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
44 |
45 | 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:54:27: error: 'UIEvent' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:54:47: error: 'UIWindow' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:75:37: error: 'UIWindow' is unavailable in watchOS
73 | }
74 |
75 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
76 | if let overlay = overlays.object(forKey: window) {
77 | 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:17:52: error: 'UIWindow' is unavailable in watchOS
15 | private static let installation: Void = {
16 | guard
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | 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:17:77: error: 'UIWindow' is unavailable in watchOS
15 | private static let installation: Void = {
16 | guard
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | 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:19:17: error: 'UIWindow' is unavailable in watchOS
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
21 | )
/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:27: error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
21 | )
22 | 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:30:74: error: 'UIEvent' is unavailable in watchOS
28 |
29 | extension UIWindow {
30 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
31 | // Observe the event before dispatch invokes application code.
32 | 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:29:11: error: 'UIWindow' is unavailable in watchOS
27 | }
28 |
29 | extension UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
30 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
31 | // 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-watchos10.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
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:13:48: error: 'UIView' is unavailable in watchOS
11 | }
12 |
13 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
14 |
15 | 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:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:29:35: error: 'systemBlue' is unavailable in watchOS
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
30 | strokeWidth: CGFloat = 2,
31 | 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:75:51: error: 'UIView' is unavailable in watchOS
73 | }
74 |
75 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
76 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
77 | 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:6:31: error: 'UIView' is unavailable in watchOS
4 | import UIKit
5 |
6 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | var configuration: TouchVisualizer.Configuration {
8 | 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:19:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
17 | super.init(frame: frame)
18 | isUserInteractionEnabled = false
19 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
/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:22:9: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:22:33: error: 'UITraitCollection' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'UITraitCollection' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:22:51: error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:23:41: error: 'UITraitCollection' is unavailable in watchOS
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
23 | (view: TouchOverlayView, _: UITraitCollection) in
| `- error: 'UITraitCollection' is unavailable in watchOS
24 | view.updateIndicators()
25 | }
/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:39:25: error: 'UIView' is unavailable in watchOS
37 | }
38 |
39 | let indicator = UIView()
| `- error: 'UIView' is unavailable in watchOS
40 | indicator.isUserInteractionEnabled = false
41 | 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:39:25: error: 'init()' is unavailable in watchOS
37 | }
38 |
39 | let indicator = UIView()
| `- error: 'init()' is unavailable in watchOS
40 | indicator.isUserInteractionEnabled = false
41 | 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:56:9: error: 'UIView' is unavailable in watchOS
54 | guard let indicator = indicators.removeValue(forKey: identifier) else { return }
55 |
56 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
57 | withDuration: 0.2,
58 | 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.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:79:65: error: 'resolvedColor(with:)' is unavailable in watchOS
77 | indicator.layer.cornerRadius = configuration.diameter / 2
78 | indicator.layer.borderWidth = configuration.strokeWidth
79 | indicator.layer.borderColor = configuration.strokeColor.resolvedColor(with: traitCollection).cgColor
| `- error: 'resolvedColor(with:)' is unavailable in watchOS
80 | indicator.backgroundColor = configuration.fillColor.resolvedColor(with: traitCollection)
81 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:148:1: note: 'resolvedColor(with:)' has been explicitly marked unavailable here
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
147 | */
148 | - (UIColor *)resolvedColorWithTraitCollection:(UITraitCollection *)traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'resolvedColor(with:)' has been explicitly marked unavailable here
149 |
150 | @end
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_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:17:52: error: 'UIWindow' is unavailable in watchOS
15 | private static let installation: Void = {
16 | guard
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | 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:17:77: error: 'UIWindow' is unavailable in watchOS
15 | private static let installation: Void = {
16 | guard
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
| `- error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | 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:19:17: error: 'UIWindow' is unavailable in watchOS
17 | let original = class_getInstanceMethod(UIWindow.self, #selector(UIWindow.sendEvent(_:))),
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
| `- error: 'UIWindow' is unavailable in watchOS
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
21 | )
/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:27: error: 'UIWindow' is unavailable in watchOS
18 | let replacement = class_getInstanceMethod(
19 | UIWindow.self,
20 | #selector(UIWindow.touchVisualization_sendEvent(_:))
| `- error: 'UIWindow' is unavailable in watchOS
21 | )
22 | 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:30:74: error: 'UIEvent' is unavailable in watchOS
28 |
29 | extension UIWindow {
30 | @objc dynamic fileprivate func touchVisualization_sendEvent(_ event: UIEvent) {
| `- error: 'UIEvent' is unavailable in watchOS
31 | // Observe the event before dispatch invokes application code.
32 | 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_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:13:48: error: 'UIView' is unavailable in watchOS
11 | }
12 |
13 | private var indicators: [ObjectIdentifier: UIView] = [:]
| `- error: 'UIView' is unavailable in watchOS
14 |
15 | 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:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:29:35: error: 'systemBlue' is unavailable in watchOS
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
30 | strokeWidth: CGFloat = 2,
31 | 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:75:51: error: 'UIView' is unavailable in watchOS
73 | }
74 |
75 | private func applyConfiguration(to indicator: UIView) {
| `- error: 'UIView' is unavailable in watchOS
76 | indicator.bounds.size = CGSize(width: configuration.diameter, height: configuration.diameter)
77 | 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:6:31: error: 'UIView' is unavailable in watchOS
4 | import UIKit
5 |
6 | final class TouchOverlayView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | var configuration: TouchVisualizer.Configuration {
8 | 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:19:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
17 | super.init(frame: frame)
18 | isUserInteractionEnabled = false
19 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
/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:22:9: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:22:33: error: 'UITraitCollection' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'UITraitCollection' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:22:51: error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
20 | backgroundColor = .clear
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
| `- error: 'systemTraitsAffectingColorAppearance' is unavailable in watchOS
23 | (view: TouchOverlayView, _: UITraitCollection) in
24 | 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:23:41: error: 'UITraitCollection' is unavailable in watchOS
21 |
22 | registerForTraitChanges(UITraitCollection.systemTraitsAffectingColorAppearance) {
23 | (view: TouchOverlayView, _: UITraitCollection) in
| `- error: 'UITraitCollection' is unavailable in watchOS
24 | view.updateIndicators()
25 | }
/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:39:25: error: 'UIView' is unavailable in watchOS
37 | }
38 |
39 | let indicator = UIView()
| `- error: 'UIView' is unavailable in watchOS
40 | indicator.isUserInteractionEnabled = false
41 | 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:39:25: error: 'init()' is unavailable in watchOS
37 | }
38 |
39 | let indicator = UIView()
| `- error: 'init()' is unavailable in watchOS
40 | indicator.isUserInteractionEnabled = false
41 | 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:56:9: error: 'UIView' is unavailable in watchOS
54 | guard let indicator = indicators.removeValue(forKey: identifier) else { return }
55 |
56 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
57 | withDuration: 0.2,
58 | 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.
/Users/admin/builder/spi-builder-workspace/Sources/TouchVisualization/TouchOverlayView.swift:79:65: error: 'resolvedColor(with:)' is unavailable in watchOS
77 | indicator.layer.cornerRadius = configuration.diameter / 2
78 | indicator.layer.borderWidth = configuration.strokeWidth
79 | indicator.layer.borderColor = configuration.strokeColor.resolvedColor(with: traitCollection).cgColor
| `- error: 'resolvedColor(with:)' is unavailable in watchOS
80 | indicator.backgroundColor = configuration.fillColor.resolvedColor(with: traitCollection)
81 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:148:1: note: 'resolvedColor(with:)' has been explicitly marked unavailable here
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
147 | */
148 | - (UIColor *)resolvedColorWithTraitCollection:(UITraitCollection *)traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'resolvedColor(with:)' has been explicitly marked unavailable here
149 |
150 | @end
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')
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:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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\ 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/TouchVisualizer+Configuration.swift:28:37: error: 'systemBlue' is unavailable in watchOS
26 | /// Creates a configuration with the specified appearance.
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
30 | 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:29:35: error: 'systemBlue' is unavailable in watchOS
27 | public init(
28 | strokeColor: UIColor = .systemBlue,
29 | fillColor: UIColor = .systemBlue.withAlphaComponent(0.5),
| `- error: 'systemBlue' is unavailable in watchOS
30 | strokeWidth: CGFloat = 2,
31 | 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:43:39: error: 'UIWindow' is unavailable in watchOS
41 | }
42 |
43 | private let overlays = NSMapTable<UIWindow, TouchOverlayView>.weakToStrongObjects()
| `- error: 'UIWindow' is unavailable in watchOS
44 |
45 | 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:54:27: error: 'UIEvent' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIEvent' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:54:47: error: 'UIWindow' is unavailable in watchOS
52 | }
53 |
54 | func receive(_ event: UIEvent, in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
55 | guard isEnabled, event.type == .touches else { return }
56 |
/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:75:37: error: 'UIWindow' is unavailable in watchOS
73 | }
74 |
75 | private func overlay(in window: UIWindow) -> TouchOverlayView {
| `- error: 'UIWindow' is unavailable in watchOS
76 | if let overlay = overlays.object(forKey: window) {
77 | 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.
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-10-24 18:13:48.908 xcodebuild[800:4713] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ TouchVisualization (in target 'TouchVisualization' from project 'TouchVisualization')
SwiftCompile normal arm64_32 (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