The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwipableCell, reference main (d97e15), with Swift 6.3 for macOS (SPM) on 12 Sep 2026 07:33:37 UTC.

Build Command

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

Build Log

  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 17 |
 18 |     private var trailingActions: AnyView?               { configuration.trailingActions }
 19 |     private var leadingActions:  AnyView?               { configuration.leadingActions  }
    |                 |                `- error: 'AnyView' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 20 |     private var fullSwipes:      [HorizontalEdge: Bool] { configuration.fullSwipes      }
 21 |     private var actionsLayout:   SwipeActionsLayout     { configuration.actionsLayout   }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:20:35: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 18 |     private var trailingActions: AnyView?               { configuration.trailingActions }
 19 |     private var leadingActions:  AnyView?               { configuration.leadingActions  }
 20 |     private var fullSwipes:      [HorizontalEdge: Bool] { configuration.fullSwipes      }
    |                 |                 `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
    |                 `- note: add '@available' attribute to enclosing property
 21 |     private var actionsLayout:   SwipeActionsLayout     { configuration.actionsLayout   }
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 28 |     }
 29 |
 30 |     @State        private var isHorizontalDrag: Bool   = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 31 |     @State        private var offset:           CGFloat = 0
 32 |     @State        private var oldOffset:        CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:31:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 29 |
 30 |     @State        private var isHorizontalDrag: Bool   = false
 31 |     @State        private var offset:           CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 32 |     @State        private var oldOffset:        CGFloat = 0
 33 |     @State        private var lockedEdge:       HorizontalEdge? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:32:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 30 |     @State        private var isHorizontalDrag: Bool   = false
 31 |     @State        private var offset:           CGFloat = 0
 32 |     @State        private var oldOffset:        CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 33 |     @State        private var lockedEdge:       HorizontalEdge? = nil
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:33:49: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 31 |     @State        private var offset:           CGFloat = 0
 32 |     @State        private var oldOffset:        CGFloat = 0
 33 |     @State        private var lockedEdge:       HorizontalEdge? = nil
    |                                                 `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
 34 |
 35 |     @State private var cellWidth: CGFloat = .zero
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 31 |     @State        private var offset:           CGFloat = 0
 32 |     @State        private var oldOffset:        CGFloat = 0
 33 |     @State        private var lockedEdge:       HorizontalEdge? = nil
    |      `- error: 'State' is only available in macOS 10.15 or newer
 34 |
 35 |     @State private var cellWidth: CGFloat = .zero
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 33 |     @State        private var lockedEdge:       HorizontalEdge? = nil
 34 |
 35 |     @State private var cellWidth: CGFloat = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 36 |     @State private var frameHeight: CGFloat? = nil
 37 |     @State private var heightLocked: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 34 |
 35 |     @State private var cellWidth: CGFloat = .zero
 36 |     @State private var frameHeight: CGFloat? = nil
    |      `- error: 'State' is only available in macOS 10.15 or newer
 37 |     @State private var heightLocked: Bool = false
 38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:37:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 35 |     @State private var cellWidth: CGFloat = .zero
 36 |     @State private var frameHeight: CGFloat? = nil
 37 |     @State private var heightLocked: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 38 |
 39 |     @State private var trailingMeta: [SwipeActionMeta] = []
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:39:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 37 |     @State private var heightLocked: Bool = false
 38 |
 39 |     @State private var trailingMeta: [SwipeActionMeta] = []
    |      `- error: 'State' is only available in macOS 10.15 or newer
 40 |     @State private var leadingMeta:  [SwipeActionMeta] = []
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 38 |
 39 |     @State private var trailingMeta: [SwipeActionMeta] = []
 40 |     @State private var leadingMeta:  [SwipeActionMeta] = []
    |      `- error: 'State' is only available in macOS 10.15 or newer
 41 |
 42 |     private var trailingWidth: CGFloat { actionsLayout.width(for: trailingMeta.count)}
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:45:28: error: 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 43 |     private var leadingWidth:  CGFloat { actionsLayout.width(for: leadingMeta.count) }
 44 |
 45 |     public  var body: some View {
    |                 |          `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 46 |         ZStack(alignment: .center) {
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:97:46: error: cannot find type 'UIPanGestureRecognizer' in scope
 95 |     }
 96 |
 97 |     private func handlePanChanged(_ gesture: UIPanGestureRecognizer) {
    |                                              `- error: cannot find type 'UIPanGestureRecognizer' in scope
 98 |         let t = gesture.translation(in: nil)
 99 |         guard isHorizontalDrag || abs(t.x) > abs(t.y) * 5.0 else { //, abs(t.x) > 15
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:116:44: error: cannot find type 'UIPanGestureRecognizer' in scope
114 |     }
115 |
116 |     private func handlePanEnded(_ gesture: UIPanGestureRecognizer) {
    |                                            `- error: cannot find type 'UIPanGestureRecognizer' in scope
117 |         isHorizontalDrag = false
118 |         let velocity = gesture.velocity(in: nil).x
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:158:41: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  |                      `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:215:43: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
213 |     }
214 |
215 |     private func makeRenderInfo(for edge: HorizontalEdge, meta: [SwipeActionMeta]) -> (state: SwipeActionsState, size: CGSize) {
    |                  |                        `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
216 |
217 |         let ids = meta.map(\.id)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:247:45: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  |                          `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:247:75: error: 'AnyView' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  |                                                        `- error: 'AnyView' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:247:92: error: 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  |                                                                         `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:246:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
244 |     }
245 |
246 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:11:38: error: 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               |                      `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:290:18: error: 'Subview' is only available in macOS 15.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
    |                  `- error: 'Subview' is only available in macOS 15.0 or newer
291 |     let state: SwipeActionsState
292 |     let actionsLayout: SwipeActionsLayout
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:296:6: error: 'GestureState' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
294 |     let onTap: () -> Void
295 |
296 |     @GestureState private var isPressed = false
    |      `- error: 'GestureState' is only available in macOS 10.15 or newer
297 |
298 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:298:20: error: 'View' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
[4/12] Compiling SwipableCell SwipeModifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeModifiers.swift:12:30: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |     func makeSwipeActions<T: View>(
   |          |                   `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |         edge: HorizontalEdge = .trailing,
14 |         allowsFullSwipe: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeModifiers.swift:13:15: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
 9 | import SwiftUI
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |     func makeSwipeActions<T: View>(
   |          `- note: add '@available' attribute to enclosing instance method
13 |         edge: HorizontalEdge = .trailing,
   |               `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
14 |         allowsFullSwipe: Bool = false,
15 |         @ViewBuilder actions: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeModifiers.swift:15:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |     func makeSwipeActions<T: View>(
   |          `- note: add '@available' attribute to enclosing instance method
13 |         edge: HorizontalEdge = .trailing,
14 |         allowsFullSwipe: Bool = false,
15 |         @ViewBuilder actions: () -> T
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
16 |     ) -> SwipeableCell<Self> {
17 |         var config = SwipeCellConfiguration()
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeModifiers.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
12 |     func makeSwipeActions<T: View>(
13 |         edge: HorizontalEdge = .trailing,
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeModifiers.swift:24:30: error: 'View' is only available in macOS 10.15 or newer
21 | }
22 |
23 | public extension SwipeableCell {
   |        `- note: add '@available' attribute to enclosing extension
24 |     func makeSwipeActions<T: View>(
   |          |                   `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
25 |         edge: HorizontalEdge = .trailing,
26 |         allowsFullSwipe: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeModifiers.swift:25:15: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
21 | }
22 |
23 | public extension SwipeableCell {
   |        `- note: add '@available' attribute to enclosing extension
24 |     func makeSwipeActions<T: View>(
   |          `- note: add '@available' attribute to enclosing instance method
25 |         edge: HorizontalEdge = .trailing,
   |               `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
26 |         allowsFullSwipe: Bool = false,
27 |         @ViewBuilder actions: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeModifiers.swift:27:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
21 | }
22 |
23 | public extension SwipeableCell {
   |        `- note: add '@available' attribute to enclosing extension
24 |     func makeSwipeActions<T: View>(
   |          `- note: add '@available' attribute to enclosing instance method
25 |         edge: HorizontalEdge = .trailing,
26 |         allowsFullSwipe: Bool = false,
27 |         @ViewBuilder actions: () -> T
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 |     ) -> SwipeableCell {
29 |         var config = configuration
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeModifiers.swift:35:18: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
36 |     func swipeActionsLayout(_ layout: SwipeActionsLayout) -> SwipeableCell<Self> {
37 |         var config = SwipeCellConfiguration()
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeModifiers.swift:51:18: error: 'View' is only available in macOS 10.15 or newer
49 | }
50 |
51 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
52 |     func cellAction(disclosureWidth:CGFloat = 44, action: @escaping () -> Void) -> SwipeableCell<Self> {
53 |         var config = SwipeCellConfiguration()
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeModifiers.swift:18:41: error: 'AnyView' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |     func makeSwipeActions<T: View>(
   |          `- note: add '@available' attribute to enclosing instance method
13 |         edge: HorizontalEdge = .trailing,
14 |         allowsFullSwipe: Bool = false,
   :
16 |     ) -> SwipeableCell<Self> {
17 |         var config = SwipeCellConfiguration()
18 |         config.set(edge: edge, actions: AnyView(actions()), allowsFullSwipe: allowsFullSwipe)
   |                                         |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
19 |         return SwipeableCell(content: self, configuration: config)
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeModifiers.swift:30:41: error: 'AnyView' is only available in macOS 10.15 or newer
21 | }
22 |
23 | public extension SwipeableCell {
   |        `- note: add '@available' attribute to enclosing extension
24 |     func makeSwipeActions<T: View>(
   |          `- note: add '@available' attribute to enclosing instance method
25 |         edge: HorizontalEdge = .trailing,
26 |         allowsFullSwipe: Bool = false,
   :
28 |     ) -> SwipeableCell {
29 |         var config = configuration
30 |         config.set(edge: edge, actions: AnyView(actions()), allowsFullSwipe: allowsFullSwipe)
   |                                         |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
31 |         return SwipeableCell(content: content, configuration: config)
32 |     }
[5/12] Compiling SwipableCell SwipeCellConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCellConfiguration.swift:12:33: error: 'AnyView' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeCellConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
12 |     public var trailingActions: AnyView?  = nil
   |                                 `- error: 'AnyView' is only available in macOS 10.15 or newer
13 |     public var leadingActions:  AnyView?  = nil
14 |     public var fullSwipes: [HorizontalEdge: Bool] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCellConfiguration.swift:13:33: error: 'AnyView' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeCellConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
12 |     public var trailingActions: AnyView?  = nil
13 |     public var leadingActions:  AnyView?  = nil
   |                                 `- error: 'AnyView' is only available in macOS 10.15 or newer
14 |     public var fullSwipes: [HorizontalEdge: Bool] = [:]
15 |     public var actionsLayout:SwipeActionsLayout = .base
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCellConfiguration.swift:14:29: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeCellConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
12 |     public var trailingActions: AnyView?  = nil
13 |     public var leadingActions:  AnyView?  = nil
14 |     public var fullSwipes: [HorizontalEdge: Bool] = [:]
   |                             `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
15 |     public var actionsLayout:SwipeActionsLayout = .base
16 |     public var disclosureWidth:CGFloat = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCellConfiguration.swift:14:53: error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeCellConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
12 |     public var trailingActions: AnyView?  = nil
13 |     public var leadingActions:  AnyView?  = nil
14 |     public var fullSwipes: [HorizontalEdge: Bool] = [:]
   |                                                     `- error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
15 |     public var actionsLayout:SwipeActionsLayout = .base
16 |     public var disclosureWidth:CGFloat = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCellConfiguration.swift:22:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeCellConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
12 |     public var trailingActions: AnyView?  = nil
13 |     public var leadingActions:  AnyView?  = nil
   :
20 |         self.actionsLayout = actionsLayout
21 |     }
22 |     public mutating func set(edge: HorizontalEdge, actions: AnyView, allowsFullSwipe: Bool) {
   |                          |         `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
   |                          `- note: add '@available' attribute to enclosing instance method
23 |         switch edge {
24 |         case .trailing: trailingActions = actions
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCellConfiguration.swift:22:61: error: 'AnyView' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeCellConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
12 |     public var trailingActions: AnyView?  = nil
13 |     public var leadingActions:  AnyView?  = nil
   :
20 |         self.actionsLayout = actionsLayout
21 |     }
22 |     public mutating func set(edge: HorizontalEdge, actions: AnyView, allowsFullSwipe: Bool) {
   |                          |                                  `- error: 'AnyView' is only available in macOS 10.15 or newer
   |                          `- note: add '@available' attribute to enclosing instance method
23 |         switch edge {
24 |         case .trailing: trailingActions = actions
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCellConfiguration.swift:27:9: error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeCellConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
12 |     public var trailingActions: AnyView?  = nil
13 |     public var leadingActions:  AnyView?  = nil
   :
20 |         self.actionsLayout = actionsLayout
21 |     }
22 |     public mutating func set(edge: HorizontalEdge, actions: AnyView, allowsFullSwipe: Bool) {
   |                          `- note: add '@available' attribute to enclosing instance method
23 |         switch edge {
24 |         case .trailing: trailingActions = actions
25 |         case .leading: leadingActions = actions
26 |         }
27 |         fullSwipes[edge] = allowsFullSwipe
   |         |- error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
   |         `- note: add 'if #available' version check
28 |     }
29 | }
[6/12] Compiling SwipableCell PanGestureView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:12:21: error: cannot find type 'UIPanGestureRecognizer' in scope
10 |
11 | internal struct PanGestureView: UIViewRepresentable {
12 |     let onChanged: (UIPanGestureRecognizer) -> Void
   |                     `- error: cannot find type 'UIPanGestureRecognizer' in scope
13 |     let onEnded: (UIPanGestureRecognizer) -> Void
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:13:19: error: cannot find type 'UIPanGestureRecognizer' in scope
11 | internal struct PanGestureView: UIViewRepresentable {
12 |     let onChanged: (UIPanGestureRecognizer) -> Void
13 |     let onEnded: (UIPanGestureRecognizer) -> Void
   |                   `- error: cannot find type 'UIPanGestureRecognizer' in scope
14 |
15 |     func makeUIView(context: Context) -> UIView {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:15:42: error: cannot find type 'UIView' in scope
13 |     let onEnded: (UIPanGestureRecognizer) -> Void
14 |
15 |     func makeUIView(context: Context) -> UIView {
   |                                          `- error: cannot find type 'UIView' in scope
16 |         let view = UIView()
17 |         view.backgroundColor =  .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:15:30: error: cannot find type 'Context' in scope
13 |     let onEnded: (UIPanGestureRecognizer) -> Void
14 |
15 |     func makeUIView(context: Context) -> UIView {
   |                              `- error: cannot find type 'Context' in scope
16 |         let view = UIView()
17 |         view.backgroundColor =  .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:29:33: error: cannot find type 'UIView' in scope
27 |     }
28 |
29 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                 `- error: cannot find type 'UIView' in scope
30 |
31 |     func makeCoordinator() -> Coordinator {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:29:50: error: cannot find type 'Context' in scope
27 |     }
28 |
29 |     func updateUIView(_ uiView: UIView, context: Context) {}
   |                                                  `- error: cannot find type 'Context' in scope
30 |
31 |     func makeCoordinator() -> Coordinator {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:39:36: error: cannot find type 'UIPanGestureRecognizer' in scope
37 |         let onEnded: (UIPanGestureRecognizer) -> Void
38 |
39 |         init(onChanged: @escaping (UIPanGestureRecognizer) -> Void,
   |                                    `- error: cannot find type 'UIPanGestureRecognizer' in scope
40 |              onEnded: @escaping (UIPanGestureRecognizer) -> Void) {
41 |             self.onChanged = onChanged
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:40:34: error: cannot find type 'UIPanGestureRecognizer' in scope
38 |
39 |         init(onChanged: @escaping (UIPanGestureRecognizer) -> Void,
40 |              onEnded: @escaping (UIPanGestureRecognizer) -> Void) {
   |                                  `- error: cannot find type 'UIPanGestureRecognizer' in scope
41 |             self.onChanged = onChanged
42 |             self.onEnded = onEnded
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:35:34: error: cannot find type 'UIGestureRecognizerDelegate' in scope
33 |     }
34 |
35 |     class Coordinator: NSObject, UIGestureRecognizerDelegate {
   |                                  `- error: cannot find type 'UIGestureRecognizerDelegate' in scope
36 |         let onChanged: (UIPanGestureRecognizer) -> Void
37 |         let onEnded: (UIPanGestureRecognizer) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:36:25: error: cannot find type 'UIPanGestureRecognizer' in scope
34 |
35 |     class Coordinator: NSObject, UIGestureRecognizerDelegate {
36 |         let onChanged: (UIPanGestureRecognizer) -> Void
   |                         `- error: cannot find type 'UIPanGestureRecognizer' in scope
37 |         let onEnded: (UIPanGestureRecognizer) -> Void
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:37:23: error: cannot find type 'UIPanGestureRecognizer' in scope
35 |     class Coordinator: NSObject, UIGestureRecognizerDelegate {
36 |         let onChanged: (UIPanGestureRecognizer) -> Void
37 |         let onEnded: (UIPanGestureRecognizer) -> Void
   |                       `- error: cannot find type 'UIPanGestureRecognizer' in scope
38 |
39 |         init(onChanged: @escaping (UIPanGestureRecognizer) -> Void,
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:45:41: error: cannot find type 'UIPanGestureRecognizer' in scope
43 |         }
44 |
45 |         @objc func handlePan(_ gesture: UIPanGestureRecognizer) {
   |                                         `- error: cannot find type 'UIPanGestureRecognizer' in scope
46 |             switch gesture.state {
47 |             case .began, .changed:
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:55:53: error: cannot find type 'UIGestureRecognizer' in scope
53 |         }
54 |
55 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer,
   |                                                     `- error: cannot find type 'UIGestureRecognizer' in scope
56 |             shouldRecognizeSimultaneouslyWith other: UIGestureRecognizer) -> Bool {
57 |             return true
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:56:54: error: cannot find type 'UIGestureRecognizer' in scope
54 |
55 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer,
56 |             shouldRecognizeSimultaneouslyWith other: UIGestureRecognizer) -> Bool {
   |                                                      `- error: cannot find type 'UIGestureRecognizer' in scope
57 |             return true
58 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:11:33: error: cannot find type 'UIViewRepresentable' in scope
 9 |
10 |
11 | internal struct PanGestureView: UIViewRepresentable {
   |                                 `- error: cannot find type 'UIViewRepresentable' in scope
12 |     let onChanged: (UIPanGestureRecognizer) -> Void
13 |     let onEnded: (UIPanGestureRecognizer) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:16:20: error: cannot find 'UIView' in scope
14 |
15 |     func makeUIView(context: Context) -> UIView {
16 |         let view = UIView()
   |                    `- error: cannot find 'UIView' in scope
17 |         view.backgroundColor =  .clear
18 |         view.isUserInteractionEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:17:34: error: cannot infer contextual base in reference to member 'clear'
15 |     func makeUIView(context: Context) -> UIView {
16 |         let view = UIView()
17 |         view.backgroundColor =  .clear
   |                                  `- error: cannot infer contextual base in reference to member 'clear'
18 |         view.isUserInteractionEnabled = true
19 |         let pan = UIPanGestureRecognizer(
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:19:19: error: cannot find 'UIPanGestureRecognizer' in scope
17 |         view.backgroundColor =  .clear
18 |         view.isUserInteractionEnabled = true
19 |         let pan = UIPanGestureRecognizer(
   |                   `- error: cannot find 'UIPanGestureRecognizer' in scope
20 |             target: context.coordinator,
21 |             action: #selector(Coordinator.handlePan(_:))
[7/12] Compiling SwipableCell SwipeCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:13:2: error: 'Observable()' is only available in macOS 14.0 or newer
11 | // MARK: - Coordinator
12 | @MainActor
13 | @Observable
   |  `- error: 'Observable()' is only available in macOS 14.0 or newer
14 | internal class SwipeCoordinator {
15 |     var openedID: UUID? = nil
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:15:5: note: expanded code originates here
11 | // MARK: - Coordinator
12 | @MainActor
13 | @Observable
   | `- note: in expansion of macro 'Observable' on property 'openedID' here
14 | internal class SwipeCoordinator {
   |                `- note: add '@available' attribute to enclosing class
15 |     var openedID: UUID? = nil
   +--- macro expansion @Observable ------------------------------------
   |1 | @ObservationTracked
   |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
16 |
17 |     func close()           { openedID = nil }
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:19:1: note: expanded code originates here
11 | // MARK: - Coordinator
12 | @MainActor
13 | @Observable
   | `- note: in expansion of macro 'Observable' on class 'SwipeCoordinator' here
14 | internal class SwipeCoordinator {
   |                `- note: add '@available' attribute to enclosing class
15 |     var openedID: UUID? = nil
16 |
17 |     func close()           { openedID = nil }
18 |     func open(_ id: UUID)  { openedID = id  }
19 | }
   +--- macro expansion @Observable ------------------------------------
   | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
   |   |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   | 2 |
   | 3 | internal nonisolated func access<$s12SwipableCell16SwipeCoordinator10ObservablefMm_6MemberfMu_>(
   +--------------------------------------------------------------------
20 |
21 | // MARK: - Environment key (optional so SwipeableCell never crashes without one)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:15:30: note: expanded code originates here
12 | @MainActor
13 | @Observable
14 | internal class SwipeCoordinator {
   |                `- note: add '@available' attribute to enclosing class
15 |     var openedID: UUID? = nil
   +--- macro expansion @ObservationTracked ----------------------------
   |1 | @ObservationIgnored
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   |2 | private  var _openedID: UUID? = nil
   +--------------------------------------------------------------------
16 |
17 |     func close()           { openedID = nil }
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:19:1: note: expanded code originates here
11 | // MARK: - Coordinator
12 | @MainActor
13 | @Observable
   | `- note: in expansion of macro 'Observable' on class 'SwipeCoordinator' here
14 | internal class SwipeCoordinator {
   |                `- note: add '@available' attribute to enclosing class
15 |     var openedID: UUID? = nil
16 |
17 |     func close()           { openedID = nil }
18 |     func open(_ id: UUID)  { openedID = id  }
19 | }
   +--- macro expansion @Observable ------------------------------------
   | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
   |   |                                                                      `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
   | 2 |
   | 3 | internal nonisolated func access<$s12SwipableCell16SwipeCoordinator10ObservablefMm_6MemberfMu_>(
   +--------------------------------------------------------------------
20 |
21 | // MARK: - Environment key (optional so SwipeableCell never crashes without one)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:13:2: error: 'Observable()' is only available in macOS 14.0 or newer
11 | // MARK: - Coordinator
12 | @MainActor
13 | @Observable
   |  `- error: 'Observable()' is only available in macOS 14.0 or newer
14 | internal class SwipeCoordinator {
   |                `- note: add '@available' attribute to enclosing class
15 |     var openedID: UUID? = nil
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:27:20: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
25 | }
26 |
27 | internal extension EnvironmentValues {
   |          |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing extension
28 |     var swipeCoordinator: SwipeCoordinator? {
29 |         get { self[SwipeCoordinatorKey.self] }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
33 |
34 | // MARK: - Modifier  (uses @State so the coordinator survives view re-evaluations)
35 | internal struct SwipableModifier: ViewModifier {
   |                 `- note: add '@available' attribute to enclosing struct
36 |     @State private var coordinator = SwipeCoordinator()
   |      `- error: 'State' is only available in macOS 10.15 or newer
37 |
38 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:38:41: error: 'View' is only available in macOS 10.15 or newer
33 |
34 | // MARK: - Modifier  (uses @State so the coordinator survives view re-evaluations)
35 | internal struct SwipableModifier: ViewModifier {
   |                 `- note: add '@available' attribute to enclosing struct
36 |     @State private var coordinator = SwipeCoordinator()
37 |
38 |     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
39 |         content
40 |             .environment(\.swipeCoordinator, coordinator)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:52:33: error: 'View' is only available in macOS 10.15 or newer
49 | }
50 |
51 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
52 |     func makeSwipable() -> some View {
   |          |                      `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
53 |         modifier(SwipableModifier())
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:51:18: error: 'View' is only available in macOS 10.15 or newer
49 | }
50 |
51 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
52 |     func makeSwipable() -> some View {
53 |         modifier(SwipableModifier())
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:75:64: error: 'gray' is only available in macOS 10.15 or newer
72 | }
73 |
74 | internal extension SwipeActionMeta {
   |          `- note: add '@available' attribute to enclosing extension
75 |     static let `default` = SwipeActionMeta(id: UUID(), color: .gray, role: nil,action: {})
   |                |                                               `- error: 'gray' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:59:20: error: 'ContainerValues' is only available in macOS 15.0 or newer
57 | // MARK: - ContainerValues  (consumed by SwipeableCell's actionsContainer)
58 |
59 | internal extension ContainerValues {
   |          |         `- error: 'ContainerValues' is only available in macOS 15.0 or newer
   |          `- note: add '@available' attribute to enclosing extension
60 |     @Entry var swipeActionMeta: SwipeActionMeta = .default
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:65:17: error: 'Color' is only available in macOS 10.15 or newer
61 | }
62 |
63 | internal struct SwipeActionMeta: Equatable, @unchecked Sendable {
   |                 `- note: add '@available' attribute to enclosing struct
64 |     let id:     UUID
65 |     let color:  Color
   |                 `- error: 'Color' is only available in macOS 10.15 or newer
66 |     let role:   ButtonRole?
67 |     let action: () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:66:17: error: 'ButtonRole' is only available in macOS 12.0 or newer
61 | }
62 |
63 | internal struct SwipeActionMeta: Equatable, @unchecked Sendable {
   |                 `- note: add '@available' attribute to enclosing struct
64 |     let id:     UUID
65 |     let color:  Color
66 |     let role:   ButtonRole?
   |                 `- error: 'ButtonRole' is only available in macOS 12.0 or newer
67 |     let action: () -> Void
68 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:40:14: error: 'environment' is only available in macOS 10.15 or newer
33 |
34 | // MARK: - Modifier  (uses @State so the coordinator survives view re-evaluations)
35 | internal struct SwipableModifier: ViewModifier {
   |                 `- note: add '@available' attribute to enclosing struct
36 |     @State private var coordinator = SwipeCoordinator()
37 |
38 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
39 |         content
40 |             .environment(\.swipeCoordinator, coordinator)
   |              |- error: 'environment' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
41 | //            .simultaneousGesture(DragGesture(minimumDistance: 15).onChanged({ value in
42 | //                let translation = value.translation
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:53:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
49 | }
50 |
51 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
52 |     func makeSwipable() -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
53 |         modifier(SwipableModifier())
   |         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
54 |     }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:53:9: error: 'modifier' is only available in macOS 10.15 or newer
49 | }
50 |
51 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
52 |     func makeSwipable() -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
53 |         modifier(SwipableModifier())
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
54 |     }
55 | }
[8/12] Compiling SwipableCell SwipeableCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:13:2: error: 'Observable()' is only available in macOS 14.0 or newer
11 | // MARK: - Coordinator
12 | @MainActor
13 | @Observable
   |  `- error: 'Observable()' is only available in macOS 14.0 or newer
14 | internal class SwipeCoordinator {
15 |     var openedID: UUID? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:13:6: error: 'Environment' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 14 |
 15 |     let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:18:34: error: 'AnyView' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 16 |     let configuration: SwipeCellConfiguration
 17 |
 18 |     private var trailingActions: AnyView?               { configuration.trailingActions }
    |                 |                `- error: 'AnyView' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 19 |     private var leadingActions:  AnyView?               { configuration.leadingActions  }
 20 |     private var fullSwipes:      [HorizontalEdge: Bool] { configuration.fullSwipes      }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:19:34: error: 'AnyView' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 17 |
 18 |     private var trailingActions: AnyView?               { configuration.trailingActions }
 19 |     private var leadingActions:  AnyView?               { configuration.leadingActions  }
    |                 |                `- error: 'AnyView' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 20 |     private var fullSwipes:      [HorizontalEdge: Bool] { configuration.fullSwipes      }
 21 |     private var actionsLayout:   SwipeActionsLayout     { configuration.actionsLayout   }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:20:35: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 18 |     private var trailingActions: AnyView?               { configuration.trailingActions }
 19 |     private var leadingActions:  AnyView?               { configuration.leadingActions  }
 20 |     private var fullSwipes:      [HorizontalEdge: Bool] { configuration.fullSwipes      }
    |                 |                 `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
    |                 `- note: add '@available' attribute to enclosing property
 21 |     private var actionsLayout:   SwipeActionsLayout     { configuration.actionsLayout   }
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 28 |     }
 29 |
 30 |     @State        private var isHorizontalDrag: Bool   = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 31 |     @State        private var offset:           CGFloat = 0
 32 |     @State        private var oldOffset:        CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:31:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 29 |
 30 |     @State        private var isHorizontalDrag: Bool   = false
 31 |     @State        private var offset:           CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 32 |     @State        private var oldOffset:        CGFloat = 0
 33 |     @State        private var lockedEdge:       HorizontalEdge? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:32:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 30 |     @State        private var isHorizontalDrag: Bool   = false
 31 |     @State        private var offset:           CGFloat = 0
 32 |     @State        private var oldOffset:        CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 33 |     @State        private var lockedEdge:       HorizontalEdge? = nil
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:33:49: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 31 |     @State        private var offset:           CGFloat = 0
 32 |     @State        private var oldOffset:        CGFloat = 0
 33 |     @State        private var lockedEdge:       HorizontalEdge? = nil
    |                                                 `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
 34 |
 35 |     @State private var cellWidth: CGFloat = .zero
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 31 |     @State        private var offset:           CGFloat = 0
 32 |     @State        private var oldOffset:        CGFloat = 0
 33 |     @State        private var lockedEdge:       HorizontalEdge? = nil
    |      `- error: 'State' is only available in macOS 10.15 or newer
 34 |
 35 |     @State private var cellWidth: CGFloat = .zero
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 33 |     @State        private var lockedEdge:       HorizontalEdge? = nil
 34 |
 35 |     @State private var cellWidth: CGFloat = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 36 |     @State private var frameHeight: CGFloat? = nil
 37 |     @State private var heightLocked: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 34 |
 35 |     @State private var cellWidth: CGFloat = .zero
 36 |     @State private var frameHeight: CGFloat? = nil
    |      `- error: 'State' is only available in macOS 10.15 or newer
 37 |     @State private var heightLocked: Bool = false
 38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:37:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 35 |     @State private var cellWidth: CGFloat = .zero
 36 |     @State private var frameHeight: CGFloat? = nil
 37 |     @State private var heightLocked: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 38 |
 39 |     @State private var trailingMeta: [SwipeActionMeta] = []
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:39:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 37 |     @State private var heightLocked: Bool = false
 38 |
 39 |     @State private var trailingMeta: [SwipeActionMeta] = []
    |      `- error: 'State' is only available in macOS 10.15 or newer
 40 |     @State private var leadingMeta:  [SwipeActionMeta] = []
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 38 |
 39 |     @State private var trailingMeta: [SwipeActionMeta] = []
 40 |     @State private var leadingMeta:  [SwipeActionMeta] = []
    |      `- error: 'State' is only available in macOS 10.15 or newer
 41 |
 42 |     private var trailingWidth: CGFloat { actionsLayout.width(for: trailingMeta.count)}
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:45:28: error: 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 43 |     private var leadingWidth:  CGFloat { actionsLayout.width(for: leadingMeta.count) }
 44 |
 45 |     public  var body: some View {
    |                 |          `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 46 |         ZStack(alignment: .center) {
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:97:46: error: cannot find type 'UIPanGestureRecognizer' in scope
 95 |     }
 96 |
 97 |     private func handlePanChanged(_ gesture: UIPanGestureRecognizer) {
    |                                              `- error: cannot find type 'UIPanGestureRecognizer' in scope
 98 |         let t = gesture.translation(in: nil)
 99 |         guard isHorizontalDrag || abs(t.x) > abs(t.y) * 5.0 else { //, abs(t.x) > 15
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:116:44: error: cannot find type 'UIPanGestureRecognizer' in scope
114 |     }
115 |
116 |     private func handlePanEnded(_ gesture: UIPanGestureRecognizer) {
    |                                            `- error: cannot find type 'UIPanGestureRecognizer' in scope
117 |         isHorizontalDrag = false
118 |         let velocity = gesture.velocity(in: nil).x
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:158:41: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  |                      `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:215:43: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
213 |     }
214 |
215 |     private func makeRenderInfo(for edge: HorizontalEdge, meta: [SwipeActionMeta]) -> (state: SwipeActionsState, size: CGSize) {
    |                  |                        `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
216 |
217 |         let ids = meta.map(\.id)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:247:45: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  |                          `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:247:75: error: 'AnyView' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  |                                                        `- error: 'AnyView' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:247:92: error: 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  |                                                                         `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:246:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
244 |     }
245 |
246 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:11:38: error: 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               |                      `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:290:18: error: 'Subview' is only available in macOS 15.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
    |                  `- error: 'Subview' is only available in macOS 15.0 or newer
291 |     let state: SwipeActionsState
292 |     let actionsLayout: SwipeActionsLayout
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:296:6: error: 'GestureState' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
294 |     let onTap: () -> Void
295 |
296 |     @GestureState private var isPressed = false
    |      `- error: 'GestureState' is only available in macOS 10.15 or newer
297 |
298 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:298:20: error: 'View' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeCoordinator.swift:15:5: note: expanded code originates here
11 | // MARK: - Coordinator
12 | @MainActor
13 | @Observable
   | `- note: in expansion of macro 'Observable' on property 'openedID' here
14 | internal class SwipeCoordinator {
   |                `- note: add '@available' attribute to enclosing class
15 |     var openedID: UUID? = nil
   +--- macro expansion @Observable ------------------------------------
   |1 | @ObservationTracked
   |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
16 |
17 |     func close()           { openedID = nil }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:12:21: error: cannot find type 'UIPanGestureRecognizer' in scope
10 |
11 | internal struct PanGestureView: UIViewRepresentable {
12 |     let onChanged: (UIPanGestureRecognizer) -> Void
   |                     `- error: cannot find type 'UIPanGestureRecognizer' in scope
13 |     let onEnded: (UIPanGestureRecognizer) -> Void
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/PanGestureView.swift:13:19: error: cannot find type 'UIPanGestureRecognizer' in scope
11 | internal struct PanGestureView: UIViewRepresentable {
12 |     let onChanged: (UIPanGestureRecognizer) -> Void
13 |     let onEnded: (UIPanGestureRecognizer) -> Void
   |                   `- error: cannot find type 'UIPanGestureRecognizer' in scope
14 |
15 |     func makeUIView(context: Context) -> UIView {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:72:23: error: cannot infer contextual base in reference to member 'trailing'
 70 |                 onEnded: { handlePanEnded($0) }
 71 |             )
 72 |             .padding(.trailing, configuration.disclosureWidth)
    |                       `- error: cannot infer contextual base in reference to member 'trailing'
 73 |             .offset(x: offset)
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:98:41: error: 'nil' requires a contextual type
 96 |
 97 |     private func handlePanChanged(_ gesture: UIPanGestureRecognizer) {
 98 |         let t = gesture.translation(in: nil)
    |                                         `- error: 'nil' requires a contextual type
 99 |         guard isHorizontalDrag || abs(t.x) > abs(t.y) * 5.0 else { //, abs(t.x) > 15
100 |             if coordinator?.openedID != id { coordinator?.close() }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:105:13: error: setter for 'isHorizontalDrag' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
 95 |     }
 96 |
 97 |     private func handlePanChanged(_ gesture: UIPanGestureRecognizer) {
    |                  `- note: add '@available' attribute to enclosing instance method
 98 |         let t = gesture.translation(in: nil)
 99 |         guard isHorizontalDrag || abs(t.x) > abs(t.y) * 5.0 else { //, abs(t.x) > 15
    :
103 |
104 |         if !isHorizontalDrag {
105 |             isHorizontalDrag = true
    |             |- error: setter for 'isHorizontalDrag' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
106 |             if coordinator?.openedID != id { coordinator?.close() }
107 |             if lockedEdge == nil {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:117:9: error: setter for 'isHorizontalDrag' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
114 |     }
115 |
116 |     private func handlePanEnded(_ gesture: UIPanGestureRecognizer) {
    |                  `- note: add '@available' attribute to enclosing instance method
117 |         isHorizontalDrag = false
    |         |- error: setter for 'isHorizontalDrag' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
118 |         let velocity = gesture.velocity(in: nil).x
119 |         snapToPosition(velocity: velocity)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:118:45: error: 'nil' requires a contextual type
116 |     private func handlePanEnded(_ gesture: UIPanGestureRecognizer) {
117 |         isHorizontalDrag = false
118 |         let velocity = gesture.velocity(in: nil).x
    |                                             `- error: 'nil' requires a contextual type
119 |         snapToPosition(velocity: velocity)
120 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:123:12: error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
120 |     }
121 |
122 |     private func snapToPosition(velocity: CGFloat) {
    |                  `- note: add '@available' attribute to enclosing instance method
123 |         if fullSwipes[.trailing] == true, offset < -(trailingWidth * SwipeActionsPhase.fullSwipeTriggerThreshold) {
    |            |- error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
    |            `- note: add 'if #available' version check
124 |             triggerFullSwipe(edge: .trailing); return
125 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:127:12: error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
120 |     }
121 |
122 |     private func snapToPosition(velocity: CGFloat) {
    |                  `- note: add '@available' attribute to enclosing instance method
123 |         if fullSwipes[.trailing] == true, offset < -(trailingWidth * SwipeActionsPhase.fullSwipeTriggerThreshold) {
124 |             triggerFullSwipe(edge: .trailing); return
125 |         }
126 |
127 |         if fullSwipes[.leading] == true, offset > leadingWidth * SwipeActionsPhase.fullSwipeTriggerThreshold {
    |            |- error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
    |            `- note: add 'if #available' version check
128 |             triggerFullSwipe(edge: .leading); return
129 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:130:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
120 |     }
121 |
122 |     private func snapToPosition(velocity: CGFloat) {
    |                  `- note: add '@available' attribute to enclosing instance method
123 |         if fullSwipes[.trailing] == true, offset < -(trailingWidth * SwipeActionsPhase.fullSwipeTriggerThreshold) {
124 |             triggerFullSwipe(edge: .trailing); return
    :
128 |             triggerFullSwipe(edge: .leading); return
129 |         }
130 |         withAnimation(.spring(response: 0.35, dampingFraction: 0.82)) {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
131 |             if offset < 0, trailingWidth > 0, lockedEdge == .trailing,
132 |                offset < -(trailingWidth * 0.6) || velocity < -300 {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:130:24: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
120 |     }
121 |
122 |     private func snapToPosition(velocity: CGFloat) {
    |                  `- note: add '@available' attribute to enclosing instance method
123 |         if fullSwipes[.trailing] == true, offset < -(trailingWidth * SwipeActionsPhase.fullSwipeTriggerThreshold) {
124 |             triggerFullSwipe(edge: .trailing); return
    :
128 |             triggerFullSwipe(edge: .leading); return
129 |         }
130 |         withAnimation(.spring(response: 0.35, dampingFraction: 0.82)) {
    |                        |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
131 |             if offset < 0, trailingWidth > 0, lockedEdge == .trailing,
132 |                offset < -(trailingWidth * 0.6) || velocity < -300 {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:131:58: error: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
120 |     }
121 |
122 |     private func snapToPosition(velocity: CGFloat) {
    |                  `- note: add '@available' attribute to enclosing instance method
123 |         if fullSwipes[.trailing] == true, offset < -(trailingWidth * SwipeActionsPhase.fullSwipeTriggerThreshold) {
124 |             triggerFullSwipe(edge: .trailing); return
    :
129 |         }
130 |         withAnimation(.spring(response: 0.35, dampingFraction: 0.82)) {
131 |             if offset < 0, trailingWidth > 0, lockedEdge == .trailing,
    |                                                          |- error: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer
    |                                                          `- note: add 'if #available' version check
132 |                offset < -(trailingWidth * 0.6) || velocity < -300 {
133 |                 offset    = -trailingWidth - actionsLayout.containerPadding
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:133:17: error: setter for 'offset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
120 |     }
121 |
122 |     private func snapToPosition(velocity: CGFloat) {
    |                  `- note: add '@available' attribute to enclosing instance method
123 |         if fullSwipes[.trailing] == true, offset < -(trailingWidth * SwipeActionsPhase.fullSwipeTriggerThreshold) {
124 |             triggerFullSwipe(edge: .trailing); return
    :
131 |             if offset < 0, trailingWidth > 0, lockedEdge == .trailing,
132 |                offset < -(trailingWidth * 0.6) || velocity < -300 {
133 |                 offset    = -trailingWidth - actionsLayout.containerPadding
    |                 |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
134 |                 oldOffset = -trailingWidth - actionsLayout.containerPadding
135 |                 coordinator?.open(id)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:134:17: error: setter for 'oldOffset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
120 |     }
121 |
122 |     private func snapToPosition(velocity: CGFloat) {
    |                  `- note: add '@available' attribute to enclosing instance method
123 |         if fullSwipes[.trailing] == true, offset < -(trailingWidth * SwipeActionsPhase.fullSwipeTriggerThreshold) {
124 |             triggerFullSwipe(edge: .trailing); return
    :
132 |                offset < -(trailingWidth * 0.6) || velocity < -300 {
133 |                 offset    = -trailingWidth - actionsLayout.containerPadding
134 |                 oldOffset = -trailingWidth - actionsLayout.containerPadding
    |                 |- error: setter for 'oldOffset' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
135 |                 coordinator?.open(id)
136 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:139:57: error: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
120 |     }
121 |
122 |     private func snapToPosition(velocity: CGFloat) {
    |                  `- note: add '@available' attribute to enclosing instance method
123 |         if fullSwipes[.trailing] == true, offset < -(trailingWidth * SwipeActionsPhase.fullSwipeTriggerThreshold) {
124 |             triggerFullSwipe(edge: .trailing); return
    :
137 |             }
138 |
139 |             if offset > 0, leadingWidth > 0, lockedEdge == .leading,
    |                                                         |- error: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer
    |                                                         `- note: add 'if #available' version check
140 |                offset > (leadingWidth * 0.6) || velocity > 300 {
141 |                 offset    = leadingWidth + actionsLayout.containerPadding
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:141:17: error: setter for 'offset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
120 |     }
121 |
122 |     private func snapToPosition(velocity: CGFloat) {
    |                  `- note: add '@available' attribute to enclosing instance method
123 |         if fullSwipes[.trailing] == true, offset < -(trailingWidth * SwipeActionsPhase.fullSwipeTriggerThreshold) {
124 |             triggerFullSwipe(edge: .trailing); return
    :
139 |             if offset > 0, leadingWidth > 0, lockedEdge == .leading,
140 |                offset > (leadingWidth * 0.6) || velocity > 300 {
141 |                 offset    = leadingWidth + actionsLayout.containerPadding
    |                 |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
142 |                 oldOffset = leadingWidth + actionsLayout.containerPadding
143 |                 coordinator?.open(id)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:142:17: error: setter for 'oldOffset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
120 |     }
121 |
122 |     private func snapToPosition(velocity: CGFloat) {
    |                  `- note: add '@available' attribute to enclosing instance method
123 |         if fullSwipes[.trailing] == true, offset < -(trailingWidth * SwipeActionsPhase.fullSwipeTriggerThreshold) {
124 |             triggerFullSwipe(edge: .trailing); return
    :
140 |                offset > (leadingWidth * 0.6) || velocity > 300 {
141 |                 offset    = leadingWidth + actionsLayout.containerPadding
142 |                 oldOffset = leadingWidth + actionsLayout.containerPadding
    |                 |- error: setter for 'oldOffset' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
143 |                 coordinator?.open(id)
144 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:152:9: error: setter for 'offset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
149 |     }
150 |
151 |     private func snapClosed() {
    |                  `- note: add '@available' attribute to enclosing instance method
152 |         offset    = 0
    |         |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
153 |         oldOffset = 0
154 |         lockedEdge  = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:153:9: error: setter for 'oldOffset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
149 |     }
150 |
151 |     private func snapClosed() {
    |                  `- note: add '@available' attribute to enclosing instance method
152 |         offset    = 0
153 |         oldOffset = 0
    |         |- error: setter for 'oldOffset' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
154 |         lockedEdge  = nil
155 |         coordinator?.close()
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:154:9: error: setter for 'lockedEdge' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
149 |     }
150 |
151 |     private func snapClosed() {
    |                  `- note: add '@available' attribute to enclosing instance method
152 |         offset    = 0
153 |         oldOffset = 0
154 |         lockedEdge  = nil
    |         |- error: setter for 'lockedEdge' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
155 |         coordinator?.close()
156 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:160:18: error: 'ButtonRole' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
    |                  |- error: 'ButtonRole' is only available in macOS 12.0 or newer
    |                  `- note: add 'if #available' version check
161 |         switch edge {
162 |         case .trailing:
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:169:9: error: setter for 'oldOffset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
    :
167 |             role = leadingMeta.first?.role
168 |         }
169 |         oldOffset = 0
    |         |- error: setter for 'oldOffset' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
170 |         coordinator?.close()
171 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:172:9: error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
    :
170 |         coordinator?.close()
171 |
172 |         withAnimation(.spring(response: 0.35, dampingFraction: 0.85)) {
    |         |- error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
    |         `- note: add 'if #available' version check
173 |             switch edge {
174 |             case .trailing: offset = -(cellWidth * 1.05)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:172:24: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
    :
170 |         coordinator?.close()
171 |
172 |         withAnimation(.spring(response: 0.35, dampingFraction: 0.85)) {
    |                        |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
173 |             switch edge {
174 |             case .trailing: offset = -(cellWidth * 1.05)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:174:29: error: setter for 'offset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
    :
172 |         withAnimation(.spring(response: 0.35, dampingFraction: 0.85)) {
173 |             switch edge {
174 |             case .trailing: offset = -(cellWidth * 1.05)
    |                             |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
175 |             case .leading:  offset =  cellWidth * 1.05
176 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:175:29: error: setter for 'offset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
    :
173 |             switch edge {
174 |             case .trailing: offset = -(cellWidth * 1.05)
175 |             case .leading:  offset =  cellWidth * 1.05
    |                             |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
176 |             }
177 |         } completion: {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:179:17: error: setter for 'heightLocked' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
    :
177 |         } completion: {
178 |             if role == .destructive {
179 |                 heightLocked = true
    |                 |- error: setter for 'heightLocked' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
180 |                 playDestructive {
181 |                     action?()
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:185:17: error: 'withAnimation' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
    :
183 |             } else {
184 |                 action?()
185 |                 withAnimation(.spring(response: 0.32, dampingFraction: 0.85)) {
    |                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
186 |                     offset = 0
187 |                     lockedEdge  = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:185:32: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
    :
183 |             } else {
184 |                 action?()
185 |                 withAnimation(.spring(response: 0.32, dampingFraction: 0.85)) {
    |                                |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
186 |                     offset = 0
187 |                     lockedEdge  = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:186:21: error: setter for 'offset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
    :
184 |                 action?()
185 |                 withAnimation(.spring(response: 0.32, dampingFraction: 0.85)) {
186 |                     offset = 0
    |                     |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
187 |                     lockedEdge  = nil
188 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:187:21: error: setter for 'lockedEdge' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
156 |     }
157 |
158 |     private func triggerFullSwipe(edge: HorizontalEdge) {
    |                  `- note: add '@available' attribute to enclosing instance method
159 |         let action: (() -> Void)?
160 |         let role:ButtonRole?
    :
185 |                 withAnimation(.spring(response: 0.32, dampingFraction: 0.85)) {
186 |                     offset = 0
187 |                     lockedEdge  = nil
    |                     |- error: setter for 'lockedEdge' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
188 |                 }
189 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:194:9: error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
191 |     }
192 |
193 |     private func playDestructive(action: (() -> Void)?) {
    |                  `- note: add '@available' attribute to enclosing instance method
194 |         withAnimation(.spring(response: 0.32, dampingFraction: 0.85)) {
    |         |- error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
    |         `- note: add 'if #available' version check
195 |             frameHeight = 0
196 |             offset = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:194:24: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
191 |     }
192 |
193 |     private func playDestructive(action: (() -> Void)?) {
    |                  `- note: add '@available' attribute to enclosing instance method
194 |         withAnimation(.spring(response: 0.32, dampingFraction: 0.85)) {
    |                        |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
195 |             frameHeight = 0
196 |             offset = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:195:13: error: setter for 'frameHeight' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
191 |     }
192 |
193 |     private func playDestructive(action: (() -> Void)?) {
    |                  `- note: add '@available' attribute to enclosing instance method
194 |         withAnimation(.spring(response: 0.32, dampingFraction: 0.85)) {
195 |             frameHeight = 0
    |             |- error: setter for 'frameHeight' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
196 |             offset = 0
197 |             oldOffset = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:196:13: error: setter for 'offset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
191 |     }
192 |
193 |     private func playDestructive(action: (() -> Void)?) {
    |                  `- note: add '@available' attribute to enclosing instance method
194 |         withAnimation(.spring(response: 0.32, dampingFraction: 0.85)) {
195 |             frameHeight = 0
196 |             offset = 0
    |             |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
197 |             oldOffset = 0
198 |             lockedEdge  = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:197:13: error: setter for 'oldOffset' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
191 |     }
192 |
193 |     private func playDestructive(action: (() -> Void)?) {
    |                  `- note: add '@available' attribute to enclosing instance method
194 |         withAnimation(.spring(response: 0.32, dampingFraction: 0.85)) {
195 |             frameHeight = 0
196 |             offset = 0
197 |             oldOffset = 0
    |             |- error: setter for 'oldOffset' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
198 |             lockedEdge  = nil
199 |         } completion: {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:198:13: error: setter for 'lockedEdge' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
191 |     }
192 |
193 |     private func playDestructive(action: (() -> Void)?) {
    |                  `- note: add '@available' attribute to enclosing instance method
194 |         withAnimation(.spring(response: 0.32, dampingFraction: 0.85)) {
195 |             frameHeight = 0
196 |             offset = 0
197 |             oldOffset = 0
198 |             lockedEdge  = nil
    |             |- error: setter for 'lockedEdge' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
199 |         } completion: {
200 |             action?()
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:219:36: error: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
213 |     }
214 |
215 |     private func makeRenderInfo(for edge: HorizontalEdge, meta: [SwipeActionMeta]) -> (state: SwipeActionsState, size: CGSize) {
    |                  `- note: add '@available' attribute to enclosing instance method
216 |
217 |         let ids = meta.map(\.id)
218 |         let width = actionsLayout.width(for: meta.count)
219 |         let edgeOffset      = edge == .trailing ? min(0, offset) : max(0, offset)
    |                                    |- error: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer
    |                                    `- note: add 'if #available' version check
220 |         let adjustedOffset  = max(0, abs(edgeOffset) - actionsLayout.appearanceThreshold)
221 |         let adjustedWidth   = width - actionsLayout.appearanceThreshold
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:223:31: error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
213 |     }
214 |
215 |     private func makeRenderInfo(for edge: HorizontalEdge, meta: [SwipeActionMeta]) -> (state: SwipeActionsState, size: CGSize) {
    |                  `- note: add '@available' attribute to enclosing instance method
216 |
217 |         let ids = meta.map(\.id)
    :
221 |         let adjustedWidth   = width - actionsLayout.appearanceThreshold
222 |         let overallProgress = adjustedWidth > 0 ? min(1, adjustedOffset / adjustedWidth) : 0
223 |         let containerWidth  = fullSwipes[edge] ?? false
    |                               |- error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
    |                               `- note: add 'if #available' version check
224 |         ? max(abs(edgeOffset) - actionsLayout.containerPadding, width)
225 |         : width
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:232:33: error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
213 |     }
214 |
215 |     private func makeRenderInfo(for edge: HorizontalEdge, meta: [SwipeActionMeta]) -> (state: SwipeActionsState, size: CGSize) {
    |                  `- note: add '@available' attribute to enclosing instance method
216 |
217 |         let ids = meta.map(\.id)
    :
230 |             actionsWidth: width,
231 |             offset: edgeOffset,
232 |             fullSwipeAvailable: fullSwipes[edge]
    |                                 |- error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
    |                                 `- note: add 'if #available' version check
233 |         )
234 |         let layout = SwipeActionsState(
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:240:33: error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
213 |     }
214 |
215 |     private func makeRenderInfo(for edge: HorizontalEdge, meta: [SwipeActionMeta]) -> (state: SwipeActionsState, size: CGSize) {
    |                  `- note: add '@available' attribute to enclosing instance method
216 |
217 |         let ids = meta.map(\.id)
    :
238 |             ids: ids,
239 |             overallProgress: overallProgress,
240 |             fullSwipeAvailable: fullSwipes[edge] ?? false
    |                                 |- error: conformance of 'HorizontalEdge' to 'Hashable' is only available in macOS 12.0 or newer
    |                                 `- note: add 'if #available' version check
241 |         )
242 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:248:9: error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
    |         |- error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
249 |             Group(subviews: actions) { subviews in
250 |                 let currentMeta = subviews.map { $0.containerValues.swipeActionMeta }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:248:9: error: 'HStack' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
    |         |- error: 'HStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
249 |             Group(subviews: actions) { subviews in
250 |                 let currentMeta = subviews.map { $0.containerValues.swipeActionMeta }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:248:9: error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
    |         |- error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
249 |             Group(subviews: actions) { subviews in
250 |                 let currentMeta = subviews.map { $0.containerValues.swipeActionMeta }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:249:13: error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    |             |- error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
250 |                 let currentMeta = subviews.map { $0.containerValues.swipeActionMeta }
251 |                 Color.clear.frame(width: 0, height: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:249:13: error: 'Group' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    |             |- error: 'Group' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
250 |                 let currentMeta = subviews.map { $0.containerValues.swipeActionMeta }
251 |                 Color.clear.frame(width: 0, height: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:249:13: error: 'init(subviews:transform:)' is only available in macOS 15.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    |             |- error: 'init(subviews:transform:)' is only available in macOS 15.0 or newer
    |             `- note: add 'if #available' version check
250 |                 let currentMeta = subviews.map { $0.containerValues.swipeActionMeta }
251 |                 Color.clear.frame(width: 0, height: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:251:17: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
250 |                 let currentMeta = subviews.map { $0.containerValues.swipeActionMeta }
251 |                 Color.clear.frame(width: 0, height: 0)
    |                 |- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
252 |                     .onChange(of: currentMeta, initial: true) { _, new in
253 |                         switch edge {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:251:23: error: 'clear' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
250 |                 let currentMeta = subviews.map { $0.containerValues.swipeActionMeta }
251 |                 Color.clear.frame(width: 0, height: 0)
    |                       |- error: 'clear' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
252 |                     .onChange(of: currentMeta, initial: true) { _, new in
253 |                         switch edge {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:251:29: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
250 |                 let currentMeta = subviews.map { $0.containerValues.swipeActionMeta }
251 |                 Color.clear.frame(width: 0, height: 0)
    |                             |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
252 |                     .onChange(of: currentMeta, initial: true) { _, new in
253 |                         switch edge {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:252:22: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
250 |                 let currentMeta = subviews.map { $0.containerValues.swipeActionMeta }
251 |                 Color.clear.frame(width: 0, height: 0)
252 |                     .onChange(of: currentMeta, initial: true) { _, new in
    |                      |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
253 |                         switch edge {
254 |                         case .trailing: trailingMeta = new
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:254:41: error: setter for 'trailingMeta' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
252 |                     .onChange(of: currentMeta, initial: true) { _, new in
253 |                         switch edge {
254 |                         case .trailing: trailingMeta = new
    |                                         |- error: setter for 'trailingMeta' is only available in macOS 10.15 or newer
    |                                         `- note: add 'if #available' version check
255 |                         case .leading:  leadingMeta  = new
256 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:255:41: error: setter for 'leadingMeta' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
253 |                         switch edge {
254 |                         case .trailing: trailingMeta = new
255 |                         case .leading:  leadingMeta  = new
    |                                         |- error: setter for 'leadingMeta' is only available in macOS 10.15 or newer
    |                                         `- note: add 'if #available' version check
256 |                         }
257 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:263:17: error: 'AnyLayout' is only available in macOS 13.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
261 |                 let containerSize = stateInfo.size
262 |
263 |                 AnyLayout(actionsLayout.swipeLayout) {
    |                 |- error: 'AnyLayout' is only available in macOS 13.0 or newer
    |                 `- note: add 'if #available' version check
264 |                     ForEach(subviews) { subview in
265 |                         let itemID = subview.containerValues.swipeActionMeta.id
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:263:54: error: 'callAsFunction' is only available in macOS 13.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
261 |                 let containerSize = stateInfo.size
262 |
263 |                 AnyLayout(actionsLayout.swipeLayout) {
    |                                                      |- error: 'callAsFunction' is only available in macOS 13.0 or newer
    |                                                      `- note: add 'if #available' version check
264 |                     ForEach(subviews) { subview in
265 |                         let itemID = subview.containerValues.swipeActionMeta.id
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:264:21: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
262 |
263 |                 AnyLayout(actionsLayout.swipeLayout) {
264 |                     ForEach(subviews) { subview in
    |                     |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
265 |                         let itemID = subview.containerValues.swipeActionMeta.id
266 |                         if !state.shouldHide(itemID: itemID) {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:264:21: error: 'ForEach' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
262 |
263 |                 AnyLayout(actionsLayout.swipeLayout) {
264 |                     ForEach(subviews) { subview in
    |                     |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
265 |                         let itemID = subview.containerValues.swipeActionMeta.id
266 |                         if !state.shouldHide(itemID: itemID) {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:264:21: error: 'init(_:content:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
262 |
263 |                 AnyLayout(actionsLayout.swipeLayout) {
264 |                     ForEach(subviews) { subview in
    |                     |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
265 |                         let itemID = subview.containerValues.swipeActionMeta.id
266 |                         if !state.shouldHide(itemID: itemID) {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:276:33: error: 'withAnimation' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
274 |                                     info?.action()
275 |                                 }
276 |                                 withAnimation(.spring(response: 0.3, dampingFraction: 0.85)) {
    |                                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
277 |                                     snapClosed()
278 |                                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:276:48: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
274 |                                     info?.action()
275 |                                 }
276 |                                 withAnimation(.spring(response: 0.3, dampingFraction: 0.85)) {
    |                                                |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                                                `- note: add 'if #available' version check
277 |                                     snapClosed()
278 |                                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:266:62: error: 'buildIf' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
264 |                     ForEach(subviews) { subview in
265 |                         let itemID = subview.containerValues.swipeActionMeta.id
266 |                         if !state.shouldHide(itemID: itemID) {
    |                                                              |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                              `- note: add 'if #available' version check
267 |                             SwipeActionButton(subview: subview, state: state, actionsLayout:actionsLayout, itemID: itemID) {
268 |                                 let info = currentMeta.filter( { $0.id == itemID } ).first
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:280:25: error: 'buildIf' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
278 |                                 }
279 |                             }
280 |                         }
    |                         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
281 |                     }
282 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:264:39: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
262 |
263 |                 AnyLayout(actionsLayout.swipeLayout) {
264 |                     ForEach(subviews) { subview in
    |                                       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                                       `- note: add 'if #available' version check
265 |                         let itemID = subview.containerValues.swipeActionMeta.id
266 |                         if !state.shouldHide(itemID: itemID) {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:263:54: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
261 |                 let containerSize = stateInfo.size
262 |
263 |                 AnyLayout(actionsLayout.swipeLayout) {
    |                                                      |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
264 |                     ForEach(subviews) { subview in
265 |                         let itemID = subview.containerValues.swipeActionMeta.id
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:283:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
    :
281 |                     }
282 |                 }
283 |                 .frame(width: containerSize.width, height: containerSize.height)
    |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:248:28: error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
    |                            |- error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
249 |             Group(subviews: actions) { subviews in
250 |                 let currentMeta = subviews.map { $0.containerValues.swipeActionMeta }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:247:97: error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  |                                                                              |- error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
    |                  |                                                                              `- note: add 'if #available' version check
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:247:97: error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct SwipeableCell<Content: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 12 |
 13 |     @Environment(\.swipeCoordinator) private var coordinator
    :
245 |
246 |     @ViewBuilder
247 |     private func actionsContainer(for edge: HorizontalEdge, with actions: AnyView) -> some View {
    |                  |                                                                              |- error: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer
    |                  |                                                                              `- note: add 'if #available' version check
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         HStack(spacing: 0) {
249 |             Group(subviews: actions) { subviews in
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:300:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
301 |             .frame(maxWidth: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.width)
302 |             .frame(maxHeight: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:301:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
301 |             .frame(maxWidth: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.width)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
302 |             .frame(maxHeight: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.height)
303 |             .labelStyle(.iconOnly)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:302:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
301 |             .frame(maxWidth: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.width)
302 |             .frame(maxHeight: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.height)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
303 |             .labelStyle(.iconOnly)
304 |             .font(.system(size: 16))
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:303:14: error: 'labelStyle' is only available in macOS 11.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
301 |             .frame(maxWidth: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.width)
302 |             .frame(maxHeight: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.height)
303 |             .labelStyle(.iconOnly)
    |              |- error: 'labelStyle' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
304 |             .font(.system(size: 16))
305 |             .foregroundStyle(.white)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:303:26: error: 'iconOnly' is only available in macOS 11.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
301 |             .frame(maxWidth: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.width)
302 |             .frame(maxHeight: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.height)
303 |             .labelStyle(.iconOnly)
    |                          |- error: 'iconOnly' is only available in macOS 11.0 or newer
    |                          `- note: add 'if #available' version check
304 |             .font(.system(size: 16))
305 |             .foregroundStyle(.white)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:304:14: error: 'font' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
302 |             .frame(maxHeight: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.height)
303 |             .labelStyle(.iconOnly)
304 |             .font(.system(size: 16))
    |              |- error: 'font' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
305 |             .foregroundStyle(.white)
306 |             .background(subview.containerValues.swipeActionMeta.color.opacity(isPressed ? 0.7 : 1.0), in: Capsule())
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:304:20: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
302 |             .frame(maxHeight: state.isHero(itemID: itemID) ? .infinity : actionsLayout.buttonMetrics.height)
303 |             .labelStyle(.iconOnly)
304 |             .font(.system(size: 16))
    |                    |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
    |                    `- note: add 'if #available' version check
305 |             .foregroundStyle(.white)
306 |             .background(subview.containerValues.swipeActionMeta.color.opacity(isPressed ? 0.7 : 1.0), in: Capsule())
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:305:14: error: 'foregroundStyle' is only available in macOS 12.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
303 |             .labelStyle(.iconOnly)
304 |             .font(.system(size: 16))
305 |             .foregroundStyle(.white)
    |              |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
306 |             .background(subview.containerValues.swipeActionMeta.color.opacity(isPressed ? 0.7 : 1.0), in: Capsule())
307 |             .scaleEffect(isPressed ? 1.1 : state.scale(itemID: itemID), anchor: .center)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:305:31: error: 'white' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
303 |             .labelStyle(.iconOnly)
304 |             .font(.system(size: 16))
305 |             .foregroundStyle(.white)
    |                               |- error: 'white' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
306 |             .background(subview.containerValues.swipeActionMeta.color.opacity(isPressed ? 0.7 : 1.0), in: Capsule())
307 |             .scaleEffect(isPressed ? 1.1 : state.scale(itemID: itemID), anchor: .center)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:306:14: error: 'background(_:in:fillStyle:)' is only available in macOS 12.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
304 |             .font(.system(size: 16))
305 |             .foregroundStyle(.white)
306 |             .background(subview.containerValues.swipeActionMeta.color.opacity(isPressed ? 0.7 : 1.0), in: Capsule())
    |              |- error: 'background(_:in:fillStyle:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
307 |             .scaleEffect(isPressed ? 1.1 : state.scale(itemID: itemID), anchor: .center)
308 |             .opacity(state.opacity(itemID: itemID))
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:306:71: error: 'opacity' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
304 |             .font(.system(size: 16))
305 |             .foregroundStyle(.white)
306 |             .background(subview.containerValues.swipeActionMeta.color.opacity(isPressed ? 0.7 : 1.0), in: Capsule())
    |                                                                       |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                                       `- note: add 'if #available' version check
307 |             .scaleEffect(isPressed ? 1.1 : state.scale(itemID: itemID), anchor: .center)
308 |             .opacity(state.opacity(itemID: itemID))
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:306:107: error: 'Capsule' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
304 |             .font(.system(size: 16))
305 |             .foregroundStyle(.white)
306 |             .background(subview.containerValues.swipeActionMeta.color.opacity(isPressed ? 0.7 : 1.0), in: Capsule())
    |                                                                                                           |- error: 'Capsule' is only available in macOS 10.15 or newer
    |                                                                                                           `- note: add 'if #available' version check
307 |             .scaleEffect(isPressed ? 1.1 : state.scale(itemID: itemID), anchor: .center)
308 |             .opacity(state.opacity(itemID: itemID))
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:307:14: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
305 |             .foregroundStyle(.white)
306 |             .background(subview.containerValues.swipeActionMeta.color.opacity(isPressed ? 0.7 : 1.0), in: Capsule())
307 |             .scaleEffect(isPressed ? 1.1 : state.scale(itemID: itemID), anchor: .center)
    |              |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
308 |             .opacity(state.opacity(itemID: itemID))
309 |             .transition(.move(edge: .leading).combined(with: .opacity))
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:308:14: error: 'opacity' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
306 |             .background(subview.containerValues.swipeActionMeta.color.opacity(isPressed ? 0.7 : 1.0), in: Capsule())
307 |             .scaleEffect(isPressed ? 1.1 : state.scale(itemID: itemID), anchor: .center)
308 |             .opacity(state.opacity(itemID: itemID))
    |              |- error: 'opacity' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
309 |             .transition(.move(edge: .leading).combined(with: .opacity))
310 |             .simultaneousGesture(
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:309:14: error: 'transition' is only available in macOS 14.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
307 |             .scaleEffect(isPressed ? 1.1 : state.scale(itemID: itemID), anchor: .center)
308 |             .opacity(state.opacity(itemID: itemID))
309 |             .transition(.move(edge: .leading).combined(with: .opacity))
    |              |- error: 'transition' is only available in macOS 14.0 or newer
    |              `- note: add 'if #available' version check
310 |             .simultaneousGesture(
311 |                 DragGesture(minimumDistance: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:309:26: error: 'move(edge:)' is only available in macOS 14.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
307 |             .scaleEffect(isPressed ? 1.1 : state.scale(itemID: itemID), anchor: .center)
308 |             .opacity(state.opacity(itemID: itemID))
309 |             .transition(.move(edge: .leading).combined(with: .opacity))
    |                          |- error: 'move(edge:)' is only available in macOS 14.0 or newer
    |                          `- note: add 'if #available' version check
310 |             .simultaneousGesture(
311 |                 DragGesture(minimumDistance: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:309:47: error: 'combined(with:)' is only available in macOS 14.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
307 |             .scaleEffect(isPressed ? 1.1 : state.scale(itemID: itemID), anchor: .center)
308 |             .opacity(state.opacity(itemID: itemID))
309 |             .transition(.move(edge: .leading).combined(with: .opacity))
    |                                               |- error: 'combined(with:)' is only available in macOS 14.0 or newer
    |                                               `- note: add 'if #available' version check
310 |             .simultaneousGesture(
311 |                 DragGesture(minimumDistance: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:309:63: error: 'opacity' is only available in macOS 14.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
307 |             .scaleEffect(isPressed ? 1.1 : state.scale(itemID: itemID), anchor: .center)
308 |             .opacity(state.opacity(itemID: itemID))
309 |             .transition(.move(edge: .leading).combined(with: .opacity))
    |                                                               |- error: 'opacity' is only available in macOS 14.0 or newer
    |                                                               `- note: add 'if #available' version check
310 |             .simultaneousGesture(
311 |                 DragGesture(minimumDistance: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:310:14: error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
308 |             .opacity(state.opacity(itemID: itemID))
309 |             .transition(.move(edge: .leading).combined(with: .opacity))
310 |             .simultaneousGesture(
    |              |- error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
311 |                 DragGesture(minimumDistance: 0)
312 |                     .updating($isPressed) { _, state, _ in state = true }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:311:17: error: 'DragGesture' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
309 |             .transition(.move(edge: .leading).combined(with: .opacity))
310 |             .simultaneousGesture(
311 |                 DragGesture(minimumDistance: 0)
    |                 |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
312 |                     .updating($isPressed) { _, state, _ in state = true }
313 |                     .onEnded { _ in onTap() }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:311:17: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
309 |             .transition(.move(edge: .leading).combined(with: .opacity))
310 |             .simultaneousGesture(
311 |                 DragGesture(minimumDistance: 0)
    |                 |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |                 `- note: add 'if #available' version check
312 |                     .updating($isPressed) { _, state, _ in state = true }
313 |                     .onEnded { _ in onTap() }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:312:22: error: 'updating(_:body:)' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
310 |             .simultaneousGesture(
311 |                 DragGesture(minimumDistance: 0)
312 |                     .updating($isPressed) { _, state, _ in state = true }
    |                      |- error: 'updating(_:body:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
313 |                     .onEnded { _ in onTap() }
314 |             )
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeableCell.swift:313:22: error: 'onEnded' is only available in macOS 10.15 or newer
287 | }
288 |
289 | internal struct SwipeActionButton: View {
    |                 `- note: add '@available' attribute to enclosing struct
290 |     let subview: Subview
291 |     let state: SwipeActionsState
    :
296 |     @GestureState private var isPressed = false
297 |
298 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
299 |         subview
300 |             .frame(width: actionsLayout.buttonMetrics.width, height: actionsLayout.buttonMetrics.height)
    :
311 |                 DragGesture(minimumDistance: 0)
312 |                     .updating($isPressed) { _, state, _ in state = true }
313 |                     .onEnded { _ in onTap() }
    |                      |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
314 |             )
315 |     }
[9/12] Compiling SwipableCell SwipeActionsState.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:19:28: error: 'Axis' is only available in macOS 10.15 or newer
 16 | }
 17 |
 18 | public struct SwipeActionsLayout : Sendable{
    |               `- note: add '@available' attribute to enclosing struct
 19 |     public let orientation:Axis
    |                            `- error: 'Axis' is only available in macOS 10.15 or newer
 20 |     public let buttonMetrics: SwipeButtonMetrics
 21 |     public let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:48:23: error: 'AnyLayout' is only available in macOS 13.0 or newer
 45 |
 46 |
 47 | public extension SwipeActionsLayout {
    |        `- note: add '@available' attribute to enclosing extension
 48 |      var swipeLayout: AnyLayout {
    |          |            `- error: 'AnyLayout' is only available in macOS 13.0 or newer
    |          `- note: add '@available' attribute to enclosing property
 49 |         switch orientation {
 50 |         case .horizontal: AnyLayout(HStackLayout(spacing: spacing))
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:57:41: error: 'Axis' is only available in macOS 10.15 or newer
 54 | }
 55 |
 56 | public extension SwipeActionsLayout {
    |        `- note: add '@available' attribute to enclosing extension
 57 |     static func layout(for orientation: Axis) -> SwipeActionsLayout {
    |                 |                       `- error: 'Axis' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing static method
 58 |         switch orientation {
 59 |         case .horizontal:
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:74:22: error: 'Axis' is only available in macOS 10.15 or newer
 70 | }
 71 |
 72 | public extension SwipeActionsLayout {
    |        `- note: add '@available' attribute to enclosing extension
 73 |     static func custom(
    |                 `- note: add '@available' attribute to enclosing static method
 74 |         orientation: Axis = .horizontal,
    |                      `- error: 'Axis' is only available in macOS 10.15 or newer
 75 |         buttonWidth: CGFloat = SwipeButtonMetrics.base.width,
 76 |         buttonHeight: CGFloat = SwipeButtonMetrics.base.height,
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:90:15: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
 87 | }
 88 |
 89 | internal struct SwipeActionsState {
    |                 `- note: add '@available' attribute to enclosing struct
 90 |     let edge: HorizontalEdge
    |               `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
 91 |     let phase: SwipeActionsPhase
 92 |     let actionsLayout: SwipeActionsLayout
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:50:27: error: 'AnyLayout' is only available in macOS 13.0 or newer
 45 |
 46 |
 47 | public extension SwipeActionsLayout {
    |        `- note: add '@available' attribute to enclosing extension
 48 |      var swipeLayout: AnyLayout {
    |          `- note: add '@available' attribute to enclosing property
 49 |         switch orientation {
 50 |         case .horizontal: AnyLayout(HStackLayout(spacing: spacing))
    |                           |- error: 'AnyLayout' is only available in macOS 13.0 or newer
    |                           `- note: add 'if #available' version check
 51 |         case .vertical:   AnyLayout(VStackLayout(spacing: spacing))
 52 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:50:37: error: 'HStackLayout' is only available in macOS 13.0 or newer
 45 |
 46 |
 47 | public extension SwipeActionsLayout {
    |        `- note: add '@available' attribute to enclosing extension
 48 |      var swipeLayout: AnyLayout {
    |          `- note: add '@available' attribute to enclosing property
 49 |         switch orientation {
 50 |         case .horizontal: AnyLayout(HStackLayout(spacing: spacing))
    |                                     |- error: 'HStackLayout' is only available in macOS 13.0 or newer
    |                                     `- note: add 'if #available' version check
 51 |         case .vertical:   AnyLayout(VStackLayout(spacing: spacing))
 52 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:51:27: error: 'AnyLayout' is only available in macOS 13.0 or newer
 45 |
 46 |
 47 | public extension SwipeActionsLayout {
    |        `- note: add '@available' attribute to enclosing extension
 48 |      var swipeLayout: AnyLayout {
    |          `- note: add '@available' attribute to enclosing property
 49 |         switch orientation {
 50 |         case .horizontal: AnyLayout(HStackLayout(spacing: spacing))
 51 |         case .vertical:   AnyLayout(VStackLayout(spacing: spacing))
    |                           |- error: 'AnyLayout' is only available in macOS 13.0 or newer
    |                           `- note: add 'if #available' version check
 52 |         }
 53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:51:37: error: 'VStackLayout' is only available in macOS 13.0 or newer
 45 |
 46 |
 47 | public extension SwipeActionsLayout {
    |        `- note: add '@available' attribute to enclosing extension
 48 |      var swipeLayout: AnyLayout {
    |          `- note: add '@available' attribute to enclosing property
 49 |         switch orientation {
 50 |         case .horizontal: AnyLayout(HStackLayout(spacing: spacing))
 51 |         case .vertical:   AnyLayout(VStackLayout(spacing: spacing))
    |                                     |- error: 'VStackLayout' is only available in macOS 13.0 or newer
    |                                     `- note: add 'if #available' version check
 52 |         }
 53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:109:41: error: conformance of 'Axis' to 'Equatable' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | internal struct SwipeActionsState {
    |                 `- note: add '@available' attribute to enclosing struct
 90 |     let edge: HorizontalEdge
 91 |     let phase: SwipeActionsPhase
    :
106 |     }
107 |
108 |     func scale(itemID: UUID) -> CGFloat {
    |          `- note: add '@available' attribute to enclosing instance method
109 |         guard actionsLayout.orientation == .horizontal else { return 1 }
    |                                         |- error: conformance of 'Axis' to 'Equatable' is only available in macOS 10.15 or newer
    |                                         `- note: add 'if #available' version check
110 |         let sp = segmentProgress(for: itemID)
111 |         switch phase {
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:128:42: error: conformance of 'Axis' to 'Equatable' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | internal struct SwipeActionsState {
    |                 `- note: add '@available' attribute to enclosing struct
 90 |     let edge: HorizontalEdge
 91 |     let phase: SwipeActionsPhase
    :
116 |     }
117 |
118 |     func opacity(itemID: UUID) -> CGFloat {
    |          `- note: add '@available' attribute to enclosing instance method
119 |         let isCurrentHero = isHero(itemID: itemID)
120 |         let sp = segmentProgress(for: itemID)
    :
126 |             return sp
127 |         case .preparingToFull(let opPercent, _):
128 |             if actionsLayout.orientation == .vertical { return sp }
    |                                          |- error: conformance of 'Axis' to 'Equatable' is only available in macOS 10.15 or newer
    |                                          `- note: add 'if #available' version check
129 |             return isCurrentHero ? 1 : opPercent
130 |         case .fullSwipe:
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:131:42: error: conformance of 'Axis' to 'Equatable' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | internal struct SwipeActionsState {
    |                 `- note: add '@available' attribute to enclosing struct
 90 |     let edge: HorizontalEdge
 91 |     let phase: SwipeActionsPhase
    :
116 |     }
117 |
118 |     func opacity(itemID: UUID) -> CGFloat {
    |          `- note: add '@available' attribute to enclosing instance method
119 |         let isCurrentHero = isHero(itemID: itemID)
120 |         let sp = segmentProgress(for: itemID)
    :
129 |             return isCurrentHero ? 1 : opPercent
130 |         case .fullSwipe:
131 |             if actionsLayout.orientation == .vertical { return 1 }
    |                                          |- error: conformance of 'Axis' to 'Equatable' is only available in macOS 10.15 or newer
    |                                          `- note: add 'if #available' version check
132 |             return isCurrentHero ? 1 : 0
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:154:61: error: conformance of 'Axis' to 'Equatable' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | internal struct SwipeActionsState {
    |                 `- note: add '@available' attribute to enclosing struct
 90 |     let edge: HorizontalEdge
 91 |     let phase: SwipeActionsPhase
    :
150 |     }
151 |
152 |     func isHero(itemID:UUID) -> Bool {
    |          `- note: add '@available' attribute to enclosing instance method
153 |         let index = ids.firstIndex(of: itemID) ?? 0
154 |         let fullSwipeIndex: Int = actionsLayout.orientation == .vertical ? ids.count - 1 : edge == .trailing ? ids.count - 1 : 0
    |                                                             |- error: conformance of 'Axis' to 'Equatable' is only available in macOS 10.15 or newer
    |                                                             `- note: add 'if #available' version check
155 |         return index == fullSwipeIndex && fullSwipeAvailable
156 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsState.swift:154:97: error: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer
 87 | }
 88 |
 89 | internal struct SwipeActionsState {
    |                 `- note: add '@available' attribute to enclosing struct
 90 |     let edge: HorizontalEdge
 91 |     let phase: SwipeActionsPhase
    :
150 |     }
151 |
152 |     func isHero(itemID:UUID) -> Bool {
    |          `- note: add '@available' attribute to enclosing instance method
153 |         let index = ids.firstIndex(of: itemID) ?? 0
154 |         let fullSwipeIndex: Int = actionsLayout.orientation == .vertical ? ids.count - 1 : edge == .trailing ? ids.count - 1 : 0
    |                                                                                                 |- error: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer
    |                                                                                                 `- note: add 'if #available' version check
155 |         return index == fullSwipeIndex && fullSwipeAvailable
156 |     }
[10/12] Compiling SwipableCell CellMeasure.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/CellMeasure.swift:20:41: error: 'View' is only available in macOS 10.15 or newer
17 | }
18 |
19 | internal struct MeasureSizeModifier: ViewModifier {
   |                 `- note: add '@available' attribute to enclosing struct
20 |     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
21 |         content.overlay(GeometryReader { geometry in
22 |             Color.clear.preference(key: SizePreferenceKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/CellMeasure.swift:29:74: error: 'View' is only available in macOS 10.15 or newer
26 | }
27 |
28 | internal extension View {
   |          `- note: add '@available' attribute to enclosing extension
29 |     func measureSize(perform action: @escaping (CGSize) -> Void) -> some View {
   |          |                                                               `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
30 |         self.modifier(MeasureSizeModifier.init())
31 |             .onPreferenceChange(SizePreferenceKey.self, perform: action)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/CellMeasure.swift:28:20: error: 'View' is only available in macOS 10.15 or newer
26 | }
27 |
28 | internal extension View {
   |          |         `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing extension
29 |     func measureSize(perform action: @escaping (CGSize) -> Void) -> some View {
30 |         self.modifier(MeasureSizeModifier.init())
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/CellMeasure.swift:21:17: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
17 | }
18 |
19 | internal struct MeasureSizeModifier: ViewModifier {
   |                 `- note: add '@available' attribute to enclosing struct
20 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
21 |         content.overlay(GeometryReader { geometry in
   |                 |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
22 |             Color.clear.preference(key: SizePreferenceKey.self,
23 |                                    value: geometry.size)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/CellMeasure.swift:21:25: error: 'GeometryReader' is only available in macOS 10.15 or newer
17 | }
18 |
19 | internal struct MeasureSizeModifier: ViewModifier {
   |                 `- note: add '@available' attribute to enclosing struct
20 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
21 |         content.overlay(GeometryReader { geometry in
   |                         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
22 |             Color.clear.preference(key: SizePreferenceKey.self,
23 |                                    value: geometry.size)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/CellMeasure.swift:22:13: error: 'Color' is only available in macOS 10.15 or newer
17 | }
18 |
19 | internal struct MeasureSizeModifier: ViewModifier {
   |                 `- note: add '@available' attribute to enclosing struct
20 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
21 |         content.overlay(GeometryReader { geometry in
22 |             Color.clear.preference(key: SizePreferenceKey.self,
   |             |- error: 'Color' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
23 |                                    value: geometry.size)
24 |         })
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/CellMeasure.swift:22:19: error: 'clear' is only available in macOS 10.15 or newer
17 | }
18 |
19 | internal struct MeasureSizeModifier: ViewModifier {
   |                 `- note: add '@available' attribute to enclosing struct
20 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
21 |         content.overlay(GeometryReader { geometry in
22 |             Color.clear.preference(key: SizePreferenceKey.self,
   |                   |- error: 'clear' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
23 |                                    value: geometry.size)
24 |         })
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/CellMeasure.swift:22:25: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
17 | }
18 |
19 | internal struct MeasureSizeModifier: ViewModifier {
   |                 `- note: add '@available' attribute to enclosing struct
20 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
21 |         content.overlay(GeometryReader { geometry in
22 |             Color.clear.preference(key: SizePreferenceKey.self,
   |                         |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
23 |                                    value: geometry.size)
24 |         })
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/CellMeasure.swift:30:14: error: 'modifier' is only available in macOS 10.15 or newer
26 | }
27 |
28 | internal extension View {
   |          `- note: add '@available' attribute to enclosing extension
29 |     func measureSize(perform action: @escaping (CGSize) -> Void) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
30 |         self.modifier(MeasureSizeModifier.init())
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
31 |             .onPreferenceChange(SizePreferenceKey.self, perform: action)
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/CellMeasure.swift:31:14: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
26 | }
27 |
28 | internal extension View {
   |          `- note: add '@available' attribute to enclosing extension
29 |     func measureSize(perform action: @escaping (CGSize) -> Void) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
30 |         self.modifier(MeasureSizeModifier.init())
31 |             .onPreferenceChange(SizePreferenceKey.self, perform: action)
   |              |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
32 |     }
33 | }
[11/12] Compiling SwipableCell SwipeActionsPhase.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsPhase.swift:20:33: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
 9 | import SwiftUI
10 |
11 | internal enum SwipeActionsPhase {
   |               `- note: add '@available' attribute to enclosing enum
12 |     case closed
13 |     case revealing
   :
18 |     static let fullSwipeTriggerThreshold:   CGFloat = 1.3
19 |
20 |     static func phase(for edge: HorizontalEdge, actionsWidth: CGFloat, offset: CGFloat, fullSwipeAvailable:Bool?) -> SwipeActionsPhase {
   |                 |               `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
   |                 `- note: add '@available' attribute to enclosing static method
21 |         let edgeOffset = edge == .trailing ? min(0, offset) : max(0, offset)
22 |         let absOffset  = abs(edgeOffset)
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeActionsPhase.swift:21:31: error: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer
 9 | import SwiftUI
10 |
11 | internal enum SwipeActionsPhase {
   |               `- note: add '@available' attribute to enclosing enum
12 |     case closed
13 |     case revealing
   :
18 |     static let fullSwipeTriggerThreshold:   CGFloat = 1.3
19 |
20 |     static func phase(for edge: HorizontalEdge, actionsWidth: CGFloat, offset: CGFloat, fullSwipeAvailable:Bool?) -> SwipeActionsPhase {
   |                 `- note: add '@available' attribute to enclosing static method
21 |         let edgeOffset = edge == .trailing ? min(0, offset) : max(0, offset)
   |                               |- error: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer
   |                               `- note: add 'if #available' version check
22 |         let absOffset  = abs(edgeOffset)
23 |
[12/12] Compiling SwipableCell SwipeButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
   |      `- error: 'State' is only available in macOS 10.15 or newer
13 |     let label:  Label
14 |     let action: () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:15:17: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
13 |     let label:  Label
14 |     let action: () -> Void
15 |     let color:  Color
   |                 `- error: 'Color' is only available in macOS 10.15 or newer
16 |     let role:   ButtonRole?
17 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:16:17: error: 'ButtonRole' is only available in macOS 12.0 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
13 |     let label:  Label
14 |     let action: () -> Void
15 |     let color:  Color
16 |     let role:   ButtonRole?
   |                 `- error: 'ButtonRole' is only available in macOS 12.0 or newer
17 |
18 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:19:16: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
13 |     let label:  Label
   :
16 |     let role:   ButtonRole?
17 |
18 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
19 |         color: Color = .gray,
   |                `- error: 'Color' is only available in macOS 10.15 or newer
20 |         role:  ButtonRole? = nil,
21 |         action: @escaping () -> Void,
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:20:16: error: 'ButtonRole' is only available in macOS 12.0 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
13 |     let label:  Label
   :
16 |     let role:   ButtonRole?
17 |
18 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
19 |         color: Color = .gray,
20 |         role:  ButtonRole? = nil,
   |                `- error: 'ButtonRole' is only available in macOS 12.0 or newer
21 |         action: @escaping () -> Void,
22 |         @ViewBuilder label: () -> Label
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:22:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
13 |     let label:  Label
   :
16 |     let role:   ButtonRole?
17 |
18 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
19 |         color: Color = .gray,
20 |         role:  ButtonRole? = nil,
21 |         action: @escaping () -> Void,
22 |         @ViewBuilder label: () -> Label
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
23 |     ) {
24 |         self.color  = color
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:19:25: error: 'gray' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
13 |     let label:  Label
   :
16 |     let role:   ButtonRole?
17 |
18 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
19 |         color: Color = .gray,
   |                         `- error: 'gray' is only available in macOS 10.15 or newer
20 |         role:  ButtonRole? = nil,
21 |         action: @escaping () -> Void,
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:30:27: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
13 |     let label:  Label
   :
28 |     }
29 |
30 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
31 |         label
32 |         .contentShape(Capsule())
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:11:34: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               |                  `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
13 |     let label:  Label
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:32:10: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
13 |     let label:  Label
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
31 |         label
32 |         .contentShape(Capsule())
   |          |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
33 |         .containerValue(\.swipeActionMeta, SwipeActionMeta(id: swipeID, color: color, role: role, action: action))
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:32:23: error: 'Capsule' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
13 |     let label:  Label
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
31 |         label
32 |         .contentShape(Capsule())
   |                       |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
33 |         .containerValue(\.swipeActionMeta, SwipeActionMeta(id: swipeID, color: color, role: role, action: action))
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipableCell/SwipeButton.swift:33:10: error: 'containerValue' is only available in macOS 15.0 or newer
 9 | import SwiftUI
10 |
11 | public struct SwipeButton<Label: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
12 |     @State private var swipeID: UUID = UUID()
13 |     let label:  Label
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
31 |         label
32 |         .contentShape(Capsule())
33 |         .containerValue(\.swipeActionMeta, SwipeActionMeta(id: swipeID, color: color, role: role, action: action))
   |          |- error: 'containerValue' is only available in macOS 15.0 or newer
   |          `- note: add 'if #available' version check
34 |     }
35 | }
BUILD FAILURE 6.3 macosSpm