The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TextFieldStepper, reference main (a4d3fb), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 06:30:58 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joe-scotto/TextFieldStepper.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/joe-scotto/TextFieldStepper
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a4d3fb0 Remove error checking and just default if wrong value is input.
Cloned https://github.com/joe-scotto/TextFieldStepper.git
Revision (git rev-parse @):
a4d3fb0eea2f7b6af6deec771375eb6ace22ce5b
SUCCESS checkout https://github.com/joe-scotto/TextFieldStepper.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "textfieldstepper",
      "name": "TextFieldStepper",
      "url": "https://github.com/joe-scotto/TextFieldStepper.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TextFieldStepper",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/joe-scotto/TextFieldStepper.git
[1/436] Fetching textfieldstepper
Fetched https://github.com/joe-scotto/TextFieldStepper.git from cache (0.68s)
Creating working copy for https://github.com/joe-scotto/TextFieldStepper.git
Working copy of https://github.com/joe-scotto/TextFieldStepper.git resolved at main (a4d3fb0)
warning: '.resolve-product-dependencies': dependency 'textfieldstepper' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/joe-scotto/TextFieldStepper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/10] Compiling TextFieldStepper DoubleExtension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Emitting module TextFieldStepper
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 5 |
 6 |     @State private var timer: Timer? = nil
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
 6 |     @State private var timer: Timer? = nil
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var isLongPressing = false
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
 6 |     @State private var timer: Timer? = nil
 7 |     @State private var isLongPressing = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 |     enum Actions {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:18:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
16 |     let action: Actions
17 |
18 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
19 |         Button(action: {
20 |             !isLongPressing ? updateDoubleValue() : invalidateLongPress()
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:58:38: error: 'LongPressGesture' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
56 |      * Starts the long press
57 |      */
58 |     private func startTimer(_ value: LongPressGesture.Value) {
   |                  |                   `- error: 'LongPressGesture' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
59 |         isLongPressing = true
60 |         timer = Timer.scheduledTimer(withTimeInterval: 0.05, repeats: true) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:12:48: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public 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
13 |         switch on {
14 |         case .Tap:
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:33:45: error: 'Gesture' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
31 |     }
32 |
33 |     private func swipeDownGesture() -> some Gesture {
   |                  |                          `- error: 'Gesture' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
34 |         DragGesture(minimumDistance: 0, coordinateSpace: .local).onEnded({ gesture in
35 |             // Hide keyboard on swipe down
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/ViewExtension.swift:4:74: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension View {
  | `- note: add '@available' attribute to enclosing extension
4 |     public func closeKeyboard(on: CloseKeyboard.Gestures = .All) -> some View {
  |                 |                                                        `- error: 'View' is only available in macOS 10.15 or newer
  |                 `- note: add '@available' attribute to enclosing instance method
5 |         modifier(CloseKeyboard(on: on))
6 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/ViewExtension.swift:3:11: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension View {
  | |         `- error: 'View' is only available in macOS 10.15 or newer
  | `- note: add '@available' attribute to enclosing extension
4 |     public func closeKeyboard(on: CloseKeyboard.Gestures = .All) -> some View {
5 |         modifier(CloseKeyboard(on: on))
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  5 |
  6 |     @FocusState private var keyboardOpened
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:6:6: error: 'FocusState' is only available in macOS 12.0 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
  6 |     @FocusState private var keyboardOpened
    |      `- error: 'FocusState' is only available in macOS 12.0 or newer
  7 |
  8 |     @State private var confirmEdit = false
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
  6 |     @FocusState private var keyboardOpened
  7 |
  8 |     @State private var confirmEdit = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
  9 |     @State private var textValue = ""
 10 |     @State private var showAlert = false
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
  7 |
  8 |     @State private var confirmEdit = false
  9 |     @State private var textValue = ""
    |      `- error: 'State' is only available in macOS 10.15 or newer
 10 |     @State private var showAlert = false
 11 |     @State private var cancelled = false
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
  8 |     @State private var confirmEdit = false
  9 |     @State private var textValue = ""
 10 |     @State private var showAlert = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 11 |     @State private var cancelled = false
 12 |     @State private var confirmed = false
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
  9 |     @State private var textValue = ""
 10 |     @State private var showAlert = false
 11 |     @State private var cancelled = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 12 |     @State private var confirmed = false
 13 |     @State private var defaultValue: Double = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 10 |     @State private var showAlert = false
 11 |     @State private var cancelled = false
 12 |     @State private var confirmed = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 13 |     @State private var defaultValue: Double = 0.0
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 11 |     @State private var cancelled = false
 12 |     @State private var confirmed = false
 13 |     @State private var defaultValue: Double = 0.0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 14 |
 15 |     // Alert
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 14 |
 15 |     // Alert
 16 |     @State private var alertTitle = ""
    |      `- error: 'State' is only available in macOS 10.15 or newer
 17 |     @State private var alertMessage = ""
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 15 |     // Alert
 16 |     @State private var alertTitle = ""
 17 |     @State private var alertMessage = ""
    |      `- error: 'State' is only available in macOS 10.15 or newer
 18 |
 19 |     private let config: TextFieldStepperConfig
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:21:36: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 19 |     private let config: TextFieldStepperConfig
 20 |
 21 |     private var cancelButton: some View {
    |                 |                  `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 22 |         Button(action: {
 23 |             textValue = formatTextValue(doubleValue)
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:32:37: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 30 |     }
 31 |
 32 |     private var confirmButton: some View {
    |                 |                   `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 33 |         Button(action: {
 34 |             confirmed = true
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:42:39: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 40 |     }
 41 |
 42 |     private var decrementButton: some View {
    |                 |                     `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 43 |         LongPressButton(
 44 |             doubleValue: $doubleValue,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:51:39: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 49 |     }
 50 |
 51 |     private var incrementButton: some View {
    |                 |                     `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 52 |         LongPressButton(
 53 |             doubleValue: $doubleValue,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:64:22: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 61 |      * init(doubleValue: Binding<Double>, unit: String, label: String, config: TextFieldStepperConfig)
 62 |      */
 63 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 64 |         doubleValue: Binding<Double>,
    |                      `- error: 'Binding' is only available in macOS 10.15 or newer
 65 |         unit: String? = nil,
 66 |         label: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:74:24: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 61 |      * init(doubleValue: Binding<Double>, unit: String, label: String, config: TextFieldStepperConfig)
 62 |      */
 63 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 64 |         doubleValue: Binding<Double>,
 65 |         unit: String? = nil,
    :
 72 |         declineImage: TextFieldStepperImage? = nil,
 73 |         confirmImage: TextFieldStepperImage? = nil,
 74 |         disabledColor: Color? = nil,
    |                        `- error: 'Color' is only available in macOS 10.15 or newer
 75 |         labelOpacity: Double? = nil,
 76 |         labelColor: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:76:21: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 61 |      * init(doubleValue: Binding<Double>, unit: String, label: String, config: TextFieldStepperConfig)
 62 |      */
 63 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 64 |         doubleValue: Binding<Double>,
 65 |         unit: String? = nil,
    :
 74 |         disabledColor: Color? = nil,
 75 |         labelOpacity: Double? = nil,
 76 |         labelColor: Color? = nil,
    |                     `- error: 'Color' is only available in macOS 10.15 or newer
 77 |         valueColor: Color? = nil,
 78 |         shouldShowAlert: Bool? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:77:21: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 61 |      * init(doubleValue: Binding<Double>, unit: String, label: String, config: TextFieldStepperConfig)
 62 |      */
 63 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 64 |         doubleValue: Binding<Double>,
 65 |         unit: String? = nil,
    :
 75 |         labelOpacity: Double? = nil,
 76 |         labelColor: Color? = nil,
 77 |         valueColor: Color? = nil,
    |                     `- error: 'Color' is only available in macOS 10.15 or newer
 78 |         shouldShowAlert: Bool? = nil,
 79 |         minimumDecimalPlaces: Int? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:12:52: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            |                                       `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:12:58: error: 'accentColor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            |                                             `- error: 'accentColor' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:29:109: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
27 |         decrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "minus.circle.fill"),
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
   |                                                                                                             `- error: 'Color' is only available in macOS 10.15 or newer
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
31 |         disabledColor: Color = Color(UIColor.lightGray),
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:29:115: error: 'red' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
27 |         decrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "minus.circle.fill"),
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
   |                                                                                                                   `- error: 'red' is only available in macOS 10.15 or newer
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
31 |         disabledColor: Color = Color(UIColor.lightGray),
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:30:113: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
   |                                                                                                                 `- error: 'Color' is only available in macOS 10.15 or newer
31 |         disabledColor: Color = Color(UIColor.lightGray),
32 |         labelOpacity: Double = 1.0,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:30:119: error: 'green' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
   |                                                                                                                       `- error: 'green' is only available in macOS 10.15 or newer
31 |         disabledColor: Color = Color(UIColor.lightGray),
32 |         labelOpacity: Double = 1.0,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:31:38: error: cannot find 'UIColor' in scope
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
31 |         disabledColor: Color = Color(UIColor.lightGray),
   |                                      `- error: cannot find 'UIColor' in scope
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:33:30: error: 'primary' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
31 |         disabledColor: Color = Color(UIColor.lightGray),
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
34 |         valueColor: Color = .primary,
35 |         shouldShowAlert: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:34:30: error: 'primary' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
34 |         valueColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
35 |         shouldShowAlert: Bool = true,
36 |         minimumDecimalPlaces: Int = 0,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:111:27: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
109 |     }
110 |
111 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
112 |         HStack {
113 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:13:24: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
11 |     var declineImage: TextFieldStepperImage
12 |     var confirmImage: TextFieldStepperImage
13 |     var disabledColor: Color
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
14 |     var labelOpacity: Double
15 |     var labelColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:15:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
13 |     var disabledColor: Color
14 |     var labelOpacity: Double
15 |     var labelColor: Color
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
16 |     var valueColor: Color
17 |     var shouldShowAlert: Bool
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:16:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
14 |     var labelOpacity: Double
15 |     var labelColor: Color
16 |     var valueColor: Color
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
17 |     var shouldShowAlert: Bool
18 |     var minimumDecimalPlaces: Int
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:31:24: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
31 |         disabledColor: Color = Color(UIColor.lightGray),
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:33:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
31 |         disabledColor: Color = Color(UIColor.lightGray),
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
34 |         valueColor: Color = .primary,
35 |         shouldShowAlert: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:34:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
34 |         valueColor: Color = .primary,
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
35 |         shouldShowAlert: Bool = true,
36 |         minimumDecimalPlaces: Int = 0,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:4:16: error: 'Image' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
   |                `- error: 'Image' is only available in macOS 10.15 or newer
 5 |     let color: Color
 6 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:5:16: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
 6 |
 7 |     public init(image: Image, color: Color = Color.accentColor) {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:7:24: error: 'Image' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
 6 |
 7 |     public init(image: Image, color: Color = Color.accentColor) {
   |            |           `- error: 'Image' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
 8 |         self.image = image
 9 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:7:38: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
 6 |
 7 |     public init(image: Image, color: Color = Color.accentColor) {
   |            |                         `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
 8 |         self.image = image
 9 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:7:46: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
 6 |
 7 |     public init(image: Image, color: Color = Color.accentColor) {
   |            |                                 `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
 8 |         self.image = image
 9 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:7:52: error: 'accentColor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
 6 |
 7 |     public init(image: Image, color: Color = Color.accentColor) {
   |            |                                       `- error: 'accentColor' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
 8 |         self.image = image
 9 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:12:44: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            |                               `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
17 |         image
18 |             .resizable()
[5/10] Compiling TextFieldStepper ViewExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/ViewExtension.swift:4:74: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension View {
  | `- note: add '@available' attribute to enclosing extension
4 |     public func closeKeyboard(on: CloseKeyboard.Gestures = .All) -> some View {
  |                 |                                                        `- error: 'View' is only available in macOS 10.15 or newer
  |                 `- note: add '@available' attribute to enclosing instance method
5 |         modifier(CloseKeyboard(on: on))
6 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/ViewExtension.swift:3:11: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension View {
  | |         `- error: 'View' is only available in macOS 10.15 or newer
  | `- note: add '@available' attribute to enclosing extension
4 |     public func closeKeyboard(on: CloseKeyboard.Gestures = .All) -> some View {
5 |         modifier(CloseKeyboard(on: on))
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/ViewExtension.swift:5:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | extension View {
  | `- note: add '@available' attribute to enclosing extension
4 |     public func closeKeyboard(on: CloseKeyboard.Gestures = .All) -> some View {
  |                 `- note: add '@available' attribute to enclosing instance method
5 |         modifier(CloseKeyboard(on: on))
  |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  |         `- note: add 'if #available' version check
6 |     }
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/ViewExtension.swift:5:9: error: 'modifier' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension View {
  | `- note: add '@available' attribute to enclosing extension
4 |     public func closeKeyboard(on: CloseKeyboard.Gestures = .All) -> some View {
  |                 `- note: add '@available' attribute to enclosing instance method
5 |         modifier(CloseKeyboard(on: on))
  |         |- error: 'modifier' is only available in macOS 10.15 or newer
  |         `- note: add 'if #available' version check
6 |     }
7 | }
[6/10] Compiling TextFieldStepper TextFieldStepperConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:13:24: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
11 |     var declineImage: TextFieldStepperImage
12 |     var confirmImage: TextFieldStepperImage
13 |     var disabledColor: Color
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
14 |     var labelOpacity: Double
15 |     var labelColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:15:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
13 |     var disabledColor: Color
14 |     var labelOpacity: Double
15 |     var labelColor: Color
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
16 |     var valueColor: Color
17 |     var shouldShowAlert: Bool
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:16:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
14 |     var labelOpacity: Double
15 |     var labelColor: Color
16 |     var valueColor: Color
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
17 |     var shouldShowAlert: Bool
18 |     var minimumDecimalPlaces: Int
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:31:24: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
31 |         disabledColor: Color = Color(UIColor.lightGray),
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:33:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
31 |         disabledColor: Color = Color(UIColor.lightGray),
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
34 |         valueColor: Color = .primary,
35 |         shouldShowAlert: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:34:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
34 |         valueColor: Color = .primary,
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
35 |         shouldShowAlert: Bool = true,
36 |         minimumDecimalPlaces: Int = 0,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:12:52: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            |                                       `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:12:58: error: 'accentColor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            |                                             `- error: 'accentColor' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:29:109: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
27 |         decrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "minus.circle.fill"),
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
   |                                                                                                             `- error: 'Color' is only available in macOS 10.15 or newer
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
31 |         disabledColor: Color = Color(UIColor.lightGray),
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:29:115: error: 'red' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
27 |         decrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "minus.circle.fill"),
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
   |                                                                                                                   `- error: 'red' is only available in macOS 10.15 or newer
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
31 |         disabledColor: Color = Color(UIColor.lightGray),
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:30:113: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
   |                                                                                                                 `- error: 'Color' is only available in macOS 10.15 or newer
31 |         disabledColor: Color = Color(UIColor.lightGray),
32 |         labelOpacity: Double = 1.0,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:30:119: error: 'green' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
   |                                                                                                                       `- error: 'green' is only available in macOS 10.15 or newer
31 |         disabledColor: Color = Color(UIColor.lightGray),
32 |         labelOpacity: Double = 1.0,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:31:38: error: cannot find 'UIColor' in scope
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
31 |         disabledColor: Color = Color(UIColor.lightGray),
   |                                      `- error: cannot find 'UIColor' in scope
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:33:30: error: 'primary' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
31 |         disabledColor: Color = Color(UIColor.lightGray),
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
34 |         valueColor: Color = .primary,
35 |         shouldShowAlert: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:34:30: error: 'primary' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
34 |         valueColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
35 |         shouldShowAlert: Bool = true,
36 |         minimumDecimalPlaces: Int = 0,
[7/10] Compiling TextFieldStepper LongPressButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 5 |
 6 |     @State private var timer: Timer? = nil
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
 6 |     @State private var timer: Timer? = nil
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var isLongPressing = false
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
 6 |     @State private var timer: Timer? = nil
 7 |     @State private var isLongPressing = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 |     enum Actions {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:18:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
16 |     let action: Actions
17 |
18 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
19 |         Button(action: {
20 |             !isLongPressing ? updateDoubleValue() : invalidateLongPress()
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:58:38: error: 'LongPressGesture' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
56 |      * Starts the long press
57 |      */
58 |     private func startTimer(_ value: LongPressGesture.Value) {
   |                  |                   `- error: 'LongPressGesture' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
59 |         isLongPressing = true
60 |         timer = Timer.scheduledTimer(withTimeInterval: 0.05, repeats: true) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:19:9: error: 'Button' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
16 |     let action: Actions
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         Button(action: {
   |         |- error: 'Button' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
20 |             !isLongPressing ? updateDoubleValue() : invalidateLongPress()
21 |         }) {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:24:10: error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
16 |     let action: Actions
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         Button(action: {
20 |             !isLongPressing ? updateDoubleValue() : invalidateLongPress()
   :
22 |             image
23 |         }
24 |         .simultaneousGesture(
   |          |- error: 'simultaneousGesture(_:including:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
25 |             LongPressGesture(minimumDuration: 0.25).onEnded(startTimer)
26 |         )
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:25:13: error: 'LongPressGesture' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
16 |     let action: Actions
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         Button(action: {
20 |             !isLongPressing ? updateDoubleValue() : invalidateLongPress()
   :
23 |         }
24 |         .simultaneousGesture(
25 |             LongPressGesture(minimumDuration: 0.25).onEnded(startTimer)
   |             |- error: 'LongPressGesture' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
26 |         )
27 |         .foregroundColor(!disableButton() ? image.color : config.disabledColor)
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:25:53: error: 'onEnded' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
16 |     let action: Actions
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         Button(action: {
20 |             !isLongPressing ? updateDoubleValue() : invalidateLongPress()
   :
23 |         }
24 |         .simultaneousGesture(
25 |             LongPressGesture(minimumDuration: 0.25).onEnded(startTimer)
   |                                                     |- error: 'onEnded' is only available in macOS 10.15 or newer
   |                                                     `- note: add 'if #available' version check
26 |         )
27 |         .foregroundColor(!disableButton() ? image.color : config.disabledColor)
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:27:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
16 |     let action: Actions
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         Button(action: {
20 |             !isLongPressing ? updateDoubleValue() : invalidateLongPress()
   :
25 |             LongPressGesture(minimumDuration: 0.25).onEnded(startTimer)
26 |         )
27 |         .foregroundColor(!disableButton() ? image.color : config.disabledColor)
   |          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
28 |         .disabled(disableButton())
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:28:10: error: 'disabled' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
16 |     let action: Actions
17 |
18 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
19 |         Button(action: {
20 |             !isLongPressing ? updateDoubleValue() : invalidateLongPress()
   :
26 |         )
27 |         .foregroundColor(!disableButton() ? image.color : config.disabledColor)
28 |         .disabled(disableButton())
   |          |- error: 'disabled' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
29 |     }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:35:9: error: setter for 'isLongPressing' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
32 |      * Stops the long press
33 |      */
34 |     private func invalidateLongPress() {
   |                  `- note: add '@available' attribute to enclosing instance method
35 |         isLongPressing = false
   |         |- error: setter for 'isLongPressing' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
36 |         timer?.invalidate()
37 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:59:9: error: setter for 'isLongPressing' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
56 |      * Starts the long press
57 |      */
58 |     private func startTimer(_ value: LongPressGesture.Value) {
   |                  `- note: add '@available' attribute to enclosing instance method
59 |         isLongPressing = true
   |         |- error: setter for 'isLongPressing' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
60 |         timer = Timer.scheduledTimer(withTimeInterval: 0.05, repeats: true) { _ in
61 |             // Perform action regardless of actual value
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:60:9: error: setter for 'timer' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
56 |      * Starts the long press
57 |      */
58 |     private func startTimer(_ value: LongPressGesture.Value) {
   |                  `- note: add '@available' attribute to enclosing instance method
59 |         isLongPressing = true
60 |         timer = Timer.scheduledTimer(withTimeInterval: 0.05, repeats: true) { _ in
   |         |- error: setter for 'timer' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
61 |             // Perform action regardless of actual value
62 |             updateDoubleValue()
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Internal/LongPressButton.swift:84:9: error: setter for 'doubleValue' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct LongPressButton: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var doubleValue: Double
 5 |
   :
72 |      * Decreases or increases the doubleValue
73 |      */
74 |     private func updateDoubleValue() {
   |                  `- note: add '@available' attribute to enclosing instance method
75 |         var newValue: Double
76 |
   :
82 |         }
83 |
84 |         doubleValue = (config.minimum...config.maximum).contains(newValue.decimal) ? newValue : doubleValue
   |         |- error: setter for 'doubleValue' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
85 |     }
86 | }
[8/10] Compiling TextFieldStepper TextFieldStepper.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  5 |
  6 |     @FocusState private var keyboardOpened
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:6:6: error: 'FocusState' is only available in macOS 12.0 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
  6 |     @FocusState private var keyboardOpened
    |      `- error: 'FocusState' is only available in macOS 12.0 or newer
  7 |
  8 |     @State private var confirmEdit = false
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
  6 |     @FocusState private var keyboardOpened
  7 |
  8 |     @State private var confirmEdit = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
  9 |     @State private var textValue = ""
 10 |     @State private var showAlert = false
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
  7 |
  8 |     @State private var confirmEdit = false
  9 |     @State private var textValue = ""
    |      `- error: 'State' is only available in macOS 10.15 or newer
 10 |     @State private var showAlert = false
 11 |     @State private var cancelled = false
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
  8 |     @State private var confirmEdit = false
  9 |     @State private var textValue = ""
 10 |     @State private var showAlert = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 11 |     @State private var cancelled = false
 12 |     @State private var confirmed = false
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
  9 |     @State private var textValue = ""
 10 |     @State private var showAlert = false
 11 |     @State private var cancelled = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 12 |     @State private var confirmed = false
 13 |     @State private var defaultValue: Double = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 10 |     @State private var showAlert = false
 11 |     @State private var cancelled = false
 12 |     @State private var confirmed = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 13 |     @State private var defaultValue: Double = 0.0
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 11 |     @State private var cancelled = false
 12 |     @State private var confirmed = false
 13 |     @State private var defaultValue: Double = 0.0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 14 |
 15 |     // Alert
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 14 |
 15 |     // Alert
 16 |     @State private var alertTitle = ""
    |      `- error: 'State' is only available in macOS 10.15 or newer
 17 |     @State private var alertMessage = ""
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 15 |     // Alert
 16 |     @State private var alertTitle = ""
 17 |     @State private var alertMessage = ""
    |      `- error: 'State' is only available in macOS 10.15 or newer
 18 |
 19 |     private let config: TextFieldStepperConfig
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:21:36: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 19 |     private let config: TextFieldStepperConfig
 20 |
 21 |     private var cancelButton: some View {
    |                 |                  `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 22 |         Button(action: {
 23 |             textValue = formatTextValue(doubleValue)
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:32:37: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 30 |     }
 31 |
 32 |     private var confirmButton: some View {
    |                 |                   `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 33 |         Button(action: {
 34 |             confirmed = true
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:42:39: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 40 |     }
 41 |
 42 |     private var decrementButton: some View {
    |                 |                     `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 43 |         LongPressButton(
 44 |             doubleValue: $doubleValue,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:51:39: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 49 |     }
 50 |
 51 |     private var incrementButton: some View {
    |                 |                     `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing property
 52 |         LongPressButton(
 53 |             doubleValue: $doubleValue,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:64:22: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 61 |      * init(doubleValue: Binding<Double>, unit: String, label: String, config: TextFieldStepperConfig)
 62 |      */
 63 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 64 |         doubleValue: Binding<Double>,
    |                      `- error: 'Binding' is only available in macOS 10.15 or newer
 65 |         unit: String? = nil,
 66 |         label: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:74:24: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 61 |      * init(doubleValue: Binding<Double>, unit: String, label: String, config: TextFieldStepperConfig)
 62 |      */
 63 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 64 |         doubleValue: Binding<Double>,
 65 |         unit: String? = nil,
    :
 72 |         declineImage: TextFieldStepperImage? = nil,
 73 |         confirmImage: TextFieldStepperImage? = nil,
 74 |         disabledColor: Color? = nil,
    |                        `- error: 'Color' is only available in macOS 10.15 or newer
 75 |         labelOpacity: Double? = nil,
 76 |         labelColor: Color? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:76:21: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 61 |      * init(doubleValue: Binding<Double>, unit: String, label: String, config: TextFieldStepperConfig)
 62 |      */
 63 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 64 |         doubleValue: Binding<Double>,
 65 |         unit: String? = nil,
    :
 74 |         disabledColor: Color? = nil,
 75 |         labelOpacity: Double? = nil,
 76 |         labelColor: Color? = nil,
    |                     `- error: 'Color' is only available in macOS 10.15 or newer
 77 |         valueColor: Color? = nil,
 78 |         shouldShowAlert: Bool? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:77:21: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 61 |      * init(doubleValue: Binding<Double>, unit: String, label: String, config: TextFieldStepperConfig)
 62 |      */
 63 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 64 |         doubleValue: Binding<Double>,
 65 |         unit: String? = nil,
    :
 75 |         labelOpacity: Double? = nil,
 76 |         labelColor: Color? = nil,
 77 |         valueColor: Color? = nil,
    |                     `- error: 'Color' is only available in macOS 10.15 or newer
 78 |         shouldShowAlert: Bool? = nil,
 79 |         minimumDecimalPlaces: Int? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:12:52: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            |                                       `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:12:58: error: 'accentColor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            |                                             `- error: 'accentColor' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:29:109: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
27 |         decrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "minus.circle.fill"),
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
   |                                                                                                             `- error: 'Color' is only available in macOS 10.15 or newer
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
31 |         disabledColor: Color = Color(UIColor.lightGray),
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:29:115: error: 'red' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
27 |         decrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "minus.circle.fill"),
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
   |                                                                                                                   `- error: 'red' is only available in macOS 10.15 or newer
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
31 |         disabledColor: Color = Color(UIColor.lightGray),
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:30:113: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
   |                                                                                                                 `- error: 'Color' is only available in macOS 10.15 or newer
31 |         disabledColor: Color = Color(UIColor.lightGray),
32 |         labelOpacity: Double = 1.0,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:30:119: error: 'green' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
28 |         incrementImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "plus.circle.fill"),
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
   |                                                                                                                       `- error: 'green' is only available in macOS 10.15 or newer
31 |         disabledColor: Color = Color(UIColor.lightGray),
32 |         labelOpacity: Double = 1.0,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:31:38: error: cannot find 'UIColor' in scope
29 |         declineImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "xmark.circle.fill", color: Color.red),
30 |         confirmImage: TextFieldStepperImage = TextFieldStepperImage(systemName: "checkmark.circle.fill", color: Color.green),
31 |         disabledColor: Color = Color(UIColor.lightGray),
   |                                      `- error: cannot find 'UIColor' in scope
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:33:30: error: 'primary' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
31 |         disabledColor: Color = Color(UIColor.lightGray),
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
34 |         valueColor: Color = .primary,
35 |         shouldShowAlert: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperConfig.swift:34:30: error: 'primary' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperConfig {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     var unit: String
 5 |     var label: String
   :
19 |     var maximumDecimalPlaces: Int
20 |
21 |     public init (
   |            `- note: add '@available' attribute to enclosing initializer
22 |         unit: String = "",
23 |         label: String = "",
   :
32 |         labelOpacity: Double = 1.0,
33 |         labelColor: Color = .primary,
34 |         valueColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
35 |         shouldShowAlert: Bool = true,
36 |         minimumDecimalPlaces: Int = 0,
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:111:27: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
109 |     }
110 |
111 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
112 |         HStack {
113 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:22:9: error: 'Button' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 19 |     private let config: TextFieldStepperConfig
 20 |
 21 |     private var cancelButton: some View {
    |                 `- note: add '@available' attribute to enclosing property
 22 |         Button(action: {
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 23 |             textValue = formatTextValue(doubleValue)
 24 |             cancelled = true
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:23:13: error: setter for 'textValue' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 19 |     private let config: TextFieldStepperConfig
 20 |
 21 |     private var cancelButton: some View {
    |                 `- note: add '@available' attribute to enclosing property
 22 |         Button(action: {
 23 |             textValue = formatTextValue(doubleValue)
    |             |- error: setter for 'textValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 24 |             cancelled = true
 25 |             keyboardOpened = false
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:24:13: error: setter for 'cancelled' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 19 |     private let config: TextFieldStepperConfig
 20 |
 21 |     private var cancelButton: some View {
    |                 `- note: add '@available' attribute to enclosing property
 22 |         Button(action: {
 23 |             textValue = formatTextValue(doubleValue)
 24 |             cancelled = true
    |             |- error: setter for 'cancelled' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 25 |             keyboardOpened = false
 26 |         }) {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:25:13: error: setter for 'keyboardOpened' is only available in macOS 12.0 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 19 |     private let config: TextFieldStepperConfig
 20 |
 21 |     private var cancelButton: some View {
    |                 `- note: add '@available' attribute to enclosing property
 22 |         Button(action: {
 23 |             textValue = formatTextValue(doubleValue)
 24 |             cancelled = true
 25 |             keyboardOpened = false
    |             |- error: setter for 'keyboardOpened' is only available in macOS 12.0 or newer
    |             `- note: add 'if #available' version check
 26 |         }) {
 27 |             config.declineImage
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:29:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 19 |     private let config: TextFieldStepperConfig
 20 |
 21 |     private var cancelButton: some View {
    |                 `- note: add '@available' attribute to enclosing property
 22 |         Button(action: {
 23 |             textValue = formatTextValue(doubleValue)
    :
 27 |             config.declineImage
 28 |         }
 29 |         .foregroundColor(config.declineImage.color)
    |          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 30 |     }
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:33:9: error: 'Button' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 30 |     }
 31 |
 32 |     private var confirmButton: some View {
    |                 `- note: add '@available' attribute to enclosing property
 33 |         Button(action: {
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 34 |             confirmed = true
 35 |             validateValue()
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:34:13: error: setter for 'confirmed' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 30 |     }
 31 |
 32 |     private var confirmButton: some View {
    |                 `- note: add '@available' attribute to enclosing property
 33 |         Button(action: {
 34 |             confirmed = true
    |             |- error: setter for 'confirmed' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 35 |             validateValue()
 36 |         }) {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:39:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 30 |     }
 31 |
 32 |     private var confirmButton: some View {
    |                 `- note: add '@available' attribute to enclosing property
 33 |         Button(action: {
 34 |             confirmed = true
    :
 37 |             config.confirmImage
 38 |         }
 39 |         .foregroundColor(config.confirmImage.color)
    |          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 40 |     }
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:107:22: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 61 |      * init(doubleValue: Binding<Double>, unit: String, label: String, config: TextFieldStepperConfig)
 62 |      */
 63 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 64 |         doubleValue: Binding<Double>,
 65 |         unit: String? = nil,
    :
105 |
106 |         // Set text value with State
107 |         _textValue = State(initialValue: formatTextValue(doubleValue.wrappedValue))
    |                      |- error: 'State' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
108 |         _defaultValue = State(initialValue: doubleValue.wrappedValue)
109 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:108:25: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
 61 |      * init(doubleValue: Binding<Double>, unit: String, label: String, config: TextFieldStepperConfig)
 62 |      */
 63 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 64 |         doubleValue: Binding<Double>,
 65 |         unit: String? = nil,
    :
106 |         // Set text value with State
107 |         _textValue = State(initialValue: formatTextValue(doubleValue.wrappedValue))
108 |         _defaultValue = State(initialValue: doubleValue.wrappedValue)
    |                         |- error: 'State' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
109 |     }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:126:22: error: value of type 'some View' has no member 'keyboardType'
124 |                     .multilineTextAlignment(.center)
125 |                     .font(.system(size: 24, weight: .black))
126 |                     .keyboardType(.decimalPad)
    |                      `- error: value of type 'some View' has no member 'keyboardType'
127 |                     .foregroundColor(config.valueColor)
128 |                     .monospacedDigit()
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:126:36: error: cannot infer contextual base in reference to member 'decimalPad'
124 |                     .multilineTextAlignment(.center)
125 |                     .font(.system(size: 24, weight: .black))
126 |                     .keyboardType(.decimalPad)
    |                                    `- error: cannot infer contextual base in reference to member 'decimalPad'
127 |                     .foregroundColor(config.valueColor)
128 |                     .monospacedDigit()
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:193:9: error: setter for 'showAlert' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
191 |
192 |         // Reset alert status
193 |         showAlert = false
    |         |- error: setter for 'showAlert' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
194 |
195 |         var shouldShowAlert = false
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:202:17: error: setter for 'alertTitle' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
200 |             // 5. If doubleValue is greater than config.maximum, throw Alert
201 |             if textToDouble.decimal < config.minimum {
202 |                 alertTitle = config.label
    |                 |- error: setter for 'alertTitle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
203 |                 alertMessage = "Must be at least \(formatTextValue(config.minimum))."
204 |                 shouldShowAlert = true
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:203:17: error: setter for 'alertMessage' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
201 |             if textToDouble.decimal < config.minimum {
202 |                 alertTitle = config.label
203 |                 alertMessage = "Must be at least \(formatTextValue(config.minimum))."
    |                 |- error: setter for 'alertMessage' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
204 |                 shouldShowAlert = true
205 |                 value = config.minimum
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:209:17: error: setter for 'alertTitle' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
207 |
208 |             if textToDouble.decimal > config.maximum {
209 |                 alertTitle = config.label
    |                 |- error: setter for 'alertTitle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
210 |                 alertMessage = "Must be at most \(formatTextValue(config.maximum))."
211 |                 shouldShowAlert = true
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:210:17: error: setter for 'alertMessage' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
208 |             if textToDouble.decimal > config.maximum {
209 |                 alertTitle = config.label
210 |                 alertMessage = "Must be at most \(formatTextValue(config.maximum))."
    |                 |- error: setter for 'alertMessage' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
211 |                 shouldShowAlert = true
212 |                 value = config.maximum
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:217:17: error: setter for 'doubleValue' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
215 |             // All checks passed, set the double value.
216 |             if !shouldShowAlert {
217 |                 doubleValue = textToDouble
    |                 |- error: setter for 'doubleValue' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
218 |                 keyboardOpened = false
219 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:218:17: error: setter for 'keyboardOpened' is only available in macOS 12.0 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
216 |             if !shouldShowAlert {
217 |                 doubleValue = textToDouble
218 |                 keyboardOpened = false
    |                 |- error: setter for 'keyboardOpened' is only available in macOS 12.0 or newer
    |                 `- note: add 'if #available' version check
219 |
220 |                 // If doubleValue is unchanged, ensure the textValue is still formatted
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:221:17: error: setter for 'textValue' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
219 |
220 |                 // If doubleValue is unchanged, ensure the textValue is still formatted
221 |                 textValue = formatTextValue(textToDouble)
    |                 |- error: setter for 'textValue' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
222 |             }
223 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:227:13: error: setter for 'alertTitle' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
225 |             // 3. If contains characters, throw Alert (hardware keyboard issue)
226 |             // 6. If doubleValue is empty, throw Alert
227 |             alertTitle = config.label
    |             |- error: setter for 'alertTitle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
228 |             alertMessage = "Must contain a valid number."
229 |             shouldShowAlert = true
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:228:13: error: setter for 'alertMessage' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
226 |             // 6. If doubleValue is empty, throw Alert
227 |             alertTitle = config.label
228 |             alertMessage = "Must contain a valid number."
    |             |- error: setter for 'alertMessage' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
229 |             shouldShowAlert = true
230 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:233:13: error: setter for 'showAlert' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
231 |
232 |         if shouldShowAlert && confirmed {
233 |             showAlert = true
    |             |- error: setter for 'showAlert' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
234 |         }
235 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:237:13: error: setter for 'doubleValue' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
235 |
236 |         if shouldShowAlert && !confirmed {
237 |             doubleValue = value
    |             |- error: setter for 'doubleValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
238 |             textValue = formatTextValue(value)
239 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:238:13: error: setter for 'textValue' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
236 |         if shouldShowAlert && !confirmed {
237 |             doubleValue = value
238 |             textValue = formatTextValue(value)
    |             |- error: setter for 'textValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
239 |
240 |             if config.shouldShowAlert {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepper.swift:241:17: error: setter for 'showAlert' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct TextFieldStepper: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |     @Binding var doubleValue: Double
  5 |
    :
186 |     }
187 |
188 |     private func validateValue() {
    |                  `- note: add '@available' attribute to enclosing instance method
189 |         // Value for non confirm button taps
190 |         var value = defaultValue
    :
239 |
240 |             if config.shouldShowAlert {
241 |                 showAlert = true
    |                 |- error: setter for 'showAlert' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
242 |             }
243 |         }
[9/10] Compiling TextFieldStepper TextFieldStepperImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:4:16: error: 'Image' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
   |                `- error: 'Image' is only available in macOS 10.15 or newer
 5 |     let color: Color
 6 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:5:16: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
 6 |
 7 |     public init(image: Image, color: Color = Color.accentColor) {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:7:24: error: 'Image' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
 6 |
 7 |     public init(image: Image, color: Color = Color.accentColor) {
   |            |           `- error: 'Image' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
 8 |         self.image = image
 9 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:7:38: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
 6 |
 7 |     public init(image: Image, color: Color = Color.accentColor) {
   |            |                         `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
 8 |         self.image = image
 9 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:7:46: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
 6 |
 7 |     public init(image: Image, color: Color = Color.accentColor) {
   |            |                                 `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
 8 |         self.image = image
 9 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:7:52: error: 'accentColor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
 6 |
 7 |     public init(image: Image, color: Color = Color.accentColor) {
   |            |                                       `- error: 'accentColor' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
 8 |         self.image = image
 9 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:12:44: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            |                               `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:12:52: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            |                                       `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:12:58: error: 'accentColor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            |                                             `- error: 'accentColor' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
17 |         image
18 |             .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:13:26: error: 'Image' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
   |                          |- error: 'Image' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
14 |     }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:13:26: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
10 |     }
11 |
12 |     public init(systemName: String, color: Color = Color.accentColor) {
   |            `- note: add '@available' attribute to enclosing initializer
13 |         self.init(image: Image(systemName: systemName), color: color)
   |                          |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                          `- note: add 'if #available' version check
14 |     }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:18:14: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
17 |         image
18 |             .resizable()
   |              |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
19 |             .aspectRatio(contentMode: .fit)
20 |             .frame(height: 35)
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:19:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
17 |         image
18 |             .resizable()
19 |             .aspectRatio(contentMode: .fit)
   |              |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
20 |             .frame(height: 35)
21 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/TextFieldStepperImage.swift:20:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct TextFieldStepperImage: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     let image: Image
 5 |     let color: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
17 |         image
18 |             .resizable()
19 |             .aspectRatio(contentMode: .fit)
20 |             .frame(height: 35)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
21 |     }
22 | }
[10/10] Compiling TextFieldStepper KeyboardGestures.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:12:48: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public 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
13 |         switch on {
14 |         case .Tap:
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:33:45: error: 'Gesture' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
31 |     }
32 |
33 |     private func swipeDownGesture() -> some Gesture {
   |                  |                          `- error: 'Gesture' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
34 |         DragGesture(minimumDistance: 0, coordinateSpace: .local).onEnded({ gesture in
35 |             // Hide keyboard on swipe down
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:15:21: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
13 |         switch on {
14 |         case .Tap:
15 |             content.onTapGesture {
   |                     |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
16 |                 closeKeyboard()
17 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:15:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
13 |         switch on {
14 |         case .Tap:
15 |             content.onTapGesture {
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
16 |                 closeKeyboard()
17 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:15:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
13 |         switch on {
14 |         case .Tap:
15 |             content.onTapGesture {
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
16 |                 closeKeyboard()
17 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:19:21: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
13 |         switch on {
14 |         case .Tap:
   :
17 |             }
18 |         case .Swipe:
19 |             content.gesture(swipeDownGesture())
   |                     |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
20 |         case .All:
21 |             content.onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:19:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
13 |         switch on {
14 |         case .Tap:
   :
17 |             }
18 |         case .Swipe:
19 |             content.gesture(swipeDownGesture())
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
20 |         case .All:
21 |             content.onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:19:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
13 |         switch on {
14 |         case .Tap:
   :
17 |             }
18 |         case .Swipe:
19 |             content.gesture(swipeDownGesture())
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
20 |         case .All:
21 |             content.onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:21:21: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
13 |         switch on {
14 |         case .Tap:
   :
19 |             content.gesture(swipeDownGesture())
20 |         case .All:
21 |             content.onTapGesture {
   |                     |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
22 |                 closeKeyboard()
23 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:25:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
13 |         switch on {
14 |         case .Tap:
   :
23 |
24 |             }
25 |             .gesture(swipeDownGesture())
   |              |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
26 |         }
27 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:21:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
13 |         switch on {
14 |         case .Tap:
   :
19 |             content.gesture(swipeDownGesture())
20 |         case .All:
21 |             content.onTapGesture {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
22 |                 closeKeyboard()
23 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:12:53: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
10 |     var on: Gestures = .All
11 |
12 |     public func body(content: Content) -> some View {
   |                 |                                   |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 |                                   `- note: add 'if #available' version check
   |                 `- note: add '@available' attribute to enclosing instance method
13 |         switch on {
14 |         case .Tap:
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:30:9: error: cannot find 'UIApplication' in scope
28 |
29 |     private func closeKeyboard() {
30 |         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |         `- error: cannot find 'UIApplication' in scope
31 |     }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:30:51: error: cannot find 'UIResponder' in scope
28 |
29 |     private func closeKeyboard() {
30 |         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                   `- error: cannot find 'UIResponder' in scope
31 |     }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:30:90: error: 'nil' requires a contextual type
28 |
29 |     private func closeKeyboard() {
30 |         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                          `- error: 'nil' requires a contextual type
31 |     }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:30:101: error: 'nil' requires a contextual type
28 |
29 |     private func closeKeyboard() {
30 |         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                                     `- error: 'nil' requires a contextual type
31 |     }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:30:111: error: 'nil' requires a contextual type
28 |
29 |     private func closeKeyboard() {
30 |         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                                               `- error: 'nil' requires a contextual type
31 |     }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:34:66: warning: conformance of '_EndedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
31 |     }
32 |
33 |     private func swipeDownGesture() -> some Gesture {
   |                  `- note: add '@available' attribute to enclosing instance method
34 |         DragGesture(minimumDistance: 0, coordinateSpace: .local).onEnded({ gesture in
   |                                                                  |- warning: conformance of '_EndedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                                  `- note: add 'if #available' version check
35 |             // Hide keyboard on swipe down
36 |             if gesture.translation.height > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:34:9: error: 'DragGesture' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
31 |     }
32 |
33 |     private func swipeDownGesture() -> some Gesture {
   |                  `- note: add '@available' attribute to enclosing instance method
34 |         DragGesture(minimumDistance: 0, coordinateSpace: .local).onEnded({ gesture in
   |         |- error: 'DragGesture' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
35 |             // Hide keyboard on swipe down
36 |             if gesture.translation.height > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:34:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
31 |     }
32 |
33 |     private func swipeDownGesture() -> some Gesture {
   |                  `- note: add '@available' attribute to enclosing instance method
34 |         DragGesture(minimumDistance: 0, coordinateSpace: .local).onEnded({ gesture in
   |         |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
35 |             // Hide keyboard on swipe down
36 |             if gesture.translation.height > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/TextFieldStepper/Keyboard/KeyboardGestures.swift:34:66: error: 'onEnded' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CloseKeyboard: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     public enum Gestures {
 5 |         case Tap,
   :
31 |     }
32 |
33 |     private func swipeDownGesture() -> some Gesture {
   |                  `- note: add '@available' attribute to enclosing instance method
34 |         DragGesture(minimumDistance: 0, coordinateSpace: .local).onEnded({ gesture in
   |                                                                  |- error: 'onEnded' is only available in macOS 10.15 or newer
   |                                                                  `- note: add 'if #available' version check
35 |             // Hide keyboard on swipe down
36 |             if gesture.translation.height > 0 {
BUILD FAILURE 6.3 macosSpm