Build Information
Failed to build SwiftUIRippleEffect with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Jnis/SwiftUIRippleEffect.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Jnis/SwiftUIRippleEffect
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at adb1eaf iOS 14; fill percent option; ability to use custom ripple effect view
Cloned https://github.com/Jnis/SwiftUIRippleEffect.git
Revision (git rev-parse @):
adb1eaf41926b6d30c5b8ffbb889f4775d754ed7
SUCCESS checkout https://github.com/Jnis/SwiftUIRippleEffect.git at main
Fetching https://github.com/Jnis/ViewOnTouch.git from cache
Fetched https://github.com/Jnis/ViewOnTouch.git (0.17s)
Computing version for https://github.com/Jnis/ViewOnTouch.git
Computed https://github.com/Jnis/ViewOnTouch.git at 1.0.0 (0.46s)
Creating working copy for https://github.com/Jnis/ViewOnTouch.git
Working copy of https://github.com/Jnis/ViewOnTouch.git resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftuirippleeffect",
"name": "SwiftUIRippleEffect",
"url": "https://github.com/Jnis/SwiftUIRippleEffect.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUIRippleEffect",
"dependencies": [
{
"identity": "viewontouch",
"name": "ViewOnTouch",
"url": "https://github.com/Jnis/ViewOnTouch.git",
"version": "1.0.1",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ViewOnTouch",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Jnis/SwiftUIRippleEffect.git
[1/145] Fetching swiftuirippleeffect
Fetched https://github.com/Jnis/SwiftUIRippleEffect.git (0.32s)
Fetching https://github.com/Jnis/ViewOnTouch.git from cache
Fetched https://github.com/Jnis/ViewOnTouch.git (0.18s)
Computing version for https://github.com/Jnis/ViewOnTouch.git
Computed https://github.com/Jnis/ViewOnTouch.git at 1.0.1 (0.01s)
Creating working copy for https://github.com/Jnis/ViewOnTouch.git
Working copy of https://github.com/Jnis/ViewOnTouch.git resolved at 1.0.1
Creating working copy for https://github.com/Jnis/SwiftUIRippleEffect.git
Working copy of https://github.com/Jnis/SwiftUIRippleEffect.git resolved at main
warning: '.resolve-product-dependencies': dependency 'swiftuirippleeffect' is not used by any target
Found 1 product dependencies
- ViewOnTouch
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module ViewOnTouch
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:32:132: error: 'View' is only available in macOS 10.15 or newer
public func onTouch(type: OnTouchType, limitToBounds: Bool = false, perform: @escaping (CGPoint, OnTouchType) -> Void) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:32:17: note: add @available attribute to enclosing instance method
public func onTouch(type: OnTouchType, limitToBounds: Bool = false, perform: @escaping (CGPoint, OnTouchType) -> Void) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:43:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:43:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:38:8: note: add @available attribute to enclosing struct
struct TouchLocaterModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:61:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> TouchLocatingUIView {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:70:63: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: TouchLocatingUIView, context: Context) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:97:39: error: cannot find 'UITapGestureRecognizer' in scope
private lazy var tapGesture = UITapGestureRecognizer(target: self, action: #selector(tapGestureAction(gesture:)))
^~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:106:54: error: cannot find type 'UIGestureRecognizer' in scope
@objc private func tapGestureAction(gesture: UIGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:98:45: error: cannot find 'UILongPressGestureRecognizer' in scope
private lazy var longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureAction(gesture:)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:111:60: error: cannot find type 'UILongPressGestureRecognizer' in scope
@objc private func longPressGestureAction(gesture: UILongPressGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:86:18: error: initializer does not override a designated initializer from its superclass
override init(frame: CGRect) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:51: error: cannot find type 'UITouch' in scope
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:73: error: cannot find type 'UIEvent' in scope
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:23: error: method does not override any method from its superclass
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:51: error: cannot find type 'UITouch' in scope
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:73: error: cannot find type 'UIEvent' in scope
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:23: error: method does not override any method from its superclass
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:51: error: cannot find type 'UITouch' in scope
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:73: error: cannot find type 'UIEvent' in scope
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:23: error: method does not override any method from its superclass
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:55: error: cannot find type 'UITouch' in scope
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:77: error: cannot find type 'UIEvent' in scope
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:23: error: method does not override any method from its superclass
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:74:32: error: cannot find type 'UIView' in scope
class TouchLocatingUIView: UIView {
^~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:51:27: error: cannot find type 'UIViewRepresentable' in scope
struct TouchLocatingView: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
[2/2] Compiling ViewOnTouch View+OnTouch.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:32:132: error: 'View' is only available in macOS 10.15 or newer
public func onTouch(type: OnTouchType, limitToBounds: Bool = false, perform: @escaping (CGPoint, OnTouchType) -> Void) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:32:17: note: add @available attribute to enclosing instance method
public func onTouch(type: OnTouchType, limitToBounds: Bool = false, perform: @escaping (CGPoint, OnTouchType) -> Void) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:43:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:43:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:38:8: note: add @available attribute to enclosing struct
struct TouchLocaterModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:61:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> TouchLocatingUIView {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:70:63: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: TouchLocatingUIView, context: Context) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:97:39: error: cannot find 'UITapGestureRecognizer' in scope
private lazy var tapGesture = UITapGestureRecognizer(target: self, action: #selector(tapGestureAction(gesture:)))
^~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:106:54: error: cannot find type 'UIGestureRecognizer' in scope
@objc private func tapGestureAction(gesture: UIGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:98:45: error: cannot find 'UILongPressGestureRecognizer' in scope
private lazy var longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureAction(gesture:)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:111:60: error: cannot find type 'UILongPressGestureRecognizer' in scope
@objc private func longPressGestureAction(gesture: UILongPressGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:86:18: error: initializer does not override a designated initializer from its superclass
override init(frame: CGRect) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:51: error: cannot find type 'UITouch' in scope
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:73: error: cannot find type 'UIEvent' in scope
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:23: error: method does not override any method from its superclass
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:51: error: cannot find type 'UITouch' in scope
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:73: error: cannot find type 'UIEvent' in scope
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:23: error: method does not override any method from its superclass
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:51: error: cannot find type 'UITouch' in scope
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:73: error: cannot find type 'UIEvent' in scope
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:23: error: method does not override any method from its superclass
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:55: error: cannot find type 'UITouch' in scope
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:77: error: cannot find type 'UIEvent' in scope
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:23: error: method does not override any method from its superclass
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:74:32: error: cannot find type 'UIView' in scope
class TouchLocatingUIView: UIView {
^~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:51:27: error: cannot find type 'UIViewRepresentable' in scope
struct TouchLocatingView: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:33:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(TouchLocaterModifier(type: type, limitToBounds: limitToBounds, perform: perform))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:33:14: note: add 'if #available' version check
self.modifier(TouchLocaterModifier(type: type, limitToBounds: limitToBounds, perform: perform))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:32:17: note: add @available attribute to enclosing instance method
public func onTouch(type: OnTouchType, limitToBounds: Bool = false, perform: @escaping (CGPoint, OnTouchType) -> Void) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:45:14: error: instance method 'overlay(_:ignoresSafeAreaEdges:)' requires that 'TouchLocatingView' conform to 'ShapeStyle'
.overlay(
^
SwiftUI.View:5:28: note: where 'S' = 'TouchLocatingView'
@inlinable public func overlay<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:63:40: error: missing argument for parameter 'frame' in call
let view = TouchLocatingUIView()
^
frame: <#CGRect#>
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:86:18: note: 'init(frame:)' declared here
override init(frame: CGRect) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:87:13: error: 'super' members cannot be referenced in a root class
super.init(frame: frame)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:93:13: error: 'super' members cannot be referenced in a root class
super.init(coder: coder)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:101:13: error: cannot find 'isUserInteractionEnabled' in scope
isUserInteractionEnabled = true
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:102:18: error: value of type 'TouchLocatingView.TouchLocatingUIView' has no member 'addGestureRecognizer'
self.addGestureRecognizer(tapGesture)
~~~~ ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:103:18: error: value of type 'TouchLocatingView.TouchLocatingUIView' has no member 'addGestureRecognizer'
self.addGestureRecognizer(longPressGesture)
~~~~ ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:113:34: error: cannot infer contextual base in reference to member 'began'
if gesture.state == .began {
~^~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:115:41: error: cannot infer contextual base in reference to member 'changed'
} else if gesture.state == .changed {
~^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:124:13: error: 'super' members cannot be referenced in a root class
super.touchesBegan(touches, with: event)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:132:13: error: 'super' members cannot be referenced in a root class
super.touchesMoved(touches, with: event)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:140:13: error: 'super' members cannot be referenced in a root class
super.touchesEnded(touches, with: event)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:159:42: error: cannot find 'bounds' in scope
if limitToBounds == false || bounds.contains(location) {
^~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module ViewOnTouch
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:32:132: error: 'View' is only available in macOS 10.15 or newer
public func onTouch(type: OnTouchType, limitToBounds: Bool = false, perform: @escaping (CGPoint, OnTouchType) -> Void) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:32:17: note: add @available attribute to enclosing instance method
public func onTouch(type: OnTouchType, limitToBounds: Bool = false, perform: @escaping (CGPoint, OnTouchType) -> Void) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:43:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:43:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:38:8: note: add @available attribute to enclosing struct
struct TouchLocaterModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:61:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> TouchLocatingUIView {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:70:63: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: TouchLocatingUIView, context: Context) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:97:39: error: cannot find 'UITapGestureRecognizer' in scope
private lazy var tapGesture = UITapGestureRecognizer(target: self, action: #selector(tapGestureAction(gesture:)))
^~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:106:54: error: cannot find type 'UIGestureRecognizer' in scope
@objc private func tapGestureAction(gesture: UIGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:98:45: error: cannot find 'UILongPressGestureRecognizer' in scope
private lazy var longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureAction(gesture:)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:111:60: error: cannot find type 'UILongPressGestureRecognizer' in scope
@objc private func longPressGestureAction(gesture: UILongPressGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:86:18: error: initializer does not override a designated initializer from its superclass
override init(frame: CGRect) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:51: error: cannot find type 'UITouch' in scope
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:73: error: cannot find type 'UIEvent' in scope
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:23: error: method does not override any method from its superclass
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:51: error: cannot find type 'UITouch' in scope
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:73: error: cannot find type 'UIEvent' in scope
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:23: error: method does not override any method from its superclass
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:51: error: cannot find type 'UITouch' in scope
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:73: error: cannot find type 'UIEvent' in scope
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:23: error: method does not override any method from its superclass
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:55: error: cannot find type 'UITouch' in scope
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:77: error: cannot find type 'UIEvent' in scope
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:23: error: method does not override any method from its superclass
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:74:32: error: cannot find type 'UIView' in scope
class TouchLocatingUIView: UIView {
^~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:51:27: error: cannot find type 'UIViewRepresentable' in scope
struct TouchLocatingView: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
[2/2] Compiling ViewOnTouch View+OnTouch.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:32:132: error: 'View' is only available in macOS 10.15 or newer
public func onTouch(type: OnTouchType, limitToBounds: Bool = false, perform: @escaping (CGPoint, OnTouchType) -> Void) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:32:17: note: add @available attribute to enclosing instance method
public func onTouch(type: OnTouchType, limitToBounds: Bool = false, perform: @escaping (CGPoint, OnTouchType) -> Void) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:43:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:43:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:38:8: note: add @available attribute to enclosing struct
struct TouchLocaterModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:61:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> TouchLocatingUIView {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:70:63: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: TouchLocatingUIView, context: Context) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:97:39: error: cannot find 'UITapGestureRecognizer' in scope
private lazy var tapGesture = UITapGestureRecognizer(target: self, action: #selector(tapGestureAction(gesture:)))
^~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:106:54: error: cannot find type 'UIGestureRecognizer' in scope
@objc private func tapGestureAction(gesture: UIGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:98:45: error: cannot find 'UILongPressGestureRecognizer' in scope
private lazy var longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPressGestureAction(gesture:)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:111:60: error: cannot find type 'UILongPressGestureRecognizer' in scope
@objc private func longPressGestureAction(gesture: UILongPressGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:86:18: error: initializer does not override a designated initializer from its superclass
override init(frame: CGRect) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:51: error: cannot find type 'UITouch' in scope
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:73: error: cannot find type 'UIEvent' in scope
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:123:23: error: method does not override any method from its superclass
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:51: error: cannot find type 'UITouch' in scope
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:73: error: cannot find type 'UIEvent' in scope
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:131:23: error: method does not override any method from its superclass
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:51: error: cannot find type 'UITouch' in scope
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:73: error: cannot find type 'UIEvent' in scope
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:139:23: error: method does not override any method from its superclass
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:55: error: cannot find type 'UITouch' in scope
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:77: error: cannot find type 'UIEvent' in scope
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:147:23: error: method does not override any method from its superclass
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:74:32: error: cannot find type 'UIView' in scope
class TouchLocatingUIView: UIView {
^~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:51:27: error: cannot find type 'UIViewRepresentable' in scope
struct TouchLocatingView: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:33:14: error: 'modifier' is only available in macOS 10.15 or newer
self.modifier(TouchLocaterModifier(type: type, limitToBounds: limitToBounds, perform: perform))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:33:14: note: add 'if #available' version check
self.modifier(TouchLocaterModifier(type: type, limitToBounds: limitToBounds, perform: perform))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:32:17: note: add @available attribute to enclosing instance method
public func onTouch(type: OnTouchType, limitToBounds: Bool = false, perform: @escaping (CGPoint, OnTouchType) -> Void) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:31:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:45:14: error: instance method 'overlay(_:ignoresSafeAreaEdges:)' requires that 'TouchLocatingView' conform to 'ShapeStyle'
.overlay(
^
SwiftUI.View:5:28: note: where 'S' = 'TouchLocatingView'
@inlinable public func overlay<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:63:40: error: missing argument for parameter 'frame' in call
let view = TouchLocatingUIView()
^
frame: <#CGRect#>
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:86:18: note: 'init(frame:)' declared here
override init(frame: CGRect) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:87:13: error: 'super' members cannot be referenced in a root class
super.init(frame: frame)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:93:13: error: 'super' members cannot be referenced in a root class
super.init(coder: coder)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:101:13: error: cannot find 'isUserInteractionEnabled' in scope
isUserInteractionEnabled = true
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:102:18: error: value of type 'TouchLocatingView.TouchLocatingUIView' has no member 'addGestureRecognizer'
self.addGestureRecognizer(tapGesture)
~~~~ ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:103:18: error: value of type 'TouchLocatingView.TouchLocatingUIView' has no member 'addGestureRecognizer'
self.addGestureRecognizer(longPressGesture)
~~~~ ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:113:34: error: cannot infer contextual base in reference to member 'began'
if gesture.state == .began {
~^~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:115:41: error: cannot infer contextual base in reference to member 'changed'
} else if gesture.state == .changed {
~^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:124:13: error: 'super' members cannot be referenced in a root class
super.touchesBegan(touches, with: event)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:132:13: error: 'super' members cannot be referenced in a root class
super.touchesMoved(touches, with: event)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:140:13: error: 'super' members cannot be referenced in a root class
super.touchesEnded(touches, with: event)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ViewOnTouch/Sources/View+OnTouch.swift:159:42: error: cannot find 'bounds' in scope
if limitToBounds == false || bounds.contains(location) {
^~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm