The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PlusMinusSlider, reference main (4e38d2), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 01:08:33 UTC.

Build Command

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

Build Log

 25 |     private let maxValue: Double
 26 |     private let maxValueColor: Color
    |                                `- error: 'Color' is only available in macOS 10.15 or newer
 27 |     private let maxValueFont: Font
 28 |     private let maxValueFontWeight: Font.Weight
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:27:31: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 25 |     private let maxValue: Double
 26 |     private let maxValueColor: Color
 27 |     private let maxValueFont: Font
    |                               `- error: 'Font' is only available in macOS 10.15 or newer
 28 |     private let maxValueFontWeight: Font.Weight
 29 |     private let minSFSymbolsString: String
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:28:37: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 26 |     private let maxValueColor: Color
 27 |     private let maxValueFont: Font
 28 |     private let maxValueFontWeight: Font.Weight
    |                                     `- error: 'Font' is only available in macOS 10.15 or newer
 29 |     private let minSFSymbolsString: String
 30 |     private let minValue: Double
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:31:32: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 29 |     private let minSFSymbolsString: String
 30 |     private let minValue: Double
 31 |     private let minValueColor: Color
    |                                `- error: 'Color' is only available in macOS 10.15 or newer
 32 |     private let minValueFont: Font
 33 |     private let minValueFontWeight: Font.Weight
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:32:31: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 30 |     private let minValue: Double
 31 |     private let minValueColor: Color
 32 |     private let minValueFont: Font
    |                               `- error: 'Font' is only available in macOS 10.15 or newer
 33 |     private let minValueFontWeight: Font.Weight
 34 |     private let sliderColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:33:37: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 31 |     private let minValueColor: Color
 32 |     private let minValueFont: Font
 33 |     private let minValueFontWeight: Font.Weight
    |                                     `- error: 'Font' is only available in macOS 10.15 or newer
 34 |     private let sliderColor: Color
 35 |     private let thumbColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:34:30: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 32 |     private let minValueFont: Font
 33 |     private let minValueFontWeight: Font.Weight
 34 |     private let sliderColor: Color
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 35 |     private let thumbColor: Color
 36 |     private let thumbDiameter: Double
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:35:29: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 33 |     private let minValueFontWeight: Font.Weight
 34 |     private let sliderColor: Color
 35 |     private let thumbColor: Color
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 36 |     private let thumbDiameter: Double
 37 |     private let thumbValueColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:37:34: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 35 |     private let thumbColor: Color
 36 |     private let thumbDiameter: Double
 37 |     private let thumbValueColor: Color
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 38 |     private let thumbValueFont: Font
 39 |     private let thumbValueFontWeight: Font.Weight
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:38:33: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 36 |     private let thumbDiameter: Double
 37 |     private let thumbValueColor: Color
 38 |     private let thumbValueFont: Font
    |                                 `- error: 'Font' is only available in macOS 10.15 or newer
 39 |     private let thumbValueFontWeight: Font.Weight
 40 |     private let thumbValueOffset: Double
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:39:39: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 37 |     private let thumbValueColor: Color
 38 |     private let thumbValueFont: Font
 39 |     private let thumbValueFontWeight: Font.Weight
    |                                       `- error: 'Font' is only available in macOS 10.15 or newer
 40 |     private let thumbValueOffset: Double
 41 |     private let valueColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:41:29: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 39 |     private let thumbValueFontWeight: Font.Weight
 40 |     private let thumbValueOffset: Double
 41 |     private let valueColor: Color
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 42 |
 43 |     private let animation: Animation = .linear(duration: 0.15)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:43:28: error: 'Animation' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 41 |     private let valueColor: Color
 42 |
 43 |     private let animation: Animation = .linear(duration: 0.15)
    |                            `- error: 'Animation' is only available in macOS 10.15 or newer
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:43:41: error: 'linear(duration:)' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 41 |     private let valueColor: Color
 42 |
 43 |     private let animation: Animation = .linear(duration: 0.15)
    |                                         `- error: 'linear(duration:)' is only available in macOS 10.15 or newer
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:45:128: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            |                                                                                                                   `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:45:36: error: cannot find 'UIScreen' in scope
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |                                    `- error: cannot find 'UIScreen' in scope
 46 |
 47 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:85:27: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 83 |     }
 84 |
 85 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 86 |
 87 |         let range: ClosedRange = minValue...maxValue
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:30: error: 'Binding' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                `- error: 'Binding' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:295: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                         `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:316: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                              `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:342: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                        `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:416: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                  `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:437: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                       `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:463: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                 `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:489: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:508: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:555: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:578: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:606: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:657: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:361:33: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
359 |
360 |     //set maximum value's color
361 |     func maxValueColor(_ color: Color) -> Self {
    |          |                      `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
362 |
363 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: color, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:368:31: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
366 |
367 |     //set maximum value's font
368 |     func maxValueFont(_ font: Font) -> Self {
    |          |                    `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
369 |
370 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: font, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:375:39: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
373 |
374 |     //set maximum value's font weight
375 |     func maxValueFontWeight(_ weight: Font.Weight) -> Self {
    |          |                            `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
376 |
377 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: weight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:396:33: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
394 |
395 |     //set minimum value's color
396 |     func minValueColor(_ color: Color) -> Self {
    |          |                      `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
397 |
398 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: color, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:403:31: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
401 |
402 |     //set minimum value's font
403 |     func minValueFont(_ font: Font) -> Self {
    |          |                    `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
404 |
405 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: font, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:410:39: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
408 |
409 |     //set minimu value's font weight
410 |     func minValueFontWeight(_ weight: Font.Weight) -> Self {
    |          |                            `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
411 |
412 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: weight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:417:31: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
415 |
416 |     //set slider's color. it is background color. not value color.
417 |     func sliderColor(_ color: Color) -> Self {
    |          |                    `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
418 |
419 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: color, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor:  self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:424:30: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
422 |
423 |     //set thumb's color
424 |     func thumbColor(_ color: Color) -> Self {
    |          |                   `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
425 |
426 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: minValueFontWeight, sliderColor: self.sliderColor, thumbColor: color, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:441:35: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
439 |
440 |     //set thumb's value color.
441 |     func thumbValueColor(_ color: Color) -> Self {
    |          |                        `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
442 |
443 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: color, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:448:33: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
446 |
447 |     //set thumb's value font
448 |     func thumbValueFont(_ font: Font) -> Self {
    |          |                      `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
449 |
450 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: font, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:455:41: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
453 |
454 |     //set thumb's value font weight
455 |     func thumbValueFontWeight(_ weight: Font.Weight) -> Self {
    |          |                              `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
456 |
457 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: weight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:469:30: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
467 |
468 |     //set value color. default color is blue. it is value.
469 |     func valueColor(_ color: Color) -> Self {
    |          |                   `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
470 |
471 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: color)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:475:73: error: 'Binding' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  |                                                      `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:475:109: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  |                                                                                          `- error: 'State' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:475:138: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  |                                                                                                                       `- error: 'State' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:475:170: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  |                                                                                                                                                       `- error: 'State' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:475:197: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  |                                                                                                                                                                                  `- error: 'State' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:576:30: error: 'Font' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                   `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:576:44: error: 'Font' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                 `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:576:64: error: 'Color' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                                     `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:576:116: error: 'Animation' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                                                                                         `- error: 'Animation' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:576:188: error: 'View' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                                                                                                                                                                 `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:590:30: error: 'Font' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                   `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:590:44: error: 'Font' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                 `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:590:64: error: 'Color' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                                     `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:590:151: error: 'View' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                                                                                                                            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:603:49: error: 'Color' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
601 |     }
602 |
603 |     func thumbParameter(diameter:Double, color: Color, position: Double) -> some View {
    |          |                                      `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
604 |
605 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:603:82: error: 'View' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
601 |     }
602 |
603 |     func thumbParameter(diameter:Double, color: Color, position: Double) -> some View {
    |          |                                                                       `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
604 |
605 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:574:11: error: 'View' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | |         `- error: 'View' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
[4/4] Compiling PlusMinusSlider PlusMinusSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:5:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
  6 |
  7 |     @State var thumbPosition: Double = 0
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
  6 |
  7 |     @State var thumbPosition: Double = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
  8 |     @State var leftBarPosition: Double = 0
  9 |     @State var zeroPosition: Double = 0
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
  6 |
  7 |     @State var thumbPosition: Double = 0
  8 |     @State var leftBarPosition: Double = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
  9 |     @State var zeroPosition: Double = 0
 10 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
  7 |     @State var thumbPosition: Double = 0
  8 |     @State var leftBarPosition: Double = 0
  9 |     @State var zeroPosition: Double = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 |     @State var valueWidth: Double = 0
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
  9 |     @State var zeroPosition: Double = 0
 10 |
 11 |     @State var valueWidth: Double = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 12 |
 13 |     @Binding var thumbValue: Double
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 11 |     @State var valueWidth: Double = 0
 12 |
 13 |     @Binding var thumbValue: Double
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 14 |
 15 |     private let barWidth: Double
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:26:32: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 24 |     private let maxSFSymbolsString: String
 25 |     private let maxValue: Double
 26 |     private let maxValueColor: Color
    |                                `- error: 'Color' is only available in macOS 10.15 or newer
 27 |     private let maxValueFont: Font
 28 |     private let maxValueFontWeight: Font.Weight
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:27:31: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 25 |     private let maxValue: Double
 26 |     private let maxValueColor: Color
 27 |     private let maxValueFont: Font
    |                               `- error: 'Font' is only available in macOS 10.15 or newer
 28 |     private let maxValueFontWeight: Font.Weight
 29 |     private let minSFSymbolsString: String
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:28:37: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 26 |     private let maxValueColor: Color
 27 |     private let maxValueFont: Font
 28 |     private let maxValueFontWeight: Font.Weight
    |                                     `- error: 'Font' is only available in macOS 10.15 or newer
 29 |     private let minSFSymbolsString: String
 30 |     private let minValue: Double
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:31:32: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 29 |     private let minSFSymbolsString: String
 30 |     private let minValue: Double
 31 |     private let minValueColor: Color
    |                                `- error: 'Color' is only available in macOS 10.15 or newer
 32 |     private let minValueFont: Font
 33 |     private let minValueFontWeight: Font.Weight
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:32:31: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 30 |     private let minValue: Double
 31 |     private let minValueColor: Color
 32 |     private let minValueFont: Font
    |                               `- error: 'Font' is only available in macOS 10.15 or newer
 33 |     private let minValueFontWeight: Font.Weight
 34 |     private let sliderColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:33:37: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 31 |     private let minValueColor: Color
 32 |     private let minValueFont: Font
 33 |     private let minValueFontWeight: Font.Weight
    |                                     `- error: 'Font' is only available in macOS 10.15 or newer
 34 |     private let sliderColor: Color
 35 |     private let thumbColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:34:30: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 32 |     private let minValueFont: Font
 33 |     private let minValueFontWeight: Font.Weight
 34 |     private let sliderColor: Color
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 35 |     private let thumbColor: Color
 36 |     private let thumbDiameter: Double
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:35:29: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 33 |     private let minValueFontWeight: Font.Weight
 34 |     private let sliderColor: Color
 35 |     private let thumbColor: Color
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 36 |     private let thumbDiameter: Double
 37 |     private let thumbValueColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:37:34: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 35 |     private let thumbColor: Color
 36 |     private let thumbDiameter: Double
 37 |     private let thumbValueColor: Color
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 38 |     private let thumbValueFont: Font
 39 |     private let thumbValueFontWeight: Font.Weight
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:38:33: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 36 |     private let thumbDiameter: Double
 37 |     private let thumbValueColor: Color
 38 |     private let thumbValueFont: Font
    |                                 `- error: 'Font' is only available in macOS 10.15 or newer
 39 |     private let thumbValueFontWeight: Font.Weight
 40 |     private let thumbValueOffset: Double
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:39:39: error: 'Font' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 37 |     private let thumbValueColor: Color
 38 |     private let thumbValueFont: Font
 39 |     private let thumbValueFontWeight: Font.Weight
    |                                       `- error: 'Font' is only available in macOS 10.15 or newer
 40 |     private let thumbValueOffset: Double
 41 |     private let valueColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:41:29: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 39 |     private let thumbValueFontWeight: Font.Weight
 40 |     private let thumbValueOffset: Double
 41 |     private let valueColor: Color
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 42 |
 43 |     private let animation: Animation = .linear(duration: 0.15)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:43:28: error: 'Animation' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 41 |     private let valueColor: Color
 42 |
 43 |     private let animation: Animation = .linear(duration: 0.15)
    |                            `- error: 'Animation' is only available in macOS 10.15 or newer
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:43:41: error: 'linear(duration:)' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 41 |     private let valueColor: Color
 42 |
 43 |     private let animation: Animation = .linear(duration: 0.15)
    |                                         `- error: 'linear(duration:)' is only available in macOS 10.15 or newer
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:45:128: error: 'Binding' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            |                                                                                                                   `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:45:36: error: cannot find 'UIScreen' in scope
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |                                    `- error: cannot find 'UIScreen' in scope
 46 |
 47 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:85:27: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 83 |     }
 84 |
 85 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 86 |
 87 |         let range: ClosedRange = minValue...maxValue
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:30: error: 'Binding' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                `- error: 'Binding' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:295: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                         `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:316: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                              `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:342: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                        `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:416: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                  `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:437: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                       `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:463: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                 `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:489: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:508: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:555: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:578: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:606: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                `- error: 'Font' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:221:657: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
221 |     private init(thumbValue: Binding<Double>, barWidth: Double, barHeight: Double, isHideLimitValue: Bool, isHideThumbValue: Bool, isIntValue: Bool, isSmoothDrag: Bool, isUnderValue: Bool, isVertical: Bool, limitValueOffset: Double, maxSFSymbolsString: String, maxValue: Double, maxValueColor: Color, maxValueFont: Font, maxValueFontWeight: Font.Weight, minSFSymbolsString: String, minValue: Double, minValueColor: Color, minValueFont: Font, minValueFontWeight: Font.Weight, sliderColor: Color, thumbColor: Color, thumbDiameter: Double, thumbValueColor: Color, thumbValueFont: Font, thumbValueFontWeight: Font.Weight, thumbValueOffset: Double, valueColor: Color) {
    |             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add '@available' attribute to enclosing initializer
222 |
223 |         self.barWidth = barWidth
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:361:33: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
359 |
360 |     //set maximum value's color
361 |     func maxValueColor(_ color: Color) -> Self {
    |          |                      `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
362 |
363 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: color, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:368:31: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
366 |
367 |     //set maximum value's font
368 |     func maxValueFont(_ font: Font) -> Self {
    |          |                    `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
369 |
370 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: font, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:375:39: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
373 |
374 |     //set maximum value's font weight
375 |     func maxValueFontWeight(_ weight: Font.Weight) -> Self {
    |          |                            `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
376 |
377 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: weight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:396:33: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
394 |
395 |     //set minimum value's color
396 |     func minValueColor(_ color: Color) -> Self {
    |          |                      `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
397 |
398 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: color, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:403:31: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
401 |
402 |     //set minimum value's font
403 |     func minValueFont(_ font: Font) -> Self {
    |          |                    `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
404 |
405 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: font, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:410:39: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
408 |
409 |     //set minimu value's font weight
410 |     func minValueFontWeight(_ weight: Font.Weight) -> Self {
    |          |                            `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
411 |
412 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: weight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:417:31: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
415 |
416 |     //set slider's color. it is background color. not value color.
417 |     func sliderColor(_ color: Color) -> Self {
    |          |                    `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
418 |
419 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: color, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor:  self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:424:30: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
422 |
423 |     //set thumb's color
424 |     func thumbColor(_ color: Color) -> Self {
    |          |                   `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
425 |
426 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: minValueFontWeight, sliderColor: self.sliderColor, thumbColor: color, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:441:35: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
439 |
440 |     //set thumb's value color.
441 |     func thumbValueColor(_ color: Color) -> Self {
    |          |                        `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
442 |
443 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: color, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:448:33: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
446 |
447 |     //set thumb's value font
448 |     func thumbValueFont(_ font: Font) -> Self {
    |          |                      `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
449 |
450 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: font, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:455:41: error: 'Font' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
453 |
454 |     //set thumb's value font weight
455 |     func thumbValueFontWeight(_ weight: Font.Weight) -> Self {
    |          |                              `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
456 |
457 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: weight, thumbValueOffset: self.thumbValueOffset, valueColor: self.valueColor)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:469:30: error: 'Color' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
467 |
468 |     //set value color. default color is blue. it is value.
469 |     func valueColor(_ color: Color) -> Self {
    |          |                   `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
470 |
471 |         PlusMinusSlider(thumbValue: self._thumbValue, barWidth: self.barWidth, barHeight: self.barHeight, isHideLimitValue: self.isHideLimitValue, isHideThumbValue: self.isHideThumbValue, isIntValue: self.isIntValue, isSmoothDrag: self.isSmoothDrag, isUnderValue: self.isUnderValue, isVertical: self.isVertical, limitValueOffset: self.limitValueOffset, maxSFSymbolsString: self.maxSFSymbolsString, maxValue: self.maxValue, maxValueColor: self.maxValueColor, maxValueFont: self.maxValueFont, maxValueFontWeight: self.maxValueFontWeight, minSFSymbolsString: self.minSFSymbolsString, minValue: self.minValue, minValueColor: self.minValueColor, minValueFont: self.minValueFont, minValueFontWeight: self.minValueFontWeight, sliderColor: self.sliderColor, thumbColor: self.thumbColor, thumbDiameter: self.thumbDiameter, thumbValueColor: self.thumbValueColor, thumbValueFont: self.thumbValueFont, thumbValueFontWeight: self.thumbValueFontWeight, thumbValueOffset: self.thumbValueOffset, valueColor: color)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:475:73: error: 'Binding' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  |                                                      `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:475:109: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  |                                                                                          `- error: 'State' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:475:138: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  |                                                                                                                       `- error: 'State' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:475:170: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  |                                                                                                                                                       `- error: 'State' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:475:197: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  |                                                                                                                                                                                  `- error: 'State' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:576:30: error: 'Font' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                   `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:576:44: error: 'Font' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                 `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:576:64: error: 'Color' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                                     `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:576:116: error: 'Animation' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                                                                                         `- error: 'Animation' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:576:188: error: 'View' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                                                                                                                                                                 `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:590:30: error: 'Font' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                   `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:590:44: error: 'Font' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                 `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:590:64: error: 'Color' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                                     `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:590:151: error: 'View' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          |                                                                                                                                            `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:603:49: error: 'Color' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
601 |     }
602 |
603 |     func thumbParameter(diameter:Double, color: Color, position: Double) -> some View {
    |          |                                      `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
604 |
605 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:603:82: error: 'View' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
601 |     }
602 |
603 |     func thumbParameter(diameter:Double, color: Color, position: Double) -> some View {
    |          |                                                                       `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
604 |
605 |         self
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:574:11: error: 'View' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | |         `- error: 'View' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:58:31: error: 'primary' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
    :
 56 |         self.maxSFSymbolsString = ""
 57 |         self.maxValue = maxValue
 58 |         self.maxValueColor = .primary
    |                               |- error: 'primary' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 59 |         self.maxValueFont = .body
 60 |         self.maxValueFontWeight = .regular
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:59:30: error: 'body' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
    :
 57 |         self.maxValue = maxValue
 58 |         self.maxValueColor = .primary
 59 |         self.maxValueFont = .body
    |                              |- error: 'body' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 60 |         self.maxValueFontWeight = .regular
 61 |         self.minSFSymbolsString = ""
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:63:31: error: 'primary' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
    :
 61 |         self.minSFSymbolsString = ""
 62 |         self.minValue = minValue
 63 |         self.minValueColor = .primary
    |                               |- error: 'primary' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 64 |         self.minValueFont = .body
 65 |         self.minValueFontWeight = .regular
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:64:30: error: 'body' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
    :
 62 |         self.minValue = minValue
 63 |         self.minValueColor = .primary
 64 |         self.minValueFont = .body
    |                              |- error: 'body' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 65 |         self.minValueFontWeight = .regular
 66 |         self.sliderColor = Color(.systemGray5)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:66:35: error: reference to member 'systemGray5' cannot be resolved without a contextual type
 64 |         self.minValueFont = .body
 65 |         self.minValueFontWeight = .regular
 66 |         self.sliderColor = Color(.systemGray5)
    |                                   `- error: reference to member 'systemGray5' cannot be resolved without a contextual type
 67 |         self.thumbColor = Color(.systemGray)
 68 |         self.thumbDiameter = 30
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:67:27: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
    :
 65 |         self.minValueFontWeight = .regular
 66 |         self.sliderColor = Color(.systemGray5)
 67 |         self.thumbColor = Color(.systemGray)
    |                           |- error: 'Color' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 68 |         self.thumbDiameter = 30
 69 |         self.thumbValueColor = .black
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:67:27: error: 'init(_:)' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
    :
 65 |         self.minValueFontWeight = .regular
 66 |         self.sliderColor = Color(.systemGray5)
 67 |         self.thumbColor = Color(.systemGray)
    |                           |- error: 'init(_:)' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 68 |         self.thumbDiameter = 30
 69 |         self.thumbValueColor = .black
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:69:33: error: 'black' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
    :
 67 |         self.thumbColor = Color(.systemGray)
 68 |         self.thumbDiameter = 30
 69 |         self.thumbValueColor = .black
    |                                 |- error: 'black' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 70 |         self.thumbValueFont = .body
 71 |         self.thumbValueFontWeight = .regular
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:70:32: error: 'body' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
    :
 68 |         self.thumbDiameter = 30
 69 |         self.thumbValueColor = .black
 70 |         self.thumbValueFont = .body
    |                                |- error: 'body' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 71 |         self.thumbValueFontWeight = .regular
 72 |         self.thumbValueOffset = 30
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:73:27: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
    :
 71 |         self.thumbValueFontWeight = .regular
 72 |         self.thumbValueOffset = 30
 73 |         self.valueColor = Color.blue
    |                           |- error: 'Color' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 74 |
 75 |         self._thumbValue = thumbValue
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:73:33: error: 'blue' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public struct PlusMinusSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  4 |
  5 |     @State var isTouchThumb: Bool = false
    :
 43 |     private let animation: Animation = .linear(duration: 0.15)
 44 |
 45 |     public init(barWidth: Double = UIScreen.main.bounds.width * 0.65, maxValue: Double = 5, minValue: Double = -5, thumbValue: Binding<Double>) {
    |            `- note: add '@available' attribute to enclosing initializer
 46 |
 47 |         self.barWidth = barWidth
    :
 71 |         self.thumbValueFontWeight = .regular
 72 |         self.thumbValueOffset = 30
 73 |         self.valueColor = Color.blue
    |                                 |- error: 'blue' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 74 |
 75 |         self._thumbValue = thumbValue
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:85:32: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 83 |     }
 84 |
 85 |     public var body: some View {
    |                                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 86 |
 87 |         let range: ClosedRange = minValue...maxValue
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:477:28: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    |                            |- error: 'State' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
478 |         let zeroPosition: State<Double>
479 |         let leftBarPosition: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:478:27: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
478 |         let zeroPosition: State<Double>
    |                           |- error: 'State' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
479 |         let leftBarPosition: State<Double>
480 |         let valueWidth: State<Double>
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:479:30: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
478 |         let zeroPosition: State<Double>
479 |         let leftBarPosition: State<Double>
    |                              |- error: 'State' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
480 |         let valueWidth: State<Double>
481 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:480:25: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
478 |         let zeroPosition: State<Double>
479 |         let leftBarPosition: State<Double>
480 |         let valueWidth: State<Double>
    |                         |- error: 'State' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
481 |
482 |         thumbPosition = State(initialValue: Double(barWidth / (max - min) * (thumbValue.wrappedValue - min)))
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:482:25: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
480 |         let valueWidth: State<Double>
481 |
482 |         thumbPosition = State(initialValue: Double(barWidth / (max - min) * (thumbValue.wrappedValue - min)))
    |                         |- error: 'State' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
483 |
484 |         if min <= 0 && max >= 0 && thumbValue.wrappedValue <= 0 {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:486:28: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
484 |         if min <= 0 && max >= 0 && thumbValue.wrappedValue <= 0 {
485 |
486 |             zeroPosition = State(initialValue: Double(barWidth / (max - min) * -min))
    |                            |- error: 'State' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
487 |             leftBarPosition = State(initialValue: Double(barWidth / (max - min) * (thumbValue.wrappedValue - min)))
488 |             valueWidth = State(initialValue: Double(fabs(barWidth / (max - min) * thumbValue.wrappedValue)))
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:487:31: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
485 |
486 |             zeroPosition = State(initialValue: Double(barWidth / (max - min) * -min))
487 |             leftBarPosition = State(initialValue: Double(barWidth / (max - min) * (thumbValue.wrappedValue - min)))
    |                               |- error: 'State' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
488 |             valueWidth = State(initialValue: Double(fabs(barWidth / (max - min) * thumbValue.wrappedValue)))
489 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:488:26: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
486 |             zeroPosition = State(initialValue: Double(barWidth / (max - min) * -min))
487 |             leftBarPosition = State(initialValue: Double(barWidth / (max - min) * (thumbValue.wrappedValue - min)))
488 |             valueWidth = State(initialValue: Double(fabs(barWidth / (max - min) * thumbValue.wrappedValue)))
    |                          |- error: 'State' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
489 |
490 |         } else if min <= 0 && max <= 0 && thumbValue.wrappedValue <= 0 {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:492:28: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
490 |         } else if min <= 0 && max <= 0 && thumbValue.wrappedValue <= 0 {
491 |
492 |             zeroPosition = State(initialValue: Double(barWidth))
    |                            |- error: 'State' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
493 |             leftBarPosition = State(initialValue: Double(barWidth / (max - min) * (thumbValue.wrappedValue - min)))
494 |             valueWidth = State(initialValue: Double(fabs(barWidth / (max - min) * (thumbValue.wrappedValue - max))))
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:493:31: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
491 |
492 |             zeroPosition = State(initialValue: Double(barWidth))
493 |             leftBarPosition = State(initialValue: Double(barWidth / (max - min) * (thumbValue.wrappedValue - min)))
    |                               |- error: 'State' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
494 |             valueWidth = State(initialValue: Double(fabs(barWidth / (max - min) * (thumbValue.wrappedValue - max))))
495 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:494:26: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
492 |             zeroPosition = State(initialValue: Double(barWidth))
493 |             leftBarPosition = State(initialValue: Double(barWidth / (max - min) * (thumbValue.wrappedValue - min)))
494 |             valueWidth = State(initialValue: Double(fabs(barWidth / (max - min) * (thumbValue.wrappedValue - max))))
    |                          |- error: 'State' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
495 |
496 |         } else if min <= 0 && max >= 0 && thumbValue.wrappedValue >= 0  {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:498:28: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
496 |         } else if min <= 0 && max >= 0 && thumbValue.wrappedValue >= 0  {
497 |
498 |             zeroPosition = State(initialValue: Double(barWidth / (max - min) * -min))
    |                            |- error: 'State' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
499 |             leftBarPosition = State(initialValue: Double(barWidth / (max - min) * -min))
500 |             valueWidth = State(initialValue: Double(fabs(barWidth / (max - min) * thumbValue.wrappedValue)))
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:499:31: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
497 |
498 |             zeroPosition = State(initialValue: Double(barWidth / (max - min) * -min))
499 |             leftBarPosition = State(initialValue: Double(barWidth / (max - min) * -min))
    |                               |- error: 'State' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
500 |             valueWidth = State(initialValue: Double(fabs(barWidth / (max - min) * thumbValue.wrappedValue)))
501 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:500:26: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
498 |             zeroPosition = State(initialValue: Double(barWidth / (max - min) * -min))
499 |             leftBarPosition = State(initialValue: Double(barWidth / (max - min) * -min))
500 |             valueWidth = State(initialValue: Double(fabs(barWidth / (max - min) * thumbValue.wrappedValue)))
    |                          |- error: 'State' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
501 |
502 |         } else if min >= 0 && max >= 0 && thumbValue.wrappedValue >= 0 {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:504:28: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
502 |         } else if min >= 0 && max >= 0 && thumbValue.wrappedValue >= 0 {
503 |
504 |             zeroPosition = State(initialValue: Double(0))
    |                            |- error: 'State' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
505 |             leftBarPosition = State(initialValue: Double(0))
506 |             valueWidth = State(initialValue: Double(barWidth / (max - min) * (thumbValue.wrappedValue - min)))
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:505:31: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
503 |
504 |             zeroPosition = State(initialValue: Double(0))
505 |             leftBarPosition = State(initialValue: Double(0))
    |                               |- error: 'State' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
506 |             valueWidth = State(initialValue: Double(barWidth / (max - min) * (thumbValue.wrappedValue - min)))
507 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:506:26: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
504 |             zeroPosition = State(initialValue: Double(0))
505 |             leftBarPosition = State(initialValue: Double(0))
506 |             valueWidth = State(initialValue: Double(barWidth / (max - min) * (thumbValue.wrappedValue - min)))
    |                          |- error: 'State' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
507 |
508 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:510:28: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
508 |         } else {
509 |
510 |             zeroPosition = State(initialValue: Double(0))
    |                            |- error: 'State' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
511 |             leftBarPosition = State(initialValue: Double(0))
512 |             valueWidth = State(initialValue: Double(0))
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:511:31: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
509 |
510 |             zeroPosition = State(initialValue: Double(0))
511 |             leftBarPosition = State(initialValue: Double(0))
    |                               |- error: 'State' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
512 |             valueWidth = State(initialValue: Double(0))
513 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:512:26: error: 'State' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
473 |     }
474 |
475 |     private func initialOperation(max: Double, min: Double, thumbValue: Binding<Double>) -> (thumbPosition: State<Double>, zeroPosition: State<Double>, leftBarPosition: State<Double>, valueWidth: State<Double>) {
    |                  `- note: add '@available' attribute to enclosing instance method
476 |
477 |         let thumbPosition: State<Double>
    :
510 |             zeroPosition = State(initialValue: Double(0))
511 |             leftBarPosition = State(initialValue: Double(0))
512 |             valueWidth = State(initialValue: Double(0))
    |                          |- error: 'State' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
513 |
514 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:527:17: error: setter for 'thumbPosition' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
518 |     }
519 |
520 |     func calculatePosition(x: CGFloat) {
    |          `- note: add '@available' attribute to enclosing instance method
521 |
522 |         if x > 0 && x < barWidth {
    :
525 |
526 |                 //calculate thumb's center position.
527 |                 thumbPosition = Double(x)
    |                 |- error: setter for 'thumbPosition' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
528 |
529 |                 //calculate thumb's value.
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:530:17: error: setter for 'thumbValue' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
518 |     }
519 |
520 |     func calculatePosition(x: CGFloat) {
    |          `- note: add '@available' attribute to enclosing instance method
521 |
522 |         if x > 0 && x < barWidth {
    :
528 |
529 |                 //calculate thumb's value.
530 |                 thumbValue = Double(thumbPosition / barWidth) * (maxValue - minValue) + minValue
    |                 |- error: setter for 'thumbValue' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
531 |
532 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:534:17: error: setter for 'thumbPosition' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
518 |     }
519 |
520 |     func calculatePosition(x: CGFloat) {
    |          `- note: add '@available' attribute to enclosing instance method
521 |
522 |         if x > 0 && x < barWidth {
    :
532 |             } else {
533 |
534 |                 thumbPosition = round(Double(x / barWidth * (maxValue - minValue))) * barWidth / (maxValue - minValue)
    |                 |- error: setter for 'thumbPosition' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
535 |
536 |                 thumbValue = round((Double(thumbPosition / barWidth)) * (maxValue - minValue)) + minValue
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:536:17: error: setter for 'thumbValue' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
518 |     }
519 |
520 |     func calculatePosition(x: CGFloat) {
    |          `- note: add '@available' attribute to enclosing instance method
521 |
522 |         if x > 0 && x < barWidth {
    :
534 |                 thumbPosition = round(Double(x / barWidth * (maxValue - minValue))) * barWidth / (maxValue - minValue)
535 |
536 |                 thumbValue = round((Double(thumbPosition / barWidth)) * (maxValue - minValue)) + minValue
    |                 |- error: setter for 'thumbValue' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
537 |
538 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:546:17: error: setter for 'valueWidth' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
518 |     }
519 |
520 |     func calculatePosition(x: CGFloat) {
    |          `- note: add '@available' attribute to enclosing instance method
521 |
522 |         if x > 0 && x < barWidth {
    :
544 |
545 |                 //blue capsule's width
546 |                 valueWidth = width
    |                 |- error: setter for 'valueWidth' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
547 |                 //leftBarPosition is center
548 |                 leftBarPosition = zeroPosition
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:548:17: error: setter for 'leftBarPosition' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
518 |     }
519 |
520 |     func calculatePosition(x: CGFloat) {
    |          `- note: add '@available' attribute to enclosing instance method
521 |
522 |         if x > 0 && x < barWidth {
    :
546 |                 valueWidth = width
547 |                 //leftBarPosition is center
548 |                 leftBarPosition = zeroPosition
    |                 |- error: setter for 'leftBarPosition' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
549 |
550 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:553:17: error: setter for 'valueWidth' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
518 |     }
519 |
520 |     func calculatePosition(x: CGFloat) {
    |          `- note: add '@available' attribute to enclosing instance method
521 |
522 |         if x > 0 && x < barWidth {
    :
551 |
552 |                 //width is minus value. at first make it absolute. and decide bar's left position.
553 |                 valueWidth = fabs(width)
    |                 |- error: setter for 'valueWidth' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
554 |                 leftBarPosition = barWidth / (maxValue - minValue) * (thumbValue - minValue)
555 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:554:17: error: setter for 'leftBarPosition' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
518 |     }
519 |
520 |     func calculatePosition(x: CGFloat) {
    |          `- note: add '@available' attribute to enclosing instance method
521 |
522 |         if x > 0 && x < barWidth {
    :
552 |                 //width is minus value. at first make it absolute. and decide bar's left position.
553 |                 valueWidth = fabs(width)
554 |                 leftBarPosition = barWidth / (maxValue - minValue) * (thumbValue - minValue)
    |                 |- error: setter for 'leftBarPosition' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
555 |
556 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:561:13: error: setter for 'thumbValue' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
518 |     }
519 |
520 |     func calculatePosition(x: CGFloat) {
    |          `- note: add '@available' attribute to enclosing instance method
521 |
522 |         if x > 0 && x < barWidth {
    :
559 |
560 |             //thumb over minValue, thumbValue is always minValue.
561 |             thumbValue = minValue
    |             |- error: setter for 'thumbValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
562 |
563 |         } else if x >= barWidth {
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:566:13: error: setter for 'thumbValue' is only available in macOS 10.15 or newer
216 | }
217 |
218 | public extension PlusMinusSlider {
    |        `- note: add '@available' attribute to enclosing extension
219 |
220 |     //initialize
    :
518 |     }
519 |
520 |     func calculatePosition(x: CGFloat) {
    |          `- note: add '@available' attribute to enclosing instance method
521 |
522 |         if x > 0 && x < barWidth {
    :
564 |
565 |             //thumb over maxValue, thumbValue is always maxValue.
566 |             thumbValue = maxValue
    |             |- error: setter for 'thumbValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
567 |
568 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:579:14: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
579 |             .rotationEffect(isVertical ? .degrees(-90) : .degrees(0))
    |              |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
580 |             .fixedSize(horizontal: true, vertical: false)
581 |             .font(font)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:580:14: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
579 |             .rotationEffect(isVertical ? .degrees(-90) : .degrees(0))
580 |             .fixedSize(horizontal: true, vertical: false)
    |              |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
581 |             .font(font)
582 |             .fontWeight(weight)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:581:14: error: 'font' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
579 |             .rotationEffect(isVertical ? .degrees(-90) : .degrees(0))
580 |             .fixedSize(horizontal: true, vertical: false)
581 |             .font(font)
    |              |- error: 'font' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
582 |             .fontWeight(weight)
583 |             .foregroundColor(color)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:582:14: error: 'fontWeight' is only available in macOS 13.0 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
    :
580 |             .fixedSize(horizontal: true, vertical: false)
581 |             .font(font)
582 |             .fontWeight(weight)
    |              |- error: 'fontWeight' is only available in macOS 13.0 or newer
    |              `- note: add 'if #available' version check
583 |             .foregroundColor(color)
584 |             .frame(width: 0, height: 0, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:583:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
    :
581 |             .font(font)
582 |             .fontWeight(weight)
583 |             .foregroundColor(color)
    |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
584 |             .frame(width: 0, height: 0, alignment: .center)
585 |             .offset(x: position, y: isUnderValue ? -offset : offset)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:584:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
    :
582 |             .fontWeight(weight)
583 |             .foregroundColor(color)
584 |             .frame(width: 0, height: 0, alignment: .center)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
585 |             .offset(x: position, y: isUnderValue ? -offset : offset)
586 |             .animation(animation, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:584:53: error: 'center' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
    :
582 |             .fontWeight(weight)
583 |             .foregroundColor(color)
584 |             .frame(width: 0, height: 0, alignment: .center)
    |                                                     |- error: 'center' is only available in macOS 10.15 or newer
    |                                                     `- note: add 'if #available' version check
585 |             .offset(x: position, y: isUnderValue ? -offset : offset)
586 |             .animation(animation, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:585:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
    :
583 |             .foregroundColor(color)
584 |             .frame(width: 0, height: 0, alignment: .center)
585 |             .offset(x: position, y: isUnderValue ? -offset : offset)
    |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
586 |             .animation(animation, value: value)
587 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:586:14: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
577 |
578 |         self
    :
584 |             .frame(width: 0, height: 0, alignment: .center)
585 |             .offset(x: position, y: isUnderValue ? -offset : offset)
586 |             .animation(animation, value: value)
    |              |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
587 |
588 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:593:14: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
593 |             .rotationEffect(isVertical ? .degrees(-90) : .degrees(0))
    |              |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
594 |             .fixedSize(horizontal: true, vertical: false)
595 |             .font(font)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:594:14: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
593 |             .rotationEffect(isVertical ? .degrees(-90) : .degrees(0))
594 |             .fixedSize(horizontal: true, vertical: false)
    |              |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
595 |             .font(font)
596 |             .fontWeight(weight)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:595:14: error: 'font' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
593 |             .rotationEffect(isVertical ? .degrees(-90) : .degrees(0))
594 |             .fixedSize(horizontal: true, vertical: false)
595 |             .font(font)
    |              |- error: 'font' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
596 |             .fontWeight(weight)
597 |             .foregroundColor(color)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:596:14: error: 'fontWeight' is only available in macOS 13.0 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
    :
594 |             .fixedSize(horizontal: true, vertical: false)
595 |             .font(font)
596 |             .fontWeight(weight)
    |              |- error: 'fontWeight' is only available in macOS 13.0 or newer
    |              `- note: add 'if #available' version check
597 |             .foregroundColor(color)
598 |             .frame(width: 0, height: 0, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:597:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
    :
595 |             .font(font)
596 |             .fontWeight(weight)
597 |             .foregroundColor(color)
    |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
598 |             .frame(width: 0, height: 0, alignment: .center)
599 |             .offset(x: position, y: isUnderValue ? -offset : offset)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:598:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
    :
596 |             .fontWeight(weight)
597 |             .foregroundColor(color)
598 |             .frame(width: 0, height: 0, alignment: .center)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
599 |             .offset(x: position, y: isUnderValue ? -offset : offset)
600 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:598:53: error: 'center' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
    :
596 |             .fontWeight(weight)
597 |             .foregroundColor(color)
598 |             .frame(width: 0, height: 0, alignment: .center)
    |                                                     |- error: 'center' is only available in macOS 10.15 or newer
    |                                                     `- note: add 'if #available' version check
599 |             .offset(x: position, y: isUnderValue ? -offset : offset)
600 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:599:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
588 |     }
589 |
590 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
591 |
592 |         self
    :
597 |             .foregroundColor(color)
598 |             .frame(width: 0, height: 0, alignment: .center)
599 |             .offset(x: position, y: isUnderValue ? -offset : offset)
    |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
600 |
601 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:606:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
601 |     }
602 |
603 |     func thumbParameter(diameter:Double, color: Color, position: Double) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
604 |
605 |         self
606 |             .frame(width: diameter, height: diameter)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
607 |             .foregroundColor(color)
608 |             .offset(x: -diameter / 2 + position)
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:607:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
601 |     }
602 |
603 |     func thumbParameter(diameter:Double, color: Color, position: Double) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
604 |
605 |         self
606 |             .frame(width: diameter, height: diameter)
607 |             .foregroundColor(color)
    |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
608 |             .offset(x: -diameter / 2 + position)
609 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusMinusSlider/PlusMinusSlider.swift:608:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
572 | }
573 |
574 | extension View {
    | `- note: add '@available' attribute to enclosing extension
575 |
576 |     func textParameter(font: Font, weight: Font.Weight, color: Color, position: Double, offset: Double, animation: Animation, value: Double, isUnderValue: Bool, isVertical: Bool) -> some View {
    :
601 |     }
602 |
603 |     func thumbParameter(diameter:Double, color: Color, position: Double) -> some View {
    |          `- note: add '@available' attribute to enclosing instance method
604 |
605 |         self
606 |             .frame(width: diameter, height: diameter)
607 |             .foregroundColor(color)
608 |             .offset(x: -diameter / 2 + position)
    |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
609 |
610 |     }
BUILD FAILURE 6.3 macosSpm