The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VisualizeTouches, reference main (af5cce), with Swift 6.0 for macOS (SPM) on 31 Mar 2026 03:12:24 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/robb/visualizeTouches.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/robb/visualizeTouches
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at af5cce4 Merge pull request #2 from pixelmatrix/fix/exclusivity-crash-on-teardown
Cloned https://github.com/robb/visualizeTouches.git
Revision (git rev-parse @):
af5cce4115b970f79c037b4b8ef48ccbcf96fda5
SUCCESS checkout https://github.com/robb/visualizeTouches.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/robb/visualizeTouches.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module VisualizeTouches
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:23:54: error: 'View' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  5 |
  6 |     /// Conditionally visualizes touches on the view.
    :
 21 |     /// - Parameter isEnabled: If `true`, touches on this view are visualized.
 22 |     /// - Returns: A view that visualizes touches.
 23 |     func visualizeTouches(_ isEnabled: Bool) -> some View {
    |          |                                           `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 24 |         modifier(TouchVisualizer(isEnabled: isEnabled))
 25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:43:37: error: 'View' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  5 |
  6 |     /// Conditionally visualizes touches on the view.
    :
 41 |     ///
 42 |     /// - Returns: A view that visualizes all touches.
 43 |     func visualizeTouches() -> some View {
    |          |                          `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 44 |         modifier(AutoVisualizer())
 45 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
  5 |
  6 |     /// Conditionally visualizes touches on the view.
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:49:29: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | private struct AutoVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 49 |     @State var cancellable: AnyCancellable?
    |                             `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 50 |
 51 |     @State var isCaptured: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:49:6: error: 'State' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | private struct AutoVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 49 |     @State var cancellable: AnyCancellable?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 50 |
 51 |     @State var isCaptured: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:51:6: error: 'State' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | private struct AutoVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 49 |     @State var cancellable: AnyCancellable?
 50 |
 51 |     @State var isCaptured: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 52 |
 53 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:53:41: error: 'View' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | private struct AutoVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 49 |     @State var cancellable: AnyCancellable?
 50 |
 51 |     @State var isCaptured: Bool = false
 52 |
 53 |     func body(content: Content) -> some View {
    |          |                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 54 |         content
 55 | #if targetEnvironment(simulator)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:86:6: error: 'State' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | private struct TouchVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 80 |     struct Touch: Identifiable {
 81 |         var id: Int
    :
 84 |     }
 85 |
 86 |     @State var touches: [Touch] = []
    |      `- error: 'State' is only available in macOS 10.15 or newer
 87 |
 88 |     var isEnabled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:90:41: error: 'View' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | private struct TouchVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 80 |     struct Touch: Identifiable {
 81 |         var id: Int
    :
 88 |     var isEnabled: Bool
 89 |
 90 |     func body(content: Content) -> some View {
    |          |                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 91 |         content
 92 |             .gesture(TouchVisualizerGesture(isEnabled: isEnabled, touches: $touches))
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:105:20: error: 'View' is only available in macOS 10.15 or newer
102 | }
103 |
104 | private struct TouchView: View {
    |                `- note: add @available attribute to enclosing struct
105 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
106 |         Circle()
107 |             .fill(
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:120:29: error: cannot find type 'UIGestureRecognizer' in scope
118 |
119 | private struct TouchVisualizerGesture: UIGestureRecognizerRepresentable {
120 |     final class Recognizer: UIGestureRecognizer {
    |                             `- error: cannot find type 'UIGestureRecognizer' in scope
121 |         var touches = 0
122 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:123:51: error: cannot find type 'UITouch' in scope
121 |         var touches = 0
122 |
123 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                   `- error: cannot find type 'UITouch' in scope
124 |             super.touchesBegan(touches, with: event)
125 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:123:73: error: cannot find type 'UIEvent' in scope
121 |         var touches = 0
122 |
123 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                                         `- error: cannot find type 'UIEvent' in scope
124 |             super.touchesBegan(touches, with: event)
125 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:123:23: error: method does not override any method from its superclass
121 |         var touches = 0
122 |
123 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent) {
    |                       `- error: method does not override any method from its superclass
124 |             super.touchesBegan(touches, with: event)
125 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:133:51: error: cannot find type 'UITouch' in scope
131 |         }
132 |
133 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                   `- error: cannot find type 'UITouch' in scope
134 |             if self.touches >= 0 {
135 |                 self.state = .changed
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:133:73: error: cannot find type 'UIEvent' in scope
131 |         }
132 |
133 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                                         `- error: cannot find type 'UIEvent' in scope
134 |             if self.touches >= 0 {
135 |                 self.state = .changed
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:133:23: error: method does not override any method from its superclass
131 |         }
132 |
133 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent) {
    |                       `- error: method does not override any method from its superclass
134 |             if self.touches >= 0 {
135 |                 self.state = .changed
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:139:51: error: cannot find type 'UITouch' in scope
137 |         }
138 |
139 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                   `- error: cannot find type 'UITouch' in scope
140 |             super.touchesEnded(touches, with: event)
141 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:139:73: error: cannot find type 'UIEvent' in scope
137 |         }
138 |
139 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                                         `- error: cannot find type 'UIEvent' in scope
140 |             super.touchesEnded(touches, with: event)
141 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:139:23: error: method does not override any method from its superclass
137 |         }
138 |
139 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent) {
    |                       `- error: method does not override any method from its superclass
140 |             super.touchesEnded(touches, with: event)
141 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:149:55: error: cannot find type 'UITouch' in scope
147 |         }
148 |
149 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                       `- error: cannot find type 'UITouch' in scope
150 |             super.touchesCancelled(touches, with: event)
151 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:149:77: error: cannot find type 'UIEvent' in scope
147 |         }
148 |
149 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                                             `- error: cannot find type 'UIEvent' in scope
150 |             super.touchesCancelled(touches, with: event)
151 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:149:23: error: method does not override any method from its superclass
147 |         }
148 |
149 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent) {
    |                       `- error: method does not override any method from its superclass
150 |             super.touchesCancelled(touches, with: event)
151 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:160:40: error: cannot find type 'UIGestureRecognizerDelegate' in scope
158 |     }
159 |
160 |     final class Coordinator: NSObject, UIGestureRecognizerDelegate {
    |                                        `- error: cannot find type 'UIGestureRecognizerDelegate' in scope
161 |         func gestureRecognizer(_: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith _: UIGestureRecognizer) -> Bool {
162 |             true
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:161:35: error: cannot find type 'UIGestureRecognizer' in scope
159 |
160 |     final class Coordinator: NSObject, UIGestureRecognizerDelegate {
161 |         func gestureRecognizer(_: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith _: UIGestureRecognizer) -> Bool {
    |                                   `- error: cannot find type 'UIGestureRecognizer' in scope
162 |             true
163 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:161:93: error: cannot find type 'UIGestureRecognizer' in scope
159 |
160 |     final class Coordinator: NSObject, UIGestureRecognizerDelegate {
161 |         func gestureRecognizer(_: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith _: UIGestureRecognizer) -> Bool {
    |                                                                                             `- error: cannot find type 'UIGestureRecognizer' in scope
162 |             true
163 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:168:6: error: 'Binding' is only available in macOS 10.15 or newer
117 | }
118 |
119 | private struct TouchVisualizerGesture: UIGestureRecognizerRepresentable {
    |                `- note: add @available attribute to enclosing struct
120 |     final class Recognizer: UIGestureRecognizer {
121 |         var touches = 0
    :
166 |     var isEnabled: Bool
167 |
168 |     @Binding var touches: [TouchVisualizer.Touch]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
169 |
170 |     func makeCoordinator(converter: CoordinateSpaceConverter) -> Coordinator {
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:170:37: error: cannot find type 'CoordinateSpaceConverter' in scope
168 |     @Binding var touches: [TouchVisualizer.Touch]
169 |
170 |     func makeCoordinator(converter: CoordinateSpaceConverter) -> Coordinator {
    |                                     `- error: cannot find type 'CoordinateSpaceConverter' in scope
171 |         Coordinator()
172 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:174:55: error: cannot find type 'UIGestureRecognizer' in scope
172 |     }
173 |
174 |     func makeUIGestureRecognizer(context: Context) -> UIGestureRecognizer {
    |                                                       `- error: cannot find type 'UIGestureRecognizer' in scope
175 |         let g = Recognizer()
176 |         g.cancelsTouchesInView = false
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:174:43: error: cannot find type 'Context' in scope
172 |     }
173 |
174 |     func makeUIGestureRecognizer(context: Context) -> UIGestureRecognizer {
    |                                           `- error: cannot find type 'Context' in scope
175 |         let g = Recognizer()
176 |         g.cancelsTouchesInView = false
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:182:61: error: 'UIGestureRecognizerType' is not a member type of struct 'VisualizeTouches.TouchVisualizerGesture'
117 | }
118 |
119 | private struct TouchVisualizerGesture: UIGestureRecognizerRepresentable {
    |                `- note: 'TouchVisualizerGesture' declared here
120 |     final class Recognizer: UIGestureRecognizer {
121 |         var touches = 0
    :
180 |     }
181 |
182 |     func handleUIGestureRecognizerAction(_ recognizer: Self.UIGestureRecognizerType, context: Self.Context) {
    |                                                             `- error: 'UIGestureRecognizerType' is not a member type of struct 'VisualizeTouches.TouchVisualizerGesture'
183 |         guard recognizer.view != nil else { return }
184 |         guard isEnabled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:182:100: error: 'Context' is not a member type of struct 'VisualizeTouches.TouchVisualizerGesture'
117 | }
118 |
119 | private struct TouchVisualizerGesture: UIGestureRecognizerRepresentable {
    |                `- note: 'TouchVisualizerGesture' declared here
120 |     final class Recognizer: UIGestureRecognizer {
121 |         var touches = 0
    :
180 |     }
181 |
182 |     func handleUIGestureRecognizerAction(_ recognizer: Self.UIGestureRecognizerType, context: Self.Context) {
    |                                                                                                    `- error: 'Context' is not a member type of struct 'VisualizeTouches.TouchVisualizerGesture'
183 |         guard recognizer.view != nil else { return }
184 |         guard isEnabled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:119:40: error: 'UIGestureRecognizerRepresentable' is unavailable in macOS
117 | }
118 |
119 | private struct TouchVisualizerGesture: UIGestureRecognizerRepresentable {
    |                                        `- error: 'UIGestureRecognizerRepresentable' is unavailable in macOS
120 |     final class Recognizer: UIGestureRecognizer {
121 |         var touches = 0
SwiftUI.UIGestureRecognizerRepresentable:6:44: note: 'UIGestureRecognizerRepresentable' has been explicitly marked unavailable here
4 | @available(watchOS, unavailable)
5 | @available(visionOS, unavailable)
6 | @MainActor @preconcurrency public protocol UIGestureRecognizerRepresentable {
  |                                            `- note: 'UIGestureRecognizerRepresentable' has been explicitly marked unavailable here
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:199:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
197 | }
198 |
199 | #Preview("Touch") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
200 |     VStack {
201 |         TouchView()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:200:5: error: 'VStack' is only available in macOS 10.15 or newer
198 |
199 | #Preview("Touch") {
200 |     VStack {
    |     |- error: 'VStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
201 |         TouchView()
202 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:202:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
200 |     VStack {
201 |         TouchView()
202 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
203 |             .background(.black)
204 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:203:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
201 |         TouchView()
202 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
203 |             .background(.black)
    |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
204 |
205 |         TouchView()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:203:26: error: 'black' is only available in macOS 10.15 or newer
201 |         TouchView()
202 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
203 |             .background(.black)
    |                          |- error: 'black' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
204 |
205 |         TouchView()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:206:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
204 |
205 |         TouchView()
206 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
207 |             .background(.blue)
208 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:207:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
205 |         TouchView()
206 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
207 |             .background(.blue)
    |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
208 |
209 |         TouchView()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:207:26: error: 'blue' is only available in macOS 10.15 or newer
205 |         TouchView()
206 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
207 |             .background(.blue)
    |                          |- error: 'blue' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
208 |
209 |         TouchView()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:210:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
208 |
209 |         TouchView()
210 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
211 |             .background(.white)
212 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:211:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
209 |         TouchView()
210 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
211 |             .background(.white)
    |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
212 |     }
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:211:26: error: 'white' is only available in macOS 10.15 or newer
209 |         TouchView()
210 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
211 |             .background(.white)
    |                          |- error: 'white' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
212 |     }
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:216:6: error: 'Previewable()' is only available in macOS 14.0 or newer
214 |
215 | #Preview("List") {
216 |     @Previewable @State var f = 0.5
    |      |- error: 'Previewable()' is only available in macOS 14.0 or newer
    |      `- note: add 'if #available' version check
217 |
218 |     List {
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:216:19: error: 'State' is only available in macOS 10.15 or newer
214 |
215 | #Preview("List") {
216 |     @Previewable @State var f = 0.5
    |                   |- error: 'State' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
217 |
218 |     List {
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:215:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
213 | }
214 |
215 | #Preview("List") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:5: error: 'List' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |     |- error: 'List' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:5: error: 'init(content:)' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |     |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:219:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
217 |
218 |     List {
219 |         Button("Hello") {}
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
220 |         Button("Hello") {}
221 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:219:9: error: 'Button' is only available in macOS 10.15 or newer
217 |
218 |     List {
219 |         Button("Hello") {}
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
220 |         Button("Hello") {}
221 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:219:9: error: 'init(_:action:)' is only available in macOS 10.15 or newer
217 |
218 |     List {
219 |         Button("Hello") {}
    |         |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
220 |         Button("Hello") {}
221 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:219:16: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
217 |
218 |     List {
219 |         Button("Hello") {}
    |                |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
220 |         Button("Hello") {}
221 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:220:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
218 |     List {
219 |         Button("Hello") {}
220 |         Button("Hello") {}
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
221 |         Button("Hello") {}
222 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:220:9: error: 'Button' is only available in macOS 10.15 or newer
218 |     List {
219 |         Button("Hello") {}
220 |         Button("Hello") {}
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
221 |         Button("Hello") {}
222 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:220:9: error: 'init(_:action:)' is only available in macOS 10.15 or newer
218 |     List {
219 |         Button("Hello") {}
220 |         Button("Hello") {}
    |         |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
221 |         Button("Hello") {}
222 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:220:16: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
218 |     List {
219 |         Button("Hello") {}
220 |         Button("Hello") {}
    |                |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
221 |         Button("Hello") {}
222 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:221:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
219 |         Button("Hello") {}
220 |         Button("Hello") {}
221 |         Button("Hello") {}
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
222 |
223 |         Slider(value: $f)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:221:9: error: 'Button' is only available in macOS 10.15 or newer
219 |         Button("Hello") {}
220 |         Button("Hello") {}
221 |         Button("Hello") {}
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
222 |
223 |         Slider(value: $f)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:221:9: error: 'init(_:action:)' is only available in macOS 10.15 or newer
219 |         Button("Hello") {}
220 |         Button("Hello") {}
221 |         Button("Hello") {}
    |         |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
222 |
223 |         Slider(value: $f)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:221:16: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
219 |         Button("Hello") {}
220 |         Button("Hello") {}
221 |         Button("Hello") {}
    |                |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
222 |
223 |         Slider(value: $f)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:223:9: error: 'Slider' is only available in macOS 10.15 or newer
221 |         Button("Hello") {}
222 |
223 |         Slider(value: $f)
    |         |- error: 'Slider' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
224 |     }
225 |     .visualizeTouches()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:223:9: error: 'init(value:in:onEditingChanged:)' is only available in macOS 10.15 or newer
221 |         Button("Hello") {}
222 |
223 |         Slider(value: $f)
    |         |- error: 'init(value:in:onEditingChanged:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
224 |     }
225 |     .visualizeTouches()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:228:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
226 | }
227 |
228 | #Preview("Button") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
229 |     Button("Hello") {}
230 |         .visualizeTouches()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:229:5: error: 'Button' is only available in macOS 10.15 or newer
227 |
228 | #Preview("Button") {
229 |     Button("Hello") {}
    |     |- error: 'Button' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
230 |         .visualizeTouches()
231 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:229:5: error: 'init(_:action:)' is only available in macOS 10.15 or newer
227 |
228 | #Preview("Button") {
229 |     Button("Hello") {}
    |     |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
230 |         .visualizeTouches()
231 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:229:12: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
227 |
228 | #Preview("Button") {
229 |     Button("Hello") {}
    |            |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
230 |         .visualizeTouches()
231 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:230:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
228 | #Preview("Button") {
229 |     Button("Hello") {}
230 |         .visualizeTouches()
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
231 | }
232 |
[4/4] Compiling VisualizeTouches TouchVisualization.swift
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:23:54: error: 'View' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  5 |
  6 |     /// Conditionally visualizes touches on the view.
    :
 21 |     /// - Parameter isEnabled: If `true`, touches on this view are visualized.
 22 |     /// - Returns: A view that visualizes touches.
 23 |     func visualizeTouches(_ isEnabled: Bool) -> some View {
    |          |                                           `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 24 |         modifier(TouchVisualizer(isEnabled: isEnabled))
 25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:43:37: error: 'View' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  5 |
  6 |     /// Conditionally visualizes touches on the view.
    :
 41 |     ///
 42 |     /// - Returns: A view that visualizes all touches.
 43 |     func visualizeTouches() -> some View {
    |          |                          `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 44 |         modifier(AutoVisualizer())
 45 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
  5 |
  6 |     /// Conditionally visualizes touches on the view.
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:49:29: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | private struct AutoVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 49 |     @State var cancellable: AnyCancellable?
    |                             `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 50 |
 51 |     @State var isCaptured: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:49:6: error: 'State' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | private struct AutoVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 49 |     @State var cancellable: AnyCancellable?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 50 |
 51 |     @State var isCaptured: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:51:6: error: 'State' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | private struct AutoVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 49 |     @State var cancellable: AnyCancellable?
 50 |
 51 |     @State var isCaptured: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 52 |
 53 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:53:41: error: 'View' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | private struct AutoVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 49 |     @State var cancellable: AnyCancellable?
 50 |
 51 |     @State var isCaptured: Bool = false
 52 |
 53 |     func body(content: Content) -> some View {
    |          |                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 54 |         content
 55 | #if targetEnvironment(simulator)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:86:6: error: 'State' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | private struct TouchVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 80 |     struct Touch: Identifiable {
 81 |         var id: Int
    :
 84 |     }
 85 |
 86 |     @State var touches: [Touch] = []
    |      `- error: 'State' is only available in macOS 10.15 or newer
 87 |
 88 |     var isEnabled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:90:41: error: 'View' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | private struct TouchVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 80 |     struct Touch: Identifiable {
 81 |         var id: Int
    :
 88 |     var isEnabled: Bool
 89 |
 90 |     func body(content: Content) -> some View {
    |          |                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 91 |         content
 92 |             .gesture(TouchVisualizerGesture(isEnabled: isEnabled, touches: $touches))
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:105:20: error: 'View' is only available in macOS 10.15 or newer
102 | }
103 |
104 | private struct TouchView: View {
    |                `- note: add @available attribute to enclosing struct
105 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
106 |         Circle()
107 |             .fill(
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:120:29: error: cannot find type 'UIGestureRecognizer' in scope
118 |
119 | private struct TouchVisualizerGesture: UIGestureRecognizerRepresentable {
120 |     final class Recognizer: UIGestureRecognizer {
    |                             `- error: cannot find type 'UIGestureRecognizer' in scope
121 |         var touches = 0
122 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:123:51: error: cannot find type 'UITouch' in scope
121 |         var touches = 0
122 |
123 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                   `- error: cannot find type 'UITouch' in scope
124 |             super.touchesBegan(touches, with: event)
125 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:123:73: error: cannot find type 'UIEvent' in scope
121 |         var touches = 0
122 |
123 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                                         `- error: cannot find type 'UIEvent' in scope
124 |             super.touchesBegan(touches, with: event)
125 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:123:23: error: method does not override any method from its superclass
121 |         var touches = 0
122 |
123 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent) {
    |                       `- error: method does not override any method from its superclass
124 |             super.touchesBegan(touches, with: event)
125 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:133:51: error: cannot find type 'UITouch' in scope
131 |         }
132 |
133 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                   `- error: cannot find type 'UITouch' in scope
134 |             if self.touches >= 0 {
135 |                 self.state = .changed
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:133:73: error: cannot find type 'UIEvent' in scope
131 |         }
132 |
133 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                                         `- error: cannot find type 'UIEvent' in scope
134 |             if self.touches >= 0 {
135 |                 self.state = .changed
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:133:23: error: method does not override any method from its superclass
131 |         }
132 |
133 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent) {
    |                       `- error: method does not override any method from its superclass
134 |             if self.touches >= 0 {
135 |                 self.state = .changed
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:139:51: error: cannot find type 'UITouch' in scope
137 |         }
138 |
139 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                   `- error: cannot find type 'UITouch' in scope
140 |             super.touchesEnded(touches, with: event)
141 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:139:73: error: cannot find type 'UIEvent' in scope
137 |         }
138 |
139 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                                         `- error: cannot find type 'UIEvent' in scope
140 |             super.touchesEnded(touches, with: event)
141 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:139:23: error: method does not override any method from its superclass
137 |         }
138 |
139 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent) {
    |                       `- error: method does not override any method from its superclass
140 |             super.touchesEnded(touches, with: event)
141 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:149:55: error: cannot find type 'UITouch' in scope
147 |         }
148 |
149 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                       `- error: cannot find type 'UITouch' in scope
150 |             super.touchesCancelled(touches, with: event)
151 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:149:77: error: cannot find type 'UIEvent' in scope
147 |         }
148 |
149 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent) {
    |                                                                             `- error: cannot find type 'UIEvent' in scope
150 |             super.touchesCancelled(touches, with: event)
151 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:149:23: error: method does not override any method from its superclass
147 |         }
148 |
149 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent) {
    |                       `- error: method does not override any method from its superclass
150 |             super.touchesCancelled(touches, with: event)
151 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:160:40: error: cannot find type 'UIGestureRecognizerDelegate' in scope
158 |     }
159 |
160 |     final class Coordinator: NSObject, UIGestureRecognizerDelegate {
    |                                        `- error: cannot find type 'UIGestureRecognizerDelegate' in scope
161 |         func gestureRecognizer(_: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith _: UIGestureRecognizer) -> Bool {
162 |             true
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:161:35: error: cannot find type 'UIGestureRecognizer' in scope
159 |
160 |     final class Coordinator: NSObject, UIGestureRecognizerDelegate {
161 |         func gestureRecognizer(_: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith _: UIGestureRecognizer) -> Bool {
    |                                   `- error: cannot find type 'UIGestureRecognizer' in scope
162 |             true
163 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:161:93: error: cannot find type 'UIGestureRecognizer' in scope
159 |
160 |     final class Coordinator: NSObject, UIGestureRecognizerDelegate {
161 |         func gestureRecognizer(_: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith _: UIGestureRecognizer) -> Bool {
    |                                                                                             `- error: cannot find type 'UIGestureRecognizer' in scope
162 |             true
163 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:168:6: error: 'Binding' is only available in macOS 10.15 or newer
117 | }
118 |
119 | private struct TouchVisualizerGesture: UIGestureRecognizerRepresentable {
    |                `- note: add @available attribute to enclosing struct
120 |     final class Recognizer: UIGestureRecognizer {
121 |         var touches = 0
    :
166 |     var isEnabled: Bool
167 |
168 |     @Binding var touches: [TouchVisualizer.Touch]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
169 |
170 |     func makeCoordinator(converter: CoordinateSpaceConverter) -> Coordinator {
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:170:37: error: cannot find type 'CoordinateSpaceConverter' in scope
168 |     @Binding var touches: [TouchVisualizer.Touch]
169 |
170 |     func makeCoordinator(converter: CoordinateSpaceConverter) -> Coordinator {
    |                                     `- error: cannot find type 'CoordinateSpaceConverter' in scope
171 |         Coordinator()
172 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:174:55: error: cannot find type 'UIGestureRecognizer' in scope
172 |     }
173 |
174 |     func makeUIGestureRecognizer(context: Context) -> UIGestureRecognizer {
    |                                                       `- error: cannot find type 'UIGestureRecognizer' in scope
175 |         let g = Recognizer()
176 |         g.cancelsTouchesInView = false
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:174:43: error: cannot find type 'Context' in scope
172 |     }
173 |
174 |     func makeUIGestureRecognizer(context: Context) -> UIGestureRecognizer {
    |                                           `- error: cannot find type 'Context' in scope
175 |         let g = Recognizer()
176 |         g.cancelsTouchesInView = false
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:182:61: error: 'UIGestureRecognizerType' is not a member type of struct 'VisualizeTouches.TouchVisualizerGesture'
117 | }
118 |
119 | private struct TouchVisualizerGesture: UIGestureRecognizerRepresentable {
    |                `- note: 'TouchVisualizerGesture' declared here
120 |     final class Recognizer: UIGestureRecognizer {
121 |         var touches = 0
    :
180 |     }
181 |
182 |     func handleUIGestureRecognizerAction(_ recognizer: Self.UIGestureRecognizerType, context: Self.Context) {
    |                                                             `- error: 'UIGestureRecognizerType' is not a member type of struct 'VisualizeTouches.TouchVisualizerGesture'
183 |         guard recognizer.view != nil else { return }
184 |         guard isEnabled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:182:100: error: 'Context' is not a member type of struct 'VisualizeTouches.TouchVisualizerGesture'
117 | }
118 |
119 | private struct TouchVisualizerGesture: UIGestureRecognizerRepresentable {
    |                `- note: 'TouchVisualizerGesture' declared here
120 |     final class Recognizer: UIGestureRecognizer {
121 |         var touches = 0
    :
180 |     }
181 |
182 |     func handleUIGestureRecognizerAction(_ recognizer: Self.UIGestureRecognizerType, context: Self.Context) {
    |                                                                                                    `- error: 'Context' is not a member type of struct 'VisualizeTouches.TouchVisualizerGesture'
183 |         guard recognizer.view != nil else { return }
184 |         guard isEnabled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:119:40: error: 'UIGestureRecognizerRepresentable' is unavailable in macOS
117 | }
118 |
119 | private struct TouchVisualizerGesture: UIGestureRecognizerRepresentable {
    |                                        `- error: 'UIGestureRecognizerRepresentable' is unavailable in macOS
120 |     final class Recognizer: UIGestureRecognizer {
121 |         var touches = 0
SwiftUI.UIGestureRecognizerRepresentable:6:44: note: 'UIGestureRecognizerRepresentable' has been explicitly marked unavailable here
4 | @available(watchOS, unavailable)
5 | @available(visionOS, unavailable)
6 | @MainActor @preconcurrency public protocol UIGestureRecognizerRepresentable {
  |                                            `- note: 'UIGestureRecognizerRepresentable' has been explicitly marked unavailable here
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:199:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
197 | }
198 |
199 | #Preview("Touch") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
200 |     VStack {
201 |         TouchView()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:200:5: error: 'VStack' is only available in macOS 10.15 or newer
198 |
199 | #Preview("Touch") {
200 |     VStack {
    |     |- error: 'VStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
201 |         TouchView()
202 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:202:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
200 |     VStack {
201 |         TouchView()
202 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
203 |             .background(.black)
204 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:203:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
201 |         TouchView()
202 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
203 |             .background(.black)
    |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
204 |
205 |         TouchView()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:203:26: error: 'black' is only available in macOS 10.15 or newer
201 |         TouchView()
202 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
203 |             .background(.black)
    |                          |- error: 'black' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
204 |
205 |         TouchView()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:206:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
204 |
205 |         TouchView()
206 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
207 |             .background(.blue)
208 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:207:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
205 |         TouchView()
206 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
207 |             .background(.blue)
    |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
208 |
209 |         TouchView()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:207:26: error: 'blue' is only available in macOS 10.15 or newer
205 |         TouchView()
206 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
207 |             .background(.blue)
    |                          |- error: 'blue' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
208 |
209 |         TouchView()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:210:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
208 |
209 |         TouchView()
210 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
211 |             .background(.white)
212 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:211:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
209 |         TouchView()
210 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
211 |             .background(.white)
    |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
212 |     }
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:211:26: error: 'white' is only available in macOS 10.15 or newer
209 |         TouchView()
210 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
211 |             .background(.white)
    |                          |- error: 'white' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
212 |     }
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:216:6: error: 'Previewable()' is only available in macOS 14.0 or newer
214 |
215 | #Preview("List") {
216 |     @Previewable @State var f = 0.5
    |      |- error: 'Previewable()' is only available in macOS 14.0 or newer
    |      `- note: add 'if #available' version check
217 |
218 |     List {
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:216:19: error: 'State' is only available in macOS 10.15 or newer
214 |
215 | #Preview("List") {
216 |     @Previewable @State var f = 0.5
    |                   |- error: 'State' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
217 |
218 |     List {
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:215:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
213 | }
214 |
215 | #Preview("List") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:5: error: 'List' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |     |- error: 'List' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:5: error: 'init(content:)' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |     |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:219:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
217 |
218 |     List {
219 |         Button("Hello") {}
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
220 |         Button("Hello") {}
221 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:219:9: error: 'Button' is only available in macOS 10.15 or newer
217 |
218 |     List {
219 |         Button("Hello") {}
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
220 |         Button("Hello") {}
221 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:219:9: error: 'init(_:action:)' is only available in macOS 10.15 or newer
217 |
218 |     List {
219 |         Button("Hello") {}
    |         |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
220 |         Button("Hello") {}
221 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:219:16: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
217 |
218 |     List {
219 |         Button("Hello") {}
    |                |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
220 |         Button("Hello") {}
221 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:220:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
218 |     List {
219 |         Button("Hello") {}
220 |         Button("Hello") {}
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
221 |         Button("Hello") {}
222 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:220:9: error: 'Button' is only available in macOS 10.15 or newer
218 |     List {
219 |         Button("Hello") {}
220 |         Button("Hello") {}
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
221 |         Button("Hello") {}
222 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:220:9: error: 'init(_:action:)' is only available in macOS 10.15 or newer
218 |     List {
219 |         Button("Hello") {}
220 |         Button("Hello") {}
    |         |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
221 |         Button("Hello") {}
222 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:220:16: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
218 |     List {
219 |         Button("Hello") {}
220 |         Button("Hello") {}
    |                |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
221 |         Button("Hello") {}
222 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:221:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
219 |         Button("Hello") {}
220 |         Button("Hello") {}
221 |         Button("Hello") {}
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
222 |
223 |         Slider(value: $f)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:221:9: error: 'Button' is only available in macOS 10.15 or newer
219 |         Button("Hello") {}
220 |         Button("Hello") {}
221 |         Button("Hello") {}
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
222 |
223 |         Slider(value: $f)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:221:9: error: 'init(_:action:)' is only available in macOS 10.15 or newer
219 |         Button("Hello") {}
220 |         Button("Hello") {}
221 |         Button("Hello") {}
    |         |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
222 |
223 |         Slider(value: $f)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:221:16: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
219 |         Button("Hello") {}
220 |         Button("Hello") {}
221 |         Button("Hello") {}
    |                |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
222 |
223 |         Slider(value: $f)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:223:9: error: 'Slider' is only available in macOS 10.15 or newer
221 |         Button("Hello") {}
222 |
223 |         Slider(value: $f)
    |         |- error: 'Slider' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
224 |     }
225 |     .visualizeTouches()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:223:9: error: 'init(value:in:onEditingChanged:)' is only available in macOS 10.15 or newer
221 |         Button("Hello") {}
222 |
223 |         Slider(value: $f)
    |         |- error: 'init(value:in:onEditingChanged:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
224 |     }
225 |     .visualizeTouches()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:218:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
216 |     @Previewable @State var f = 0.5
217 |
218 |     List {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
219 |         Button("Hello") {}
220 |         Button("Hello") {}
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:228:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
226 | }
227 |
228 | #Preview("Button") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
229 |     Button("Hello") {}
230 |         .visualizeTouches()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:229:5: error: 'Button' is only available in macOS 10.15 or newer
227 |
228 | #Preview("Button") {
229 |     Button("Hello") {}
    |     |- error: 'Button' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
230 |         .visualizeTouches()
231 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:229:5: error: 'init(_:action:)' is only available in macOS 10.15 or newer
227 |
228 | #Preview("Button") {
229 |     Button("Hello") {}
    |     |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
230 |         .visualizeTouches()
231 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:229:12: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
227 |
228 | #Preview("Button") {
229 |     Button("Hello") {}
    |            |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
230 |         .visualizeTouches()
231 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:230:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
228 | #Preview("Button") {
229 |     Button("Hello") {}
230 |         .visualizeTouches()
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
231 | }
232 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:24:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  5 |
  6 |     /// Conditionally visualizes touches on the view.
    :
 21 |     /// - Parameter isEnabled: If `true`, touches on this view are visualized.
 22 |     /// - Returns: A view that visualizes touches.
 23 |     func visualizeTouches(_ isEnabled: Bool) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 24 |         modifier(TouchVisualizer(isEnabled: isEnabled))
    |         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 25 |     }
 26 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:24:9: error: 'modifier' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  5 |
  6 |     /// Conditionally visualizes touches on the view.
    :
 21 |     /// - Parameter isEnabled: If `true`, touches on this view are visualized.
 22 |     /// - Returns: A view that visualizes touches.
 23 |     func visualizeTouches(_ isEnabled: Bool) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 24 |         modifier(TouchVisualizer(isEnabled: isEnabled))
    |         |- error: 'modifier' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 25 |     }
 26 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:44:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  5 |
  6 |     /// Conditionally visualizes touches on the view.
    :
 41 |     ///
 42 |     /// - Returns: A view that visualizes all touches.
 43 |     func visualizeTouches() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 44 |         modifier(AutoVisualizer())
    |         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 45 |     }
 46 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:44:9: error: 'modifier' is only available in macOS 10.15 or newer
  2 | import SwiftUI
  3 |
  4 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  5 |
  6 |     /// Conditionally visualizes touches on the view.
    :
 41 |     ///
 42 |     /// - Returns: A view that visualizes all touches.
 43 |     func visualizeTouches() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 44 |         modifier(AutoVisualizer())
    |         |- error: 'modifier' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 45 |     }
 46 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:60:30: error: cannot find 'UIScreen' in scope
 58 |             .visualizeTouches(isCaptured)
 59 |             .onAppear {
 60 |                 isCaptured = UIScreen.main.isCaptured
    |                              `- error: cannot find 'UIScreen' in scope
 61 |
 62 |                 cancellable = NotificationCenter.default
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:63:37: error: cannot find 'UIScreen' in scope
 61 |
 62 |                 cancellable = NotificationCenter.default
 63 |                     .publisher(for: UIScreen.capturedDidChangeNotification)
    |                                     `- error: cannot find 'UIScreen' in scope
 64 |                     .sink { notification in
 65 |                         guard let screen = notification.object as? UIScreen else {
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:92:14: error: 'gesture' is unavailable in macOS
 90 |     func body(content: Content) -> some View {
 91 |         content
 92 |             .gesture(TouchVisualizerGesture(isEnabled: isEnabled, touches: $touches))
    |              `- error: 'gesture' is unavailable in macOS
 93 |             .overlay {
 94 |                 ForEach(isEnabled ? touches : []) { touch in
SwiftUI.View:7:29: note: 'gesture' has been explicitly marked unavailable here
5 | @available(visionOS, unavailable)
6 | extension View {
7 |     nonisolated public func gesture(_ representable: some UIGestureRecognizerRepresentable) -> some View
  |                             `- note: 'gesture' has been explicitly marked unavailable here
8 |
9 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:93:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
 77 | }
 78 |
 79 | private struct TouchVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 80 |     struct Touch: Identifiable {
 81 |         var id: Int
    :
 88 |     var isEnabled: Bool
 89 |
 90 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 91 |         content
 92 |             .gesture(TouchVisualizerGesture(isEnabled: isEnabled, touches: $touches))
 93 |             .overlay {
    |              |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
 94 |                 ForEach(isEnabled ? touches : []) { touch in
 95 |                     TouchView()
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:94:17: error: 'ForEach' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | private struct TouchVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 80 |     struct Touch: Identifiable {
 81 |         var id: Int
    :
 88 |     var isEnabled: Bool
 89 |
 90 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 91 |         content
 92 |             .gesture(TouchVisualizerGesture(isEnabled: isEnabled, touches: $touches))
 93 |             .overlay {
 94 |                 ForEach(isEnabled ? touches : []) { touch in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 95 |                     TouchView()
 96 |                         .position(touch.coordinates)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:94:17: error: 'init(_:content:)' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | private struct TouchVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 80 |     struct Touch: Identifiable {
 81 |         var id: Int
    :
 88 |     var isEnabled: Bool
 89 |
 90 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 91 |         content
 92 |             .gesture(TouchVisualizerGesture(isEnabled: isEnabled, touches: $touches))
 93 |             .overlay {
 94 |                 ForEach(isEnabled ? touches : []) { touch in
    |                 |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 95 |                     TouchView()
 96 |                         .position(touch.coordinates)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:96:26: error: 'position' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | private struct TouchVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 80 |     struct Touch: Identifiable {
 81 |         var id: Int
    :
 88 |     var isEnabled: Bool
 89 |
 90 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 91 |         content
 92 |             .gesture(TouchVisualizerGesture(isEnabled: isEnabled, touches: $touches))
    :
 94 |                 ForEach(isEnabled ? touches : []) { touch in
 95 |                     TouchView()
 96 |                         .position(touch.coordinates)
    |                          |- error: 'position' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 97 |                 }
 98 |                 .accessibilityHidden(true)
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:98:18: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
 77 | }
 78 |
 79 | private struct TouchVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 80 |     struct Touch: Identifiable {
 81 |         var id: Int
    :
 88 |     var isEnabled: Bool
 89 |
 90 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 91 |         content
 92 |             .gesture(TouchVisualizerGesture(isEnabled: isEnabled, touches: $touches))
    :
 96 |                         .position(touch.coordinates)
 97 |                 }
 98 |                 .accessibilityHidden(true)
    |                  |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
 99 |                 .allowsHitTesting(false)
100 |             }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:99:18: error: 'allowsHitTesting' is only available in macOS 10.15 or newer
 77 | }
 78 |
 79 | private struct TouchVisualizer: ViewModifier {
    |                `- note: add @available attribute to enclosing struct
 80 |     struct Touch: Identifiable {
 81 |         var id: Int
    :
 88 |     var isEnabled: Bool
 89 |
 90 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 91 |         content
 92 |             .gesture(TouchVisualizerGesture(isEnabled: isEnabled, touches: $touches))
    :
 97 |                 }
 98 |                 .accessibilityHidden(true)
 99 |                 .allowsHitTesting(false)
    |                  |- error: 'allowsHitTesting' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
100 |             }
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:115:26: error: cannot convert value of type 'any KeyPath<EnvironmentValues, ColorScheme> & Sendable' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
113 |                 Circle().strokeBorder(.regularMaterial, lineWidth: 2)
114 |             }
115 |             .environment(\.colorScheme, .light)
    |                          `- error: cannot convert value of type 'any KeyPath<EnvironmentValues, ColorScheme> & Sendable' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
116 |     }
117 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:115:42: error: cannot infer contextual base in reference to member 'light'
113 |                 Circle().strokeBorder(.regularMaterial, lineWidth: 2)
114 |             }
115 |             .environment(\.colorScheme, .light)
    |                                          `- error: cannot infer contextual base in reference to member 'light'
116 |     }
117 | }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:124:13: error: 'super' members cannot be referenced in a root class
122 |
123 |         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent) {
124 |             super.touchesBegan(touches, with: event)
    |             `- error: 'super' members cannot be referenced in a root class
125 |
126 |             self.touches += touches.count
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:129:22: error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'state'
127 |
128 |             if self.touches >= 0 {
129 |                 self.state = .changed
    |                      `- error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'state'
130 |             }
131 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:129:31: error: cannot infer contextual base in reference to member 'changed'
127 |
128 |             if self.touches >= 0 {
129 |                 self.state = .changed
    |                               `- error: cannot infer contextual base in reference to member 'changed'
130 |             }
131 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:135:22: error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'state'
133 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent) {
134 |             if self.touches >= 0 {
135 |                 self.state = .changed
    |                      `- error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'state'
136 |             }
137 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:135:31: error: cannot infer contextual base in reference to member 'changed'
133 |         override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent) {
134 |             if self.touches >= 0 {
135 |                 self.state = .changed
    |                               `- error: cannot infer contextual base in reference to member 'changed'
136 |             }
137 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:140:13: error: 'super' members cannot be referenced in a root class
138 |
139 |         override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent) {
140 |             super.touchesEnded(touches, with: event)
    |             `- error: 'super' members cannot be referenced in a root class
141 |
142 |             self.touches -= touches.count
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:145:22: error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'state'
143 |
144 |             if self.touches == 0 {
145 |                 self.state = .ended
    |                      `- error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'state'
146 |             }
147 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:145:31: error: cannot infer contextual base in reference to member 'ended'
143 |
144 |             if self.touches == 0 {
145 |                 self.state = .ended
    |                               `- error: cannot infer contextual base in reference to member 'ended'
146 |             }
147 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:150:13: error: 'super' members cannot be referenced in a root class
148 |
149 |         override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent) {
150 |             super.touchesCancelled(touches, with: event)
    |             `- error: 'super' members cannot be referenced in a root class
151 |
152 |             self.touches -= touches.count
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:155:22: error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'state'
153 |
154 |             if self.touches == 0 {
155 |                 self.state = .cancelled
    |                      `- error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'state'
156 |             }
157 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:155:31: error: cannot infer contextual base in reference to member 'cancelled'
153 |
154 |             if self.touches == 0 {
155 |                 self.state = .cancelled
    |                               `- error: cannot infer contextual base in reference to member 'cancelled'
156 |             }
157 |         }
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:176:11: error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'cancelsTouchesInView'
174 |     func makeUIGestureRecognizer(context: Context) -> UIGestureRecognizer {
175 |         let g = Recognizer()
176 |         g.cancelsTouchesInView = false
    |           `- error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'cancelsTouchesInView'
177 |         g.delegate = context.coordinator
178 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:177:11: error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'delegate'
175 |         let g = Recognizer()
176 |         g.cancelsTouchesInView = false
177 |         g.delegate = context.coordinator
    |           `- error: value of type 'TouchVisualizerGesture.Recognizer' has no member 'delegate'
178 |
179 |         return g
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:188:71: error: 'nil' requires a contextual type
186 |         case .began, .changed:
187 |             touches = (0 ..< recognizer.numberOfTouches).map { i in
188 |                 let globalPoint = recognizer.location(ofTouch: i, in: nil)
    |                                                                       `- error: 'nil' requires a contextual type
189 |                 let point = context.converter.convert(globalPoint: globalPoint)
190 |
/Users/admin/builder/spi-builder-workspace/Sources/VisualizeTouches/TouchVisualization.swift:194:13: error: setter for 'touches' is only available in macOS 10.15 or newer
117 | }
118 |
119 | private struct TouchVisualizerGesture: UIGestureRecognizerRepresentable {
    |                `- note: add @available attribute to enclosing struct
120 |     final class Recognizer: UIGestureRecognizer {
121 |         var touches = 0
    :
180 |     }
181 |
182 |     func handleUIGestureRecognizerAction(_ recognizer: Self.UIGestureRecognizerType, context: Self.Context) {
    |          `- note: add @available attribute to enclosing instance method
183 |         guard recognizer.view != nil else { return }
184 |         guard isEnabled else { return }
    :
192 |             }
193 |         default:
194 |             touches = []
    |             |- error: setter for 'touches' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
195 |         }
196 |     }
BUILD FAILURE 6.0 macosSpm