This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CircularSlider with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/terlan98/CircularSlider.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/terlan98/CircularSlider
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 001b763 Merge pull request #5 from terlan98/feature/on-value-selection-callback
Cloned https://github.com/terlan98/CircularSlider.git
Revision (git rev-parse @):
001b76303fce5cd21764fae334720ff69a91392f
SUCCESS checkout https://github.com/terlan98/CircularSlider.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/terlan98/CircularSlider.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module CircularSlider
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 15 |
 16 |     /// The minumum value that can be set
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:26:20: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 24 |
 25 |     /// The color of the knob
 26 |     var knobColor: Color = .white
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 27 |
 28 |     /// The radius of the whole slider
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:26:29: error: 'white' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 24 |
 25 |     /// The color of the knob
 26 |     var knobColor: Color = .white
    |                             `- error: 'white' is only available in macOS 10.15 or newer
 27 |
 28 |     /// The radius of the whole slider
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:32:28: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 30 |
 31 |     /// The color of the line that is drawn as the knob moves
 32 |     var progressLineColor: Color = .green
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 33 |
 34 |     /// The color of the track on which the knob moves
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:32:37: error: 'green' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 30 |
 31 |     /// The color of the line that is drawn as the knob moves
 32 |     var progressLineColor: Color = .green
    |                                     `- error: 'green' is only available in macOS 10.15 or newer
 33 |
 34 |     /// The color of the track on which the knob moves
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:35:21: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 33 |
 34 |     /// The color of the track on which the knob moves
 35 |     var trackColor: Color = .gray.opacity(0.2)
    |                     `- error: 'Color' is only available in macOS 10.15 or newer
 36 |
 37 |     /// The line width used for the progress line (the line that is drawn upon drag)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:35:30: error: 'gray' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 33 |
 34 |     /// The color of the track on which the knob moves
 35 |     var trackColor: Color = .gray.opacity(0.2)
    |                              `- error: 'gray' is only available in macOS 10.15 or newer
 36 |
 37 |     /// The line width used for the progress line (the line that is drawn upon drag)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:35:35: error: 'opacity' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 33 |
 34 |     /// The color of the track on which the knob moves
 35 |     var trackColor: Color = .gray.opacity(0.2)
    |                                   `- error: 'opacity' is only available in macOS 10.15 or newer
 36 |
 37 |     /// The line width used for the progress line (the line that is drawn upon drag)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:41:15: error: 'Font' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 39 |
 40 |     /// The font used for showing the current value
 41 |     var font: Font = .system(size: 30)
    |               `- error: 'Font' is only available in macOS 10.15 or newer
 42 |
 43 |     /// The color of the text shown in the middle
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:41:23: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 39 |
 40 |     /// The font used for showing the current value
 41 |     var font: Font = .system(size: 30)
    |                       `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 42 |
 43 |     /// The color of the text shown in the middle
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:44:20: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 42 |
 43 |     /// The color of the text shown in the middle
 44 |     var textColor: Color = .primary
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 45 |
 46 |     /// The background color of the slider
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:44:29: error: 'primary' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 42 |
 43 |     /// The color of the text shown in the middle
 44 |     var textColor: Color = .primary
    |                             `- error: 'primary' is only available in macOS 10.15 or newer
 45 |
 46 |     /// The background color of the slider
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:47:26: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 45 |
 46 |     /// The background color of the slider
 47 |     var backgroundColor: Color = .clear
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 48 |
 49 |     /// The radius of the background
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:47:35: error: 'clear' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 45 |
 46 |     /// The background color of the slider
 47 |     var backgroundColor: Color = .clear
    |                                   `- error: 'clear' is only available in macOS 10.15 or newer
 48 |
 49 |     /// The radius of the background
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:65:6: error: 'State' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 63 |
 64 |     /// The angle of the circle that should be filled
 65 |     @State private var angle: Double = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 66 |
 67 |     public init(currentValue: Binding<Double>,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:67:31: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            |                  `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:71:28: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
 70 |                 knobRadius: Double = 11,
 71 |                 knobColor: Color = .white,
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:73:36: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 71 |                 knobColor: Color = .white,
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
    |                                    `- error: 'Color' is only available in macOS 10.15 or newer
 74 |                 trackColor: Color = .gray.opacity(0.2),
 75 |                 lineWidth: Double = 5,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:74:29: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
 74 |                 trackColor: Color = .gray.opacity(0.2),
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:76:23: error: 'Font' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 74 |                 trackColor: Color = .gray.opacity(0.2),
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
    |                       `- error: 'Font' is only available in macOS 10.15 or newer
 77 |                 textColor: Color = .primary,
 78 |                 backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:77:28: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
 77 |                 textColor: Color = .primary,
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 78 |                 backgroundColor: Color = .clear,
 79 |                 backgroundRadius: Double = 100,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:78:34: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 76 |                 font: Font = .system(size: 30),
 77 |                 textColor: Color = .primary,
 78 |                 backgroundColor: Color = .clear,
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 79 |                 backgroundRadius: Double = 100,
 80 |                 showsCurrentValueAsText: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:71:37: error: 'white' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
 70 |                 knobRadius: Double = 11,
 71 |                 knobColor: Color = .white,
    |                                     `- error: 'white' is only available in macOS 10.15 or newer
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:73:45: error: 'green' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 71 |                 knobColor: Color = .white,
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
    |                                             `- error: 'green' is only available in macOS 10.15 or newer
 74 |                 trackColor: Color = .gray.opacity(0.2),
 75 |                 lineWidth: Double = 5,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:74:38: error: 'gray' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
 74 |                 trackColor: Color = .gray.opacity(0.2),
    |                                      `- error: 'gray' is only available in macOS 10.15 or newer
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:74:43: error: 'opacity' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
 74 |                 trackColor: Color = .gray.opacity(0.2),
    |                                           `- error: 'opacity' is only available in macOS 10.15 or newer
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:76:31: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 74 |                 trackColor: Color = .gray.opacity(0.2),
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
    |                               `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 77 |                 textColor: Color = .primary,
 78 |                 backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:77:37: error: 'primary' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
 77 |                 textColor: Color = .primary,
    |                                     `- error: 'primary' is only available in macOS 10.15 or newer
 78 |                 backgroundColor: Color = .clear,
 79 |                 backgroundRadius: Double = 100,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:78:43: error: 'clear' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 76 |                 font: Font = .system(size: 30),
 77 |                 textColor: Color = .primary,
 78 |                 backgroundColor: Color = .clear,
    |                                           `- error: 'clear' is only available in macOS 10.15 or newer
 79 |                 backgroundRadius: Double = 100,
 80 |                 showsCurrentValueAsText: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:103:27: error: 'View' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
[4/4] Compiling CircularSlider CircularSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 15 |
 16 |     /// The minumum value that can be set
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:26:20: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 24 |
 25 |     /// The color of the knob
 26 |     var knobColor: Color = .white
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 27 |
 28 |     /// The radius of the whole slider
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:26:29: error: 'white' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 24 |
 25 |     /// The color of the knob
 26 |     var knobColor: Color = .white
    |                             `- error: 'white' is only available in macOS 10.15 or newer
 27 |
 28 |     /// The radius of the whole slider
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:32:28: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 30 |
 31 |     /// The color of the line that is drawn as the knob moves
 32 |     var progressLineColor: Color = .green
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 33 |
 34 |     /// The color of the track on which the knob moves
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:32:37: error: 'green' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 30 |
 31 |     /// The color of the line that is drawn as the knob moves
 32 |     var progressLineColor: Color = .green
    |                                     `- error: 'green' is only available in macOS 10.15 or newer
 33 |
 34 |     /// The color of the track on which the knob moves
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:35:21: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 33 |
 34 |     /// The color of the track on which the knob moves
 35 |     var trackColor: Color = .gray.opacity(0.2)
    |                     `- error: 'Color' is only available in macOS 10.15 or newer
 36 |
 37 |     /// The line width used for the progress line (the line that is drawn upon drag)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:35:30: error: 'gray' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 33 |
 34 |     /// The color of the track on which the knob moves
 35 |     var trackColor: Color = .gray.opacity(0.2)
    |                              `- error: 'gray' is only available in macOS 10.15 or newer
 36 |
 37 |     /// The line width used for the progress line (the line that is drawn upon drag)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:35:35: error: 'opacity' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 33 |
 34 |     /// The color of the track on which the knob moves
 35 |     var trackColor: Color = .gray.opacity(0.2)
    |                                   `- error: 'opacity' is only available in macOS 10.15 or newer
 36 |
 37 |     /// The line width used for the progress line (the line that is drawn upon drag)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:41:15: error: 'Font' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 39 |
 40 |     /// The font used for showing the current value
 41 |     var font: Font = .system(size: 30)
    |               `- error: 'Font' is only available in macOS 10.15 or newer
 42 |
 43 |     /// The color of the text shown in the middle
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:41:23: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 39 |
 40 |     /// The font used for showing the current value
 41 |     var font: Font = .system(size: 30)
    |                       `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 42 |
 43 |     /// The color of the text shown in the middle
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:44:20: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 42 |
 43 |     /// The color of the text shown in the middle
 44 |     var textColor: Color = .primary
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 45 |
 46 |     /// The background color of the slider
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:44:29: error: 'primary' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 42 |
 43 |     /// The color of the text shown in the middle
 44 |     var textColor: Color = .primary
    |                             `- error: 'primary' is only available in macOS 10.15 or newer
 45 |
 46 |     /// The background color of the slider
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:47:26: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 45 |
 46 |     /// The background color of the slider
 47 |     var backgroundColor: Color = .clear
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 48 |
 49 |     /// The radius of the background
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:47:35: error: 'clear' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 45 |
 46 |     /// The background color of the slider
 47 |     var backgroundColor: Color = .clear
    |                                   `- error: 'clear' is only available in macOS 10.15 or newer
 48 |
 49 |     /// The radius of the background
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:65:6: error: 'State' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 63 |
 64 |     /// The angle of the circle that should be filled
 65 |     @State private var angle: Double = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 66 |
 67 |     public init(currentValue: Binding<Double>,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:67:31: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            |                  `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:71:28: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
 70 |                 knobRadius: Double = 11,
 71 |                 knobColor: Color = .white,
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:73:36: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 71 |                 knobColor: Color = .white,
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
    |                                    `- error: 'Color' is only available in macOS 10.15 or newer
 74 |                 trackColor: Color = .gray.opacity(0.2),
 75 |                 lineWidth: Double = 5,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:74:29: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
 74 |                 trackColor: Color = .gray.opacity(0.2),
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:76:23: error: 'Font' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 74 |                 trackColor: Color = .gray.opacity(0.2),
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
    |                       `- error: 'Font' is only available in macOS 10.15 or newer
 77 |                 textColor: Color = .primary,
 78 |                 backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:77:28: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
 77 |                 textColor: Color = .primary,
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 78 |                 backgroundColor: Color = .clear,
 79 |                 backgroundRadius: Double = 100,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:78:34: error: 'Color' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 76 |                 font: Font = .system(size: 30),
 77 |                 textColor: Color = .primary,
 78 |                 backgroundColor: Color = .clear,
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 79 |                 backgroundRadius: Double = 100,
 80 |                 showsCurrentValueAsText: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:71:37: error: 'white' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
 70 |                 knobRadius: Double = 11,
 71 |                 knobColor: Color = .white,
    |                                     `- error: 'white' is only available in macOS 10.15 or newer
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:73:45: error: 'green' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 71 |                 knobColor: Color = .white,
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
    |                                             `- error: 'green' is only available in macOS 10.15 or newer
 74 |                 trackColor: Color = .gray.opacity(0.2),
 75 |                 lineWidth: Double = 5,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:74:38: error: 'gray' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
 74 |                 trackColor: Color = .gray.opacity(0.2),
    |                                      `- error: 'gray' is only available in macOS 10.15 or newer
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:74:43: error: 'opacity' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 72 |                 radius: Double = 80,
 73 |                 progressLineColor: Color = .green,
 74 |                 trackColor: Color = .gray.opacity(0.2),
    |                                           `- error: 'opacity' is only available in macOS 10.15 or newer
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:76:31: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 74 |                 trackColor: Color = .gray.opacity(0.2),
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
    |                               `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 77 |                 textColor: Color = .primary,
 78 |                 backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:77:37: error: 'primary' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 75 |                 lineWidth: Double = 5,
 76 |                 font: Font = .system(size: 30),
 77 |                 textColor: Color = .primary,
    |                                     `- error: 'primary' is only available in macOS 10.15 or newer
 78 |                 backgroundColor: Color = .clear,
 79 |                 backgroundRadius: Double = 100,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:78:43: error: 'clear' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
 65 |     @State private var angle: Double = 0
 66 |
 67 |     public init(currentValue: Binding<Double>,
    |            `- note: add @available attribute to enclosing initializer
 68 |                 minValue: Double = 0,
 69 |                 maxValue: Double = 100,
    :
 76 |                 font: Font = .system(size: 30),
 77 |                 textColor: Color = .primary,
 78 |                 backgroundColor: Color = .clear,
    |                                           `- error: 'clear' is only available in macOS 10.15 or newer
 79 |                 backgroundRadius: Double = 100,
 80 |                 showsCurrentValueAsText: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:103:27: error: 'View' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:104:9: error: 'ZStack' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
105 |             Circle() // background
106 |                 .foregroundColor(backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:104:16: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
    |                |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
105 |             Circle() // background
106 |                 .foregroundColor(backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:104:16: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
    |                |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
105 |             Circle() // background
106 |                 .foregroundColor(backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:104:16: warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
    |                |- warning: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
105 |             Circle() // background
106 |                 .foregroundColor(backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:105:13: error: 'Circle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
106 |                 .foregroundColor(backgroundColor)
107 |                 .frame(width: backgroundRadius * 2, height: backgroundRadius * 2)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:106:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
106 |                 .foregroundColor(backgroundColor)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
107 |                 .frame(width: backgroundRadius * 2, height: backgroundRadius * 2)
108 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:107:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
106 |                 .foregroundColor(backgroundColor)
107 |                 .frame(width: backgroundRadius * 2, height: backgroundRadius * 2)
    |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
108 |
109 |             Circle() // track line (static, remains in the background)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:109:13: error: 'Circle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
107 |                 .frame(width: backgroundRadius * 2, height: backgroundRadius * 2)
108 |
109 |             Circle() // track line (static, remains in the background)
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
110 |                 .stroke(trackColor,
111 |                         style: StrokeStyle(lineWidth: lineWidth * 1.3, lineCap: .butt))
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:110:18: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
108 |
109 |             Circle() // track line (static, remains in the background)
110 |                 .stroke(trackColor,
    |                  |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
    |                  `- note: add 'if #available' version check
111 |                         style: StrokeStyle(lineWidth: lineWidth * 1.3, lineCap: .butt))
112 |                 .frame(width: radius * 2, height: radius * 2)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:111:32: error: 'StrokeStyle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
109 |             Circle() // track line (static, remains in the background)
110 |                 .stroke(trackColor,
111 |                         style: StrokeStyle(lineWidth: lineWidth * 1.3, lineCap: .butt))
    |                                |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
112 |                 .frame(width: radius * 2, height: radius * 2)
113 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:112:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
110 |                 .stroke(trackColor,
111 |                         style: StrokeStyle(lineWidth: lineWidth * 1.3, lineCap: .butt))
112 |                 .frame(width: radius * 2, height: radius * 2)
    |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
113 |
114 |             Circle() // progress line (dynamic, follows the knob)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:114:13: error: 'Circle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
112 |                 .frame(width: radius * 2, height: radius * 2)
113 |
114 |             Circle() // progress line (dynamic, follows the knob)
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
115 |                 .trim(from: 0.0, to: valueAsPercentage(value: currentValue))
116 |                 .stroke(style: StrokeStyle(lineWidth: lineWidth, lineCap: .round, lineJoin: .round))
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:115:18: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
113 |
114 |             Circle() // progress line (dynamic, follows the knob)
115 |                 .trim(from: 0.0, to: valueAsPercentage(value: currentValue))
    |                  |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
116 |                 .stroke(style: StrokeStyle(lineWidth: lineWidth, lineCap: .round, lineJoin: .round))
117 |                 .foregroundColor(progressLineColor)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:116:18: error: 'stroke(style:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
114 |             Circle() // progress line (dynamic, follows the knob)
115 |                 .trim(from: 0.0, to: valueAsPercentage(value: currentValue))
116 |                 .stroke(style: StrokeStyle(lineWidth: lineWidth, lineCap: .round, lineJoin: .round))
    |                  |- error: 'stroke(style:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
117 |                 .foregroundColor(progressLineColor)
118 |                 .frame(width: radius * 2, height: radius * 2)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:116:32: error: 'StrokeStyle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
114 |             Circle() // progress line (dynamic, follows the knob)
115 |                 .trim(from: 0.0, to: valueAsPercentage(value: currentValue))
116 |                 .stroke(style: StrokeStyle(lineWidth: lineWidth, lineCap: .round, lineJoin: .round))
    |                                |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
117 |                 .foregroundColor(progressLineColor)
118 |                 .frame(width: radius * 2, height: radius * 2)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:117:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
115 |                 .trim(from: 0.0, to: valueAsPercentage(value: currentValue))
116 |                 .stroke(style: StrokeStyle(lineWidth: lineWidth, lineCap: .round, lineJoin: .round))
117 |                 .foregroundColor(progressLineColor)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
118 |                 .frame(width: radius * 2, height: radius * 2)
119 |                 .rotationEffect(.degrees(-90))
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:118:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
116 |                 .stroke(style: StrokeStyle(lineWidth: lineWidth, lineCap: .round, lineJoin: .round))
117 |                 .foregroundColor(progressLineColor)
118 |                 .frame(width: radius * 2, height: radius * 2)
    |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
119 |                 .rotationEffect(.degrees(-90))
120 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:119:18: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
117 |                 .foregroundColor(progressLineColor)
118 |                 .frame(width: radius * 2, height: radius * 2)
119 |                 .rotationEffect(.degrees(-90))
    |                  |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
120 |
121 |             Circle() // knob
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:121:13: error: 'Circle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
119 |                 .rotationEffect(.degrees(-90))
120 |
121 |             Circle() // knob
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
122 |                 .fill(knobColor)
123 |                 .shadow(radius: 1)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:122:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
120 |
121 |             Circle() // knob
122 |                 .fill(knobColor)
    |                  |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                  `- note: add 'if #available' version check
123 |                 .shadow(radius: 1)
124 |                 .frame(width: knobRadius * 2.5, height: knobRadius * 2.5)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:123:18: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
121 |             Circle() // knob
122 |                 .fill(knobColor)
123 |                 .shadow(radius: 1)
    |                  |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
124 |                 .frame(width: knobRadius * 2.5, height: knobRadius * 2.5)
125 |                 .padding(10)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:124:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
122 |                 .fill(knobColor)
123 |                 .shadow(radius: 1)
124 |                 .frame(width: knobRadius * 2.5, height: knobRadius * 2.5)
    |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
125 |                 .padding(10)
126 |                 .offset(y: -radius)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:125:18: error: 'padding' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
123 |                 .shadow(radius: 1)
124 |                 .frame(width: knobRadius * 2.5, height: knobRadius * 2.5)
125 |                 .padding(10)
    |                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
126 |                 .offset(y: -radius)
127 |                 .rotationEffect(Angle.degrees(angle))
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:126:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
124 |                 .frame(width: knobRadius * 2.5, height: knobRadius * 2.5)
125 |                 .padding(10)
126 |                 .offset(y: -radius)
    |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
127 |                 .rotationEffect(Angle.degrees(angle))
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:127:18: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
125 |                 .padding(10)
126 |                 .offset(y: -radius)
127 |                 .rotationEffect(Angle.degrees(angle))
    |                  |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
128 |
129 |             Circle() // knob (invisible, larger, makes user interaction easier)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:127:33: error: 'Angle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
125 |                 .padding(10)
126 |                 .offset(y: -radius)
127 |                 .rotationEffect(Angle.degrees(angle))
    |                                 |- error: 'Angle' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
128 |
129 |             Circle() // knob (invisible, larger, makes user interaction easier)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:129:13: error: 'Circle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
127 |                 .rotationEffect(Angle.degrees(angle))
128 |
129 |             Circle() // knob (invisible, larger, makes user interaction easier)
    |             |- error: 'Circle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
130 |                 .fill(.blue.opacity(0.000001))
131 |                 .frame(width: knobRadius * 6, height: knobRadius * 6)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:130:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
128 |
129 |             Circle() // knob (invisible, larger, makes user interaction easier)
130 |                 .fill(.blue.opacity(0.000001))
    |                  |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                  `- note: add 'if #available' version check
131 |                 .frame(width: knobRadius * 6, height: knobRadius * 6)
132 |                 .padding(10)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:130:24: error: 'blue' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
128 |
129 |             Circle() // knob (invisible, larger, makes user interaction easier)
130 |                 .fill(.blue.opacity(0.000001))
    |                        |- error: 'blue' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
131 |                 .frame(width: knobRadius * 6, height: knobRadius * 6)
132 |                 .padding(10)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:130:29: error: 'opacity' is only available in macOS 12.0 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
128 |
129 |             Circle() // knob (invisible, larger, makes user interaction easier)
130 |                 .fill(.blue.opacity(0.000001))
    |                             |- error: 'opacity' is only available in macOS 12.0 or newer
    |                             `- note: add 'if #available' version check
131 |                 .frame(width: knobRadius * 6, height: knobRadius * 6)
132 |                 .padding(10)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:131:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
129 |             Circle() // knob (invisible, larger, makes user interaction easier)
130 |                 .fill(.blue.opacity(0.000001))
131 |                 .frame(width: knobRadius * 6, height: knobRadius * 6)
    |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
132 |                 .padding(10)
133 |                 .offset(y: -radius)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:132:18: error: 'padding' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
130 |                 .fill(.blue.opacity(0.000001))
131 |                 .frame(width: knobRadius * 6, height: knobRadius * 6)
132 |                 .padding(10)
    |                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
133 |                 .offset(y: -radius)
134 |                 .rotationEffect(Angle.degrees(angle))
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:133:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
131 |                 .frame(width: knobRadius * 6, height: knobRadius * 6)
132 |                 .padding(10)
133 |                 .offset(y: -radius)
    |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
134 |                 .rotationEffect(Angle.degrees(angle))
135 |                 .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:134:18: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
132 |                 .padding(10)
133 |                 .offset(y: -radius)
134 |                 .rotationEffect(Angle.degrees(angle))
    |                  |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
135 |                 .gesture(
136 |                     DragGesture(minimumDistance: 0.0)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:134:33: error: 'Angle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
132 |                 .padding(10)
133 |                 .offset(y: -radius)
134 |                 .rotationEffect(Angle.degrees(angle))
    |                                 |- error: 'Angle' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
135 |                 .gesture(
136 |                     DragGesture(minimumDistance: 0.0)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:135:18: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
133 |                 .offset(y: -radius)
134 |                 .rotationEffect(Angle.degrees(angle))
135 |                 .gesture(
    |                  |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
136 |                     DragGesture(minimumDistance: 0.0)
137 |                         .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:136:21: error: 'DragGesture' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
134 |                 .rotationEffect(Angle.degrees(angle))
135 |                 .gesture(
136 |                     DragGesture(minimumDistance: 0.0)
    |                     |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
137 |                         .onChanged { value in
138 |                             change(location: value.location)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:136:21: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
134 |                 .rotationEffect(Angle.degrees(angle))
135 |                 .gesture(
136 |                     DragGesture(minimumDistance: 0.0)
    |                     |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |                     `- note: add 'if #available' version check
137 |                         .onChanged { value in
138 |                             change(location: value.location)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:137:26: error: 'onChanged' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
135 |                 .gesture(
136 |                     DragGesture(minimumDistance: 0.0)
137 |                         .onChanged { value in
    |                          |- error: 'onChanged' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
138 |                             change(location: value.location)
139 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:140:26: error: 'onEnded' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
138 |                             change(location: value.location)
139 |                         }
140 |                         .onEnded { value in
    |                          |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
141 |                             onValueSelection?(currentValue)
142 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:146:17: error: 'Text' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
144 |
145 |             if showsCurrentValueAsText {
146 |                 Text("\(currentValuePrefix + String.init(format: "%.0f", currentValue) + (currentValueSuffix))")
    |                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
147 |                     .font(font)
148 |                     .minimumScaleFactor(0.01)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:147:22: error: 'font' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
145 |             if showsCurrentValueAsText {
146 |                 Text("\(currentValuePrefix + String.init(format: "%.0f", currentValue) + (currentValueSuffix))")
147 |                     .font(font)
    |                      |- error: 'font' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
148 |                     .minimumScaleFactor(0.01)
149 |                     .foregroundColor(textColor)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:148:22: error: 'minimumScaleFactor' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
146 |                 Text("\(currentValuePrefix + String.init(format: "%.0f", currentValue) + (currentValueSuffix))")
147 |                     .font(font)
148 |                     .minimumScaleFactor(0.01)
    |                      |- error: 'minimumScaleFactor' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
149 |                     .foregroundColor(textColor)
150 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:149:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
147 |                     .font(font)
148 |                     .minimumScaleFactor(0.01)
149 |                     .foregroundColor(textColor)
    |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
150 |             }
151 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:145:40: error: 'buildIf' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
143 |                 )
144 |
145 |             if showsCurrentValueAsText {
    |                                        |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
146 |                 Text("\(currentValuePrefix + String.init(format: "%.0f", currentValue) + (currentValueSuffix))")
147 |                     .font(font)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:150:13: error: 'buildIf' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
148 |                     .minimumScaleFactor(0.01)
149 |                     .foregroundColor(textColor)
150 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
151 |         }
152 |         .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:104:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
    |                |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
105 |             Circle() // background
106 |                 .foregroundColor(backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:152:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
150 |             }
151 |         }
152 |         .onAppear {
    |          |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
153 |             currentValue = currentValue < minValue ? minValue : currentValue
154 |             currentValue = currentValue > maxValue ? maxValue : currentValue
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:153:13: error: setter for 'currentValue' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
151 |         }
152 |         .onAppear {
153 |             currentValue = currentValue < minValue ? minValue : currentValue
    |             |- error: setter for 'currentValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
154 |             currentValue = currentValue > maxValue ? maxValue : currentValue
155 |             angle = valueToAngle(value: currentValue)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:154:13: error: setter for 'currentValue' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
152 |         .onAppear {
153 |             currentValue = currentValue < minValue ? minValue : currentValue
154 |             currentValue = currentValue > maxValue ? maxValue : currentValue
    |             |- error: setter for 'currentValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
155 |             angle = valueToAngle(value: currentValue)
156 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:155:13: error: setter for 'angle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
153 |             currentValue = currentValue < minValue ? minValue : currentValue
154 |             currentValue = currentValue > maxValue ? maxValue : currentValue
155 |             angle = valueToAngle(value: currentValue)
    |             |- error: setter for 'angle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
156 |         }
157 |         .onChange(of: currentValue) { newValue in // for supporting external changes
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:157:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
155 |             angle = valueToAngle(value: currentValue)
156 |         }
157 |         .onChange(of: currentValue) { newValue in // for supporting external changes
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
158 |             currentValue = newValue < minValue ? minValue : newValue
159 |             currentValue = newValue > maxValue ? maxValue : newValue
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:158:13: error: setter for 'currentValue' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
156 |         }
157 |         .onChange(of: currentValue) { newValue in // for supporting external changes
158 |             currentValue = newValue < minValue ? minValue : newValue
    |             |- error: setter for 'currentValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
159 |             currentValue = newValue > maxValue ? maxValue : newValue
160 |             angle = valueToAngle(value: newValue)
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:159:13: error: setter for 'currentValue' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
157 |         .onChange(of: currentValue) { newValue in // for supporting external changes
158 |             currentValue = newValue < minValue ? minValue : newValue
159 |             currentValue = newValue > maxValue ? maxValue : newValue
    |             |- error: setter for 'currentValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
160 |             angle = valueToAngle(value: newValue)
161 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:160:13: error: setter for 'angle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
101 |     }
102 |
103 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
104 |         ZStack {
105 |             Circle() // background
    :
158 |             currentValue = newValue < minValue ? minValue : newValue
159 |             currentValue = newValue > maxValue ? maxValue : newValue
160 |             angle = valueToAngle(value: newValue)
    |             |- error: setter for 'angle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
161 |         }
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:187:13: error: setter for 'currentValue' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
163 |
164 |     /// Updates the angle and the value of the slider
165 |     private func change(location: CGPoint) {
    |                  `- note: add @available attribute to enclosing instance method
166 |         // creating vector from location point
167 |         let vector = CGVector(dx: location.x, dy: location.y)
    :
185 |             && diff > diffThreshold {
186 |             // for smoothing 99% to 100% transition
187 |             currentValue = maxValue
    |             |- error: setter for 'currentValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
188 |         }
189 |         else if currentValueAsPercentage < 0.1
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:192:13: error: setter for 'currentValue' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
163 |
164 |     /// Updates the angle and the value of the slider
165 |     private func change(location: CGPoint) {
    |                  `- note: add @available attribute to enclosing instance method
166 |         // creating vector from location point
167 |         let vector = CGVector(dx: location.x, dy: location.y)
    :
190 |                     && diff > diffThreshold {
191 |             // for preventing direct transition to 100 from the right semicircle (ccw movement)
192 |             currentValue = minValue
    |             |- error: setter for 'currentValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
193 |         }
194 |         else { // default behavior
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:195:13: error: setter for 'currentValue' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
163 |
164 |     /// Updates the angle and the value of the slider
165 |     private func change(location: CGPoint) {
    |                  `- note: add @available attribute to enclosing instance method
166 |         // creating vector from location point
167 |         let vector = CGVector(dx: location.x, dy: location.y)
    :
193 |         }
194 |         else { // default behavior
195 |             currentValue = newValue
    |             |- error: setter for 'currentValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
196 |             angle = radiansToDegrees(fixedAngle)
197 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CircularSlider/CircularSlider.swift:196:13: error: setter for 'angle' is only available in macOS 10.15 or newer
 10 | // MARK: - CircularSlider
 11 | /// A view that can be interacted by dragging a knob over a circular path to select a value
 12 | public struct CircularSlider: View {
    |               `- note: add @available attribute to enclosing struct
 13 |     /// The current value of the slider
 14 |     @Binding var currentValue: Double
    :
163 |
164 |     /// Updates the angle and the value of the slider
165 |     private func change(location: CGPoint) {
    |                  `- note: add @available attribute to enclosing instance method
166 |         // creating vector from location point
167 |         let vector = CGVector(dx: location.x, dy: location.y)
    :
194 |         else { // default behavior
195 |             currentValue = newValue
196 |             angle = radiansToDegrees(fixedAngle)
    |             |- error: setter for 'angle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
197 |         }
198 |     }
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.