The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ViewOnTouch, reference main (4e6dec), with Swift 6.4 for watchOS using Xcode 27.0 on 21 Sep 2026 09:05:49 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ViewOnTouch -destination generic/platform=watchOS

Build Log

118 |             let g = UITapGestureRecognizer(target: self, action: #selector(tapGestureAction(gesture:)))
    |                     `- error: 'UITapGestureRecognizer' is unavailable in watchOS
119 |             g.delegate = tapGestureDelegate
120 |             g.cancelsTouchesInView = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger  numberOfTapsRequired;       // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:123:45: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
121 |             return g
122 |         }()
123 |         private lazy var longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureAction(gesture:)))
    |                                             `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
124 |         private lazy var tapGestureDelegate = TouchLocatingGestureDelegate(start: {[weak self] touch in
125 |             guard let self else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:136:54: error: 'UIGestureRecognizer' is unavailable in watchOS
134 |         }
135 |
136 |         @objc private func tapGestureAction(gesture: UIGestureRecognizer) {
    |                                                      `- error: 'UIGestureRecognizer' is unavailable in watchOS
137 |             let location = gesture.location(in: self)
138 |             send(location, forEvent: .tapGesture)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:141:60: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
139 |         }
140 |
141 |         @objc private func longPressGestureAction(gesture: UILongPressGestureRecognizer) {
    |                                                            `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
142 |             let location = gesture.location(in: self)
143 |             if gesture.state == .began {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:51: error: 'UITouch' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:73: error: 'UIEvent' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:161:51: error: 'UITouch' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:161:73: error: 'UIEvent' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:169:51: error: 'UITouch' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:169:73: error: 'UIEvent' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:177:55: error: 'UITouch' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                       `- error: 'UITouch' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:177:77: error: 'UIEvent' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                             `- error: 'UIEvent' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:94:32: error: 'UIView' is unavailable in watchOS
 92 |
 93 |     // The internal UIView responsible for catching taps
 94 |     class TouchLocatingUIView: UIView {
    |                                `- error: 'UIView' is unavailable in watchOS
 95 |         // Internal copies of our settings
 96 |         var onUpdate: ((CGPoint, OnTouchType) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:53:27: error: cannot find type 'UIViewRepresentable' in scope
 51 | }
 52 |
 53 | struct TouchLocatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 54 |     // A closure to call when touch data has arrived
 55 |     var onUpdate: (CGPoint, OnTouchType) -> Void
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ViewOnTouch -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch_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-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch.abi.json
SwiftCompile normal arm64 (in target 'ViewOnTouch' from project 'ViewOnTouch')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ View+OnTouch.swift /Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift (in target 'ViewOnTouch' from project 'ViewOnTouch')
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:63:30: error: cannot find type 'Context' in scope
 61 |     var limitToBounds = true
 62 |
 63 |     func makeUIView(context: Context) -> TouchLocatingUIView {
    |                              `- error: cannot find type 'Context' in scope
 64 |         // Create the underlying UIView, passing in our configuration
 65 |         let view = TouchLocatingUIView()
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:72:63: error: cannot find type 'Context' in scope
 70 |     }
 71 |
 72 |     func updateUIView(_ uiView: TouchLocatingUIView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:76:21: error: 'UITouch' is unavailable in watchOS
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
 76 |         let start: (UITouch) -> Void
    |                     `- error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:79:32: error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
 79 |         init(start: @escaping (UITouch) -> Void) {
    |                                `- error: 'UITouch' is unavailable in watchOS
 80 |             self.start = start
 81 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:95: error: 'UITouch' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                                                               `- error: 'UITouch' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:14: error: cannot override 'gestureRecognizer' which has been marked unavailable
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |              `- error: cannot override 'gestureRecognizer' which has been marked unavailable
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:117:1: note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
115 | // called once before either -gestureRecognizer:shouldReceiveTouch: or -gestureRecognizer:shouldReceivePress:
116 | // return NO to prevent the gesture recognizer from seeing this event
117 | - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveEvent:(UIEvent *)event API_AVAILABLE(ios(13.4), tvos(13.4)) API_UNAVAILABLE(watchos);
    | `- note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
118 |
119 | @end
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:95: error: 'UIEvent' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                                                               `- error: 'UIEvent' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.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/View+OnTouch.swift:75:59: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 73 |     }
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
    |                                                           `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 76 |         let start: (UITouch) -> Void
 77 |         var shouldStart: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 89 |
 90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 91 | @protocol UIGestureRecognizerDelegate <NSObject>
    |           `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 92 | @optional
 93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:118:21: error: 'UITapGestureRecognizer' is unavailable in watchOS
116 |
117 |         private lazy var tapGesture = {
118 |             let g = UITapGestureRecognizer(target: self, action: #selector(tapGestureAction(gesture:)))
    |                     `- error: 'UITapGestureRecognizer' is unavailable in watchOS
119 |             g.delegate = tapGestureDelegate
120 |             g.cancelsTouchesInView = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger  numberOfTapsRequired;       // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:123:45: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
121 |             return g
122 |         }()
123 |         private lazy var longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureAction(gesture:)))
    |                                             `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
124 |         private lazy var tapGestureDelegate = TouchLocatingGestureDelegate(start: {[weak self] touch in
125 |             guard let self else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:136:54: error: 'UIGestureRecognizer' is unavailable in watchOS
134 |         }
135 |
136 |         @objc private func tapGestureAction(gesture: UIGestureRecognizer) {
    |                                                      `- error: 'UIGestureRecognizer' is unavailable in watchOS
137 |             let location = gesture.location(in: self)
138 |             send(location, forEvent: .tapGesture)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:141:60: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
139 |         }
140 |
141 |         @objc private func longPressGestureAction(gesture: UILongPressGestureRecognizer) {
    |                                                            `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
142 |             let location = gesture.location(in: self)
143 |             if gesture.state == .began {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:51: error: 'UITouch' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:73: error: 'UIEvent' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:161:51: error: 'UITouch' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:161:73: error: 'UIEvent' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:169:51: error: 'UITouch' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:169:73: error: 'UIEvent' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift (in target 'ViewOnTouch' from project 'ViewOnTouch')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile View+OnTouch.swift
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:177:55: error: 'UITouch' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                       `- error: 'UITouch' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:177:77: error: 'UIEvent' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                             `- error: 'UIEvent' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:94:32: error: 'UIView' is unavailable in watchOS
 92 |
 93 |     // The internal UIView responsible for catching taps
 94 |     class TouchLocatingUIView: UIView {
    |                                `- error: 'UIView' is unavailable in watchOS
 95 |         // Internal copies of our settings
 96 |         var onUpdate: ((CGPoint, OnTouchType) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:53:27: error: cannot find type 'UIViewRepresentable' in scope
 51 | }
 52 |
 53 | struct TouchLocatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 54 |     // A closure to call when touch data has arrived
 55 |     var onUpdate: (CGPoint, OnTouchType) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:47:14: error: instance method 'overlay(_:ignoresSafeAreaEdges:)' requires that 'TouchLocatingView' conform to 'ShapeStyle'
 45 |     func body(content: Content) -> some View {
 46 |         content
 47 |             .overlay(
    |              `- error: instance method 'overlay(_:ignoresSafeAreaEdges:)' requires that 'TouchLocatingView' conform to 'ShapeStyle'
 48 |                 TouchLocatingView(onUpdate: perform, types: type, limitToBounds: limitToBounds)
 49 |             )
SwiftUI.View.overlay:2:36: note: where 'S' = 'TouchLocatingView'
1 | protocol View {
2 | @inlinable nonisolated public func overlay<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'TouchLocatingView'
3 |   }
4 |
SwiftCompile normal arm64_32 Compiling\ View+OnTouch.swift /Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift (in target 'ViewOnTouch' from project 'ViewOnTouch')
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:63:30: error: cannot find type 'Context' in scope
 61 |     var limitToBounds = true
 62 |
 63 |     func makeUIView(context: Context) -> TouchLocatingUIView {
    |                              `- error: cannot find type 'Context' in scope
 64 |         // Create the underlying UIView, passing in our configuration
 65 |         let view = TouchLocatingUIView()
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:72:63: error: cannot find type 'Context' in scope
 70 |     }
 71 |
 72 |     func updateUIView(_ uiView: TouchLocatingUIView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:76:21: error: 'UITouch' is unavailable in watchOS
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
 76 |         let start: (UITouch) -> Void
    |                     `- error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:79:32: error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
 79 |         init(start: @escaping (UITouch) -> Void) {
    |                                `- error: 'UITouch' is unavailable in watchOS
 80 |             self.start = start
 81 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:95: error: 'UITouch' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                                                               `- error: 'UITouch' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:14: error: cannot override 'gestureRecognizer' which has been marked unavailable
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |              `- error: cannot override 'gestureRecognizer' which has been marked unavailable
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:117:1: note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
115 | // called once before either -gestureRecognizer:shouldReceiveTouch: or -gestureRecognizer:shouldReceivePress:
116 | // return NO to prevent the gesture recognizer from seeing this event
117 | - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveEvent:(UIEvent *)event API_AVAILABLE(ios(13.4), tvos(13.4)) API_UNAVAILABLE(watchos);
    | `- note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
118 |
119 | @end
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:95: error: 'UIEvent' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                                                               `- error: 'UIEvent' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.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/View+OnTouch.swift:75:59: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 73 |     }
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
    |                                                           `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 76 |         let start: (UITouch) -> Void
 77 |         var shouldStart: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 89 |
 90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 91 | @protocol UIGestureRecognizerDelegate <NSObject>
    |           `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 92 | @optional
 93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:118:21: error: 'UITapGestureRecognizer' is unavailable in watchOS
116 |
117 |         private lazy var tapGesture = {
118 |             let g = UITapGestureRecognizer(target: self, action: #selector(tapGestureAction(gesture:)))
    |                     `- error: 'UITapGestureRecognizer' is unavailable in watchOS
119 |             g.delegate = tapGestureDelegate
120 |             g.cancelsTouchesInView = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger  numberOfTapsRequired;       // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:123:45: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
121 |             return g
122 |         }()
123 |         private lazy var longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureAction(gesture:)))
    |                                             `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
124 |         private lazy var tapGestureDelegate = TouchLocatingGestureDelegate(start: {[weak self] touch in
125 |             guard let self else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:136:54: error: 'UIGestureRecognizer' is unavailable in watchOS
134 |         }
135 |
136 |         @objc private func tapGestureAction(gesture: UIGestureRecognizer) {
    |                                                      `- error: 'UIGestureRecognizer' is unavailable in watchOS
137 |             let location = gesture.location(in: self)
138 |             send(location, forEvent: .tapGesture)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:141:60: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
139 |         }
140 |
141 |         @objc private func longPressGestureAction(gesture: UILongPressGestureRecognizer) {
    |                                                            `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
142 |             let location = gesture.location(in: self)
143 |             if gesture.state == .began {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:51: error: 'UITouch' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:73: error: 'UIEvent' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:161:51: error: 'UITouch' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:161:73: error: 'UIEvent' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:169:51: error: 'UITouch' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:169:73: error: 'UIEvent' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift (in target 'ViewOnTouch' from project 'ViewOnTouch')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile View+OnTouch.swift
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:177:55: error: 'UITouch' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                       `- error: 'UITouch' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:177:77: error: 'UIEvent' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                             `- error: 'UIEvent' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:94:32: error: 'UIView' is unavailable in watchOS
 92 |
 93 |     // The internal UIView responsible for catching taps
 94 |     class TouchLocatingUIView: UIView {
    |                                `- error: 'UIView' is unavailable in watchOS
 95 |         // Internal copies of our settings
 96 |         var onUpdate: ((CGPoint, OnTouchType) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:53:27: error: cannot find type 'UIViewRepresentable' in scope
 51 | }
 52 |
 53 | struct TouchLocatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 54 |     // A closure to call when touch data has arrived
 55 |     var onUpdate: (CGPoint, OnTouchType) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:47:14: error: instance method 'overlay(_:ignoresSafeAreaEdges:)' requires that 'TouchLocatingView' conform to 'ShapeStyle'
 45 |     func body(content: Content) -> some View {
 46 |         content
 47 |             .overlay(
    |              `- error: instance method 'overlay(_:ignoresSafeAreaEdges:)' requires that 'TouchLocatingView' conform to 'ShapeStyle'
 48 |                 TouchLocatingView(onUpdate: perform, types: type, limitToBounds: limitToBounds)
 49 |             )
SwiftUI.View.overlay:2:36: note: where 'S' = 'TouchLocatingView'
1 | protocol View {
2 | @inlinable nonisolated public func overlay<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'TouchLocatingView'
3 |   }
4 |
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-21 05:05:39.327 xcodebuild[627:4009] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64_32 (in target 'ViewOnTouch' from project 'ViewOnTouch')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ViewOnTouch (in target 'ViewOnTouch' from project 'ViewOnTouch')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ ViewOnTouch (in target 'ViewOnTouch' from project 'ViewOnTouch')
	SwiftCompile normal arm64 (in target 'ViewOnTouch' from project 'ViewOnTouch')
	Building workspace ViewOnTouch with scheme ViewOnTouch
(5 failures)
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  ViewOnTouch: /Users/admin/builder/spi-builder-workspace
resolved source packages: ViewOnTouch
2026-09-21 05:05:46.195 xcodebuild[794:4742] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ViewOnTouch",
  "name" : "ViewOnTouch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "ViewOnTouch",
      "targets" : [
        "ViewOnTouch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ViewOnTouchTests",
      "module_type" : "SwiftTarget",
      "name" : "ViewOnTouchTests",
      "path" : "Tests/ViewOnTouchTests",
      "sources" : [
        "ViewOnTouchTests.swift"
      ],
      "target_dependencies" : [
        "ViewOnTouch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ViewOnTouch",
      "module_type" : "SwiftTarget",
      "name" : "ViewOnTouch",
      "path" : "Sources",
      "product_memberships" : [
        "ViewOnTouch"
      ],
      "sources" : [
        "View+OnTouch.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
{
  "workspace" : {
    "name" : "ViewOnTouch",
    "schemes" : [
      "ViewOnTouch"
    ]
  }
}
2026-09-21 05:05:47.426 xcodebuild[802:4811] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ViewOnTouch -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.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 ViewOnTouch -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  ViewOnTouch: /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 'ViewOnTouch-product' in project 'ViewOnTouch'
        ➜ Explicit dependency on target 'ViewOnTouch' in project 'ViewOnTouch'
    Target 'ViewOnTouch' in project 'ViewOnTouch' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver ViewOnTouch normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ViewOnTouch' from project 'ViewOnTouch')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name ViewOnTouch -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch-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/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch_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/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-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/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ViewOnTouch normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ViewOnTouch' from project 'ViewOnTouch')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name ViewOnTouch -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -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 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch-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/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch_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/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-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/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ViewOnTouch (in target 'ViewOnTouch' from project 'ViewOnTouch')
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:63:30: error: cannot find type 'Context' in scope
 61 |     var limitToBounds = true
 62 |
 63 |     func makeUIView(context: Context) -> TouchLocatingUIView {
    |                              `- error: cannot find type 'Context' in scope
 64 |         // Create the underlying UIView, passing in our configuration
 65 |         let view = TouchLocatingUIView()
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:72:63: error: cannot find type 'Context' in scope
 70 |     }
 71 |
 72 |     func updateUIView(_ uiView: TouchLocatingUIView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:76:21: error: 'UITouch' is unavailable in watchOS
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
 76 |         let start: (UITouch) -> Void
    |                     `- error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:79:32: error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
 79 |         init(start: @escaping (UITouch) -> Void) {
    |                                `- error: 'UITouch' is unavailable in watchOS
 80 |             self.start = start
 81 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:95: error: 'UITouch' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                                                               `- error: 'UITouch' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:14: error: cannot override 'gestureRecognizer' which has been marked unavailable
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |              `- error: cannot override 'gestureRecognizer' which has been marked unavailable
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:117:1: note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
115 | // called once before either -gestureRecognizer:shouldReceiveTouch: or -gestureRecognizer:shouldReceivePress:
116 | // return NO to prevent the gesture recognizer from seeing this event
117 | - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveEvent:(UIEvent *)event API_AVAILABLE(ios(13.4), tvos(13.4)) API_UNAVAILABLE(watchos);
    | `- note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
118 |
119 | @end
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:95: error: 'UIEvent' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                                                               `- error: 'UIEvent' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.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/View+OnTouch.swift:75:59: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 73 |     }
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
    |                                                           `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 76 |         let start: (UITouch) -> Void
 77 |         var shouldStart: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 89 |
 90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 91 | @protocol UIGestureRecognizerDelegate <NSObject>
    |           `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 92 | @optional
 93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:118:21: error: 'UITapGestureRecognizer' is unavailable in watchOS
116 |
117 |         private lazy var tapGesture = {
118 |             let g = UITapGestureRecognizer(target: self, action: #selector(tapGestureAction(gesture:)))
    |                     `- error: 'UITapGestureRecognizer' is unavailable in watchOS
119 |             g.delegate = tapGestureDelegate
120 |             g.cancelsTouchesInView = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger  numberOfTapsRequired;       // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:123:45: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
121 |             return g
122 |         }()
123 |         private lazy var longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureAction(gesture:)))
    |                                             `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
124 |         private lazy var tapGestureDelegate = TouchLocatingGestureDelegate(start: {[weak self] touch in
125 |             guard let self else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:136:54: error: 'UIGestureRecognizer' is unavailable in watchOS
134 |         }
135 |
136 |         @objc private func tapGestureAction(gesture: UIGestureRecognizer) {
    |                                                      `- error: 'UIGestureRecognizer' is unavailable in watchOS
137 |             let location = gesture.location(in: self)
138 |             send(location, forEvent: .tapGesture)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:141:60: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
139 |         }
140 |
141 |         @objc private func longPressGestureAction(gesture: UILongPressGestureRecognizer) {
    |                                                            `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
142 |             let location = gesture.location(in: self)
143 |             if gesture.state == .began {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:51: error: 'UITouch' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:73: error: 'UIEvent' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:161:51: error: 'UITouch' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:161:73: error: 'UIEvent' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:169:51: error: 'UITouch' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:169:73: error: 'UIEvent' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:177:55: error: 'UITouch' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                       `- error: 'UITouch' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:177:77: error: 'UIEvent' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                             `- error: 'UIEvent' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:94:32: error: 'UIView' is unavailable in watchOS
 92 |
 93 |     // The internal UIView responsible for catching taps
 94 |     class TouchLocatingUIView: UIView {
    |                                `- error: 'UIView' is unavailable in watchOS
 95 |         // Internal copies of our settings
 96 |         var onUpdate: ((CGPoint, OnTouchType) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:53:27: error: cannot find type 'UIViewRepresentable' in scope
 51 | }
 52 |
 53 | struct TouchLocatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 54 |     // A closure to call when touch data has arrived
 55 |     var onUpdate: (CGPoint, OnTouchType) -> Void
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'ViewOnTouch' from project 'ViewOnTouch')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ViewOnTouch -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64_32/ViewOnTouch.abi.json
SwiftCompile normal arm64 Compiling\ View+OnTouch.swift /Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift (in target 'ViewOnTouch' from project 'ViewOnTouch')
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:63:30: error: cannot find type 'Context' in scope
 61 |     var limitToBounds = true
 62 |
 63 |     func makeUIView(context: Context) -> TouchLocatingUIView {
    |                              `- error: cannot find type 'Context' in scope
 64 |         // Create the underlying UIView, passing in our configuration
 65 |         let view = TouchLocatingUIView()
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:72:63: error: cannot find type 'Context' in scope
 70 |     }
 71 |
 72 |     func updateUIView(_ uiView: TouchLocatingUIView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:76:21: error: 'UITouch' is unavailable in watchOS
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
 76 |         let start: (UITouch) -> Void
    |                     `- error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:79:32: error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
 79 |         init(start: @escaping (UITouch) -> Void) {
    |                                `- error: 'UITouch' is unavailable in watchOS
 80 |             self.start = start
 81 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:95: error: 'UITouch' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                                                               `- error: 'UITouch' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:14: error: cannot override 'gestureRecognizer' which has been marked unavailable
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |              `- error: cannot override 'gestureRecognizer' which has been marked unavailable
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:117:1: note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
115 | // called once before either -gestureRecognizer:shouldReceiveTouch: or -gestureRecognizer:shouldReceivePress:
116 | // return NO to prevent the gesture recognizer from seeing this event
117 | - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveEvent:(UIEvent *)event API_AVAILABLE(ios(13.4), tvos(13.4)) API_UNAVAILABLE(watchos);
    | `- note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
118 |
119 | @end
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:95: error: 'UIEvent' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                                                               `- error: 'UIEvent' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.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/View+OnTouch.swift:75:59: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 73 |     }
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
    |                                                           `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 76 |         let start: (UITouch) -> Void
 77 |         var shouldStart: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 89 |
 90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 91 | @protocol UIGestureRecognizerDelegate <NSObject>
    |           `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 92 | @optional
 93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:118:21: error: 'UITapGestureRecognizer' is unavailable in watchOS
116 |
117 |         private lazy var tapGesture = {
118 |             let g = UITapGestureRecognizer(target: self, action: #selector(tapGestureAction(gesture:)))
    |                     `- error: 'UITapGestureRecognizer' is unavailable in watchOS
119 |             g.delegate = tapGestureDelegate
120 |             g.cancelsTouchesInView = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger  numberOfTapsRequired;       // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:123:45: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
121 |             return g
122 |         }()
123 |         private lazy var longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureAction(gesture:)))
    |                                             `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
124 |         private lazy var tapGestureDelegate = TouchLocatingGestureDelegate(start: {[weak self] touch in
125 |             guard let self else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:136:54: error: 'UIGestureRecognizer' is unavailable in watchOS
134 |         }
135 |
136 |         @objc private func tapGestureAction(gesture: UIGestureRecognizer) {
    |                                                      `- error: 'UIGestureRecognizer' is unavailable in watchOS
137 |             let location = gesture.location(in: self)
138 |             send(location, forEvent: .tapGesture)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:141:60: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
139 |         }
140 |
141 |         @objc private func longPressGestureAction(gesture: UILongPressGestureRecognizer) {
    |                                                            `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
142 |             let location = gesture.location(in: self)
143 |             if gesture.state == .began {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:51: error: 'UITouch' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:73: error: 'UIEvent' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:161:51: error: 'UITouch' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:161:73: error: 'UIEvent' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:169:51: error: 'UITouch' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:169:73: error: 'UIEvent' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift (in target 'ViewOnTouch' from project 'ViewOnTouch')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile View+OnTouch.swift
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:177:55: error: 'UITouch' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                       `- error: 'UITouch' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:177:77: error: 'UIEvent' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                             `- error: 'UIEvent' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:94:32: error: 'UIView' is unavailable in watchOS
 92 |
 93 |     // The internal UIView responsible for catching taps
 94 |     class TouchLocatingUIView: UIView {
    |                                `- error: 'UIView' is unavailable in watchOS
 95 |         // Internal copies of our settings
 96 |         var onUpdate: ((CGPoint, OnTouchType) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:53:27: error: cannot find type 'UIViewRepresentable' in scope
 51 | }
 52 |
 53 | struct TouchLocatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 54 |     // A closure to call when touch data has arrived
 55 |     var onUpdate: (CGPoint, OnTouchType) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:47:14: error: instance method 'overlay(_:ignoresSafeAreaEdges:)' requires that 'TouchLocatingView' conform to 'ShapeStyle'
 45 |     func body(content: Content) -> some View {
 46 |         content
 47 |             .overlay(
    |              `- error: instance method 'overlay(_:ignoresSafeAreaEdges:)' requires that 'TouchLocatingView' conform to 'ShapeStyle'
 48 |                 TouchLocatingView(onUpdate: perform, types: type, limitToBounds: limitToBounds)
 49 |             )
SwiftUI.View.overlay:2:36: note: where 'S' = 'TouchLocatingView'
1 | protocol View {
2 | @inlinable nonisolated public func overlay<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'TouchLocatingView'
3 |   }
4 |
SwiftEmitModule normal arm64 Emitting\ module\ for\ ViewOnTouch (in target 'ViewOnTouch' from project 'ViewOnTouch')
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:63:30: error: cannot find type 'Context' in scope
 61 |     var limitToBounds = true
 62 |
 63 |     func makeUIView(context: Context) -> TouchLocatingUIView {
    |                              `- error: cannot find type 'Context' in scope
 64 |         // Create the underlying UIView, passing in our configuration
 65 |         let view = TouchLocatingUIView()
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:72:63: error: cannot find type 'Context' in scope
 70 |     }
 71 |
 72 |     func updateUIView(_ uiView: TouchLocatingUIView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:76:21: error: 'UITouch' is unavailable in watchOS
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
 76 |         let start: (UITouch) -> Void
    |                     `- error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:79:32: error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
 79 |         init(start: @escaping (UITouch) -> Void) {
    |                                `- error: 'UITouch' is unavailable in watchOS
 80 |             self.start = start
 81 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:95: error: 'UITouch' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                                                               `- error: 'UITouch' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:14: error: cannot override 'gestureRecognizer' which has been marked unavailable
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |              `- error: cannot override 'gestureRecognizer' which has been marked unavailable
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:117:1: note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
115 | // called once before either -gestureRecognizer:shouldReceiveTouch: or -gestureRecognizer:shouldReceivePress:
116 | // return NO to prevent the gesture recognizer from seeing this event
117 | - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveEvent:(UIEvent *)event API_AVAILABLE(ios(13.4), tvos(13.4)) API_UNAVAILABLE(watchos);
    | `- note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
118 |
119 | @end
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:95: error: 'UIEvent' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                                                               `- error: 'UIEvent' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.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/View+OnTouch.swift:75:59: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 73 |     }
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
    |                                                           `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 76 |         let start: (UITouch) -> Void
 77 |         var shouldStart: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 89 |
 90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 91 | @protocol UIGestureRecognizerDelegate <NSObject>
    |           `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 92 | @optional
 93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:118:21: error: 'UITapGestureRecognizer' is unavailable in watchOS
116 |
117 |         private lazy var tapGesture = {
118 |             let g = UITapGestureRecognizer(target: self, action: #selector(tapGestureAction(gesture:)))
    |                     `- error: 'UITapGestureRecognizer' is unavailable in watchOS
119 |             g.delegate = tapGestureDelegate
120 |             g.cancelsTouchesInView = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger  numberOfTapsRequired;       // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:123:45: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
121 |             return g
122 |         }()
123 |         private lazy var longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureAction(gesture:)))
    |                                             `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
124 |         private lazy var tapGestureDelegate = TouchLocatingGestureDelegate(start: {[weak self] touch in
125 |             guard let self else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:136:54: error: 'UIGestureRecognizer' is unavailable in watchOS
134 |         }
135 |
136 |         @objc private func tapGestureAction(gesture: UIGestureRecognizer) {
    |                                                      `- error: 'UIGestureRecognizer' is unavailable in watchOS
137 |             let location = gesture.location(in: self)
138 |             send(location, forEvent: .tapGesture)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:141:60: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
139 |         }
140 |
141 |         @objc private func longPressGestureAction(gesture: UILongPressGestureRecognizer) {
    |                                                            `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
142 |             let location = gesture.location(in: self)
143 |             if gesture.state == .began {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:51: error: 'UITouch' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:73: error: 'UIEvent' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:161:51: error: 'UITouch' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:161:73: error: 'UIEvent' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:169:51: error: 'UITouch' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:169:73: error: 'UIEvent' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:177:55: error: 'UITouch' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                       `- error: 'UITouch' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:177:77: error: 'UIEvent' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                             `- error: 'UIEvent' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:94:32: error: 'UIView' is unavailable in watchOS
 92 |
 93 |     // The internal UIView responsible for catching taps
 94 |     class TouchLocatingUIView: UIView {
    |                                `- error: 'UIView' is unavailable in watchOS
 95 |         // Internal copies of our settings
 96 |         var onUpdate: ((CGPoint, OnTouchType) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:53:27: error: cannot find type 'UIViewRepresentable' in scope
 51 | }
 52 |
 53 | struct TouchLocatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 54 |     // A closure to call when touch data has arrived
 55 |     var onUpdate: (CGPoint, OnTouchType) -> Void
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ViewOnTouch -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch_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-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ViewOnTouch.build/Debug-watchos/ViewOnTouch-t.build/Objects-normal/arm64/ViewOnTouch.abi.json
SwiftCompile normal arm64 (in target 'ViewOnTouch' from project 'ViewOnTouch')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ View+OnTouch.swift /Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift (in target 'ViewOnTouch' from project 'ViewOnTouch')
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:63:30: error: cannot find type 'Context' in scope
 61 |     var limitToBounds = true
 62 |
 63 |     func makeUIView(context: Context) -> TouchLocatingUIView {
    |                              `- error: cannot find type 'Context' in scope
 64 |         // Create the underlying UIView, passing in our configuration
 65 |         let view = TouchLocatingUIView()
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:72:63: error: cannot find type 'Context' in scope
 70 |     }
 71 |
 72 |     func updateUIView(_ uiView: TouchLocatingUIView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:76:21: error: 'UITouch' is unavailable in watchOS
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
 76 |         let start: (UITouch) -> Void
    |                     `- error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:79:32: error: 'UITouch' is unavailable in watchOS
 77 |         var shouldStart: Bool = false
 78 |
 79 |         init(start: @escaping (UITouch) -> Void) {
    |                                `- error: 'UITouch' is unavailable in watchOS
 80 |             self.start = start
 81 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:83:95: error: 'UITouch' is unavailable in watchOS
 81 |         }
 82 |
 83 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
    |                                                                                               `- error: 'UITouch' is unavailable in watchOS
 84 |             start(touch)
 85 |             return shouldStart
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:14: error: cannot override 'gestureRecognizer' which has been marked unavailable
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |              `- error: cannot override 'gestureRecognizer' which has been marked unavailable
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:117:1: note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
115 | // called once before either -gestureRecognizer:shouldReceiveTouch: or -gestureRecognizer:shouldReceivePress:
116 | // return NO to prevent the gesture recognizer from seeing this event
117 | - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveEvent:(UIEvent *)event API_AVAILABLE(ios(13.4), tvos(13.4)) API_UNAVAILABLE(watchos);
    | `- note: 'gestureRecognizer(_:shouldReceive:)' has been explicitly marked unavailable here
118 |
119 | @end
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:88:95: error: 'UIEvent' is unavailable in watchOS
 86 |         }
 87 |
 88 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
    |                                                                                               `- error: 'UIEvent' is unavailable in watchOS
 89 |             return true
 90 |         }
/Applications/Xcode-27.0.0-Release.Candidate.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/View+OnTouch.swift:75:59: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 73 |     }
 74 |
 75 |     private class TouchLocatingGestureDelegate: NSObject, UIGestureRecognizerDelegate {
    |                                                           `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 76 |         let start: (UITouch) -> Void
 77 |         var shouldStart: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 89 |
 90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 91 | @protocol UIGestureRecognizerDelegate <NSObject>
    |           `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 92 | @optional
 93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:118:21: error: 'UITapGestureRecognizer' is unavailable in watchOS
116 |
117 |         private lazy var tapGesture = {
118 |             let g = UITapGestureRecognizer(target: self, action: #selector(tapGestureAction(gesture:)))
    |                     `- error: 'UITapGestureRecognizer' is unavailable in watchOS
119 |             g.delegate = tapGestureDelegate
120 |             g.cancelsTouchesInView = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger  numberOfTapsRequired;       // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:123:45: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
121 |             return g
122 |         }()
123 |         private lazy var longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureAction(gesture:)))
    |                                             `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
124 |         private lazy var tapGestureDelegate = TouchLocatingGestureDelegate(start: {[weak self] touch in
125 |             guard let self else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:136:54: error: 'UIGestureRecognizer' is unavailable in watchOS
134 |         }
135 |
136 |         @objc private func tapGestureAction(gesture: UIGestureRecognizer) {
    |                                                      `- error: 'UIGestureRecognizer' is unavailable in watchOS
137 |             let location = gesture.location(in: self)
138 |             send(location, forEvent: .tapGesture)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:141:60: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
139 |         }
140 |
141 |         @objc private func longPressGestureAction(gesture: UILongPressGestureRecognizer) {
    |                                                            `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
142 |             let location = gesture.location(in: self)
143 |             if gesture.state == .began {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:51: error: 'UITouch' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:153:73: error: 'UIEvent' is unavailable in watchOS
151 |
152 |         // Triggered when a touch starts.
153 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
154 |             super.touchesBegan(touches, with: event)
155 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:161:51: error: 'UITouch' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:161:73: error: 'UIEvent' is unavailable in watchOS
159 |
160 |         // Triggered when an existing touch moves.
161 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
162 |             super.touchesMoved(touches, with: event)
163 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:169:51: error: 'UITouch' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                   `- error: 'UITouch' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:169:73: error: 'UIEvent' is unavailable in watchOS
167 |
168 |         // Triggered when the user lifts a finger.
169 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                         `- error: 'UIEvent' is unavailable in watchOS
170 |             super.touchesEnded(touches, with: event)
171 |             guard let touch = touches.first else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:177:55: error: 'UITouch' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                       `- error: 'UITouch' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:177:77: error: 'UIEvent' is unavailable in watchOS
175 |
176 |         // Triggered when the user's touch is interrupted, e.g. by a low battery alert.
177 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                             `- error: 'UIEvent' is unavailable in watchOS
178 |             guard let touch = touches.first else { return }
179 |             let location = touch.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/View+OnTouch.swift:94:32: error: 'UIView' is unavailable in watchOS
 92 |
 93 |     // The internal UIView responsible for catching taps
 94 |     class TouchLocatingUIView: UIView {
    |                                `- error: 'UIView' is unavailable in watchOS
 95 |         // Internal copies of our settings
 96 |         var onUpdate: ((CGPoint, OnTouchType) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:53:27: error: cannot find type 'UIViewRepresentable' in scope
 51 | }
 52 |
 53 | struct TouchLocatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 54 |     // A closure to call when touch data has arrived
 55 |     var onUpdate: (CGPoint, OnTouchType) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift:47:14: error: instance method 'overlay(_:ignoresSafeAreaEdges:)' requires that 'TouchLocatingView' conform to 'ShapeStyle'
 45 |     func body(content: Content) -> some View {
 46 |         content
 47 |             .overlay(
    |              `- error: instance method 'overlay(_:ignoresSafeAreaEdges:)' requires that 'TouchLocatingView' conform to 'ShapeStyle'
 48 |                 TouchLocatingView(onUpdate: perform, types: type, limitToBounds: limitToBounds)
 49 |             )
SwiftUI.View.overlay:2:36: note: where 'S' = 'TouchLocatingView'
1 | protocol View {
2 | @inlinable nonisolated public func overlay<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
  |                                    `- note: where 'S' = 'TouchLocatingView'
3 |   }
4 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/View+OnTouch.swift (in target 'ViewOnTouch' from project 'ViewOnTouch')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile View+OnTouch.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-21 05:05:48.401 xcodebuild[803:4836] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64_32 (in target 'ViewOnTouch' from project 'ViewOnTouch')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ViewOnTouch (in target 'ViewOnTouch' from project 'ViewOnTouch')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ ViewOnTouch (in target 'ViewOnTouch' from project 'ViewOnTouch')
	SwiftCompile normal arm64 (in target 'ViewOnTouch' from project 'ViewOnTouch')
	Building workspace ViewOnTouch with scheme ViewOnTouch
(5 failures)
BUILD FAILURE 6.4 watchOS