The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build BIKCharts, reference main (60e267), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 23:52:30 UTC.

Build Command

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

Build Log

 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
    :
 75 |                                            lineJoin: .round,
 76 |                                            dash: viewModel.dashOfLine))
 77 |                 .animateOnAppear(delay: 1) {
    |                  |- 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
 78 |                     animateLine.toggle()
 79 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:78:21: error: cannot pass as inout because setter for 'animateLine' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
    :
 76 |                                            dash: viewModel.dashOfLine))
 77 |                 .animateOnAppear(delay: 1) {
 78 |                     animateLine.toggle()
    |                     |- error: cannot pass as inout because setter for 'animateLine' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 79 |                 }
 80 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:70:52: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
    |                                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                    `- note: add 'if #available' version check
 71 |             getLinePath(shouldFill: false)
 72 |                 .trim(from: .zero, to: animateLine ? 1 : .zero)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:81:13: error: 'EmptyView' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
    :
 79 |                 }
 80 |         } else {
 81 |             EmptyView()
    |             |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 82 |         }
 83 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:80:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
    :
 78 |                     animateLine.toggle()
 79 |                 }
 80 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 81 |             EmptyView()
 82 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:68:48: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          |                                     |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |          |                                     `- note: add 'if #available' version check
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:12:55: error: 'Animation' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func animateOnAppear(using animation: Animation = Animation.easeInOut(duration: 1),
   |          |                                            `- error: 'Animation' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
13 |                          delay: Double = 0.3,
14 |                          _ action: @escaping () -> Void) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:12:65: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func animateOnAppear(using animation: Animation = Animation.easeInOut(duration: 1),
   |          |                                                      `- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
13 |                          delay: Double = 0.3,
14 |                          _ action: @escaping () -> Void) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:87:14: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 83 |     }
 84 |
 85 |     func getGradientOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 86 |         getLinePath(shouldFill: true)
 87 |             .fill((animateGradientLayer && viewModel.fillWithLinearGradient.isNotNil) ?
    |              |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |              `- note: add 'if #available' version check
 88 |                     viewModel.fillWithLinearGradient! :
 89 |                     LinearGradient(gradient: .init(colors: []), startPoint: .bottom, endPoint: .bottom))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:89:21: error: 'LinearGradient' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 83 |     }
 84 |
 85 |     func getGradientOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 86 |         getLinePath(shouldFill: true)
 87 |             .fill((animateGradientLayer && viewModel.fillWithLinearGradient.isNotNil) ?
 88 |                     viewModel.fillWithLinearGradient! :
 89 |                     LinearGradient(gradient: .init(colors: []), startPoint: .bottom, endPoint: .bottom))
    |                     |- error: 'LinearGradient' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 90 |             .opacity(animateGradientLayer ? 1 : 0)
 91 |             .animateOnAppear(delay: 1.5) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:90:14: error: 'opacity' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 83 |     }
 84 |
 85 |     func getGradientOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 86 |         getLinePath(shouldFill: true)
 87 |             .fill((animateGradientLayer && viewModel.fillWithLinearGradient.isNotNil) ?
 88 |                     viewModel.fillWithLinearGradient! :
 89 |                     LinearGradient(gradient: .init(colors: []), startPoint: .bottom, endPoint: .bottom))
 90 |             .opacity(animateGradientLayer ? 1 : 0)
    |              |- error: 'opacity' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 91 |             .animateOnAppear(delay: 1.5) {
 92 |                 animateGradientLayer.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:92:17: error: cannot pass as inout because setter for 'animateGradientLayer' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 83 |     }
 84 |
 85 |     func getGradientOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 86 |         getLinePath(shouldFill: true)
 87 |             .fill((animateGradientLayer && viewModel.fillWithLinearGradient.isNotNil) ?
    :
 90 |             .opacity(animateGradientLayer ? 1 : 0)
 91 |             .animateOnAppear(delay: 1.5) {
 92 |                 animateGradientLayer.toggle()
    |                 |- error: cannot pass as inout because setter for 'animateGradientLayer' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 93 |             }
 94 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:100:18: error: 'opacity' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
100 |                 .opacity(animatePoints ? 1 : 0)
    |                  |- error: 'opacity' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
101 |                 .animateOnAppear(delay: 0.5) {
102 |                     animatePoints.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:102:21: error: cannot pass as inout because setter for 'animatePoints' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
100 |                 .opacity(animatePoints ? 1 : 0)
101 |                 .animateOnAppear(delay: 0.5) {
102 |                     animatePoints.toggle()
    |                     |- error: cannot pass as inout because setter for 'animatePoints' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
103 |                 }
104 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:98:33: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
    |                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 99 |             getPointShape()
100 |                 .opacity(animatePoints ? 1 : 0)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:105:13: error: 'EmptyView' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
    :
103 |                 }
104 |         } else {
105 |             EmptyView()
    |             |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
106 |         }
107 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:104:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
    :
102 |                     animatePoints.toggle()
103 |                 }
104 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
105 |             EmptyView()
106 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:97:49: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          |                                      |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |          |                                      `- note: add 'if #available' version check
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:119:14: 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
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
113 |     }
114 |
115 |     func getPointShape() -> some View {
    |          `- note: add @available attribute to enclosing instance method
116 |         return LinePointShape(viewModel: .init(data: viewModel.data,
117 |                                                lineWidth: viewModel.lineWidth,
118 |                                                calculationStyle: viewModel.calculationStyle))
119 |             .stroke(viewModel.pointColor,
    |              |- 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
120 |                     style: StrokeStyle(lineWidth: viewModel.lineWidth,
121 |                                        lineJoin: .round))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:119:14: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
113 |     }
114 |
115 |     func getPointShape() -> some View {
    |          `- note: add @available attribute to enclosing instance method
116 |         return LinePointShape(viewModel: .init(data: viewModel.data,
117 |                                                lineWidth: viewModel.lineWidth,
118 |                                                calculationStyle: viewModel.calculationStyle))
119 |             .stroke(viewModel.pointColor,
    |              |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
    |              `- note: add 'if #available' version check
120 |                     style: StrokeStyle(lineWidth: viewModel.lineWidth,
121 |                                        lineJoin: .round))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:120:28: error: 'StrokeStyle' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
113 |     }
114 |
115 |     func getPointShape() -> some View {
    |          `- note: add @available attribute to enclosing instance method
116 |         return LinePointShape(viewModel: .init(data: viewModel.data,
117 |                                                lineWidth: viewModel.lineWidth,
118 |                                                calculationStyle: viewModel.calculationStyle))
119 |             .stroke(viewModel.pointColor,
120 |                     style: StrokeStyle(lineWidth: viewModel.lineWidth,
    |                            |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
121 |                                        lineJoin: .round))
122 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:126:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    |              |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
127 |                         .onChanged { dragGesture in
128 |                             guard proxy.height > dragGesture.location.y &&
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:126:22: error: 'DragGesture' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    |                      |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
127 |                         .onChanged { dragGesture in
128 |                             guard proxy.height > dragGesture.location.y &&
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:126:22: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    |                      |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
127 |                         .onChanged { dragGesture in
128 |                             guard proxy.height > dragGesture.location.y &&
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:127:26: error: 'onChanged' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
127 |                         .onChanged { dragGesture in
    |                          |- error: 'onChanged' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
128 |                             guard proxy.height > dragGesture.location.y &&
129 |                                     dragGesture.location.y > .zero &&
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:132:33: error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
130 |                                     proxy.width > dragGesture.location.x &&
131 |                                     dragGesture.location.x > .zero else {
132 |                                 showBadgeView = false
    |                                 |- error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
133 |                                 return
134 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:141:29: error: 'withAnimation' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
139 |                             let xDot = CGFloat(index) * (proxy.width / CGFloat(viewModel.data.count-1))
140 |                             var yDot = scalableHeight(for: viewModel.data[index], parentHeight: proxy.height)
141 |                             withAnimation {
    |                             |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
142 |                                 badgeViewDirection = yDot > proxy.height / 2 ? .bottom : .top
143 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:142:33: error: setter for 'badgeViewDirection' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
140 |                             var yDot = scalableHeight(for: viewModel.data[index], parentHeight: proxy.height)
141 |                             withAnimation {
142 |                                 badgeViewDirection = yDot > proxy.height / 2 ? .bottom : .top
    |                                 |- error: setter for 'badgeViewDirection' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
143 |                             }
144 |                             yDot += badgeViewDirection == .top ? Const.badgeViewSize.height : .zero
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:145:29: error: setter for 'badgeValue' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
143 |                             }
144 |                             yDot += badgeViewDirection == .top ? Const.badgeViewSize.height : .zero
145 |                             badgeValue = viewModel.data[index]
    |                             |- error: setter for 'badgeValue' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
146 |                             withAnimation {
147 |                                 badgeViewLocation = .init(x: xDot, y: yDot)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:146:29: error: 'withAnimation' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
144 |                             yDot += badgeViewDirection == .top ? Const.badgeViewSize.height : .zero
145 |                             badgeValue = viewModel.data[index]
146 |                             withAnimation {
    |                             |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
147 |                                 badgeViewLocation = .init(x: xDot, y: yDot)
148 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:147:33: error: setter for 'badgeViewLocation' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
145 |                             badgeValue = viewModel.data[index]
146 |                             withAnimation {
147 |                                 badgeViewLocation = .init(x: xDot, y: yDot)
    |                                 |- error: setter for 'badgeViewLocation' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
148 |                             }
149 |                             showBadgeView = viewModel.isBadgeViewEnabled
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:149:29: error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
147 |                                 badgeViewLocation = .init(x: xDot, y: yDot)
148 |                             }
149 |                             showBadgeView = viewModel.isBadgeViewEnabled
    |                             |- error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
150 |                             isBadgeAppeared = viewModel.isBadgeViewEnabled
151 |                             dragAction?(viewModel.data[index])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:150:29: error: setter for 'isBadgeAppeared' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
148 |                             }
149 |                             showBadgeView = viewModel.isBadgeViewEnabled
150 |                             isBadgeAppeared = viewModel.isBadgeViewEnabled
    |                             |- error: setter for 'isBadgeAppeared' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
151 |                             dragAction?(viewModel.data[index])
152 |                         }.onEnded( {dragGesture in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:152:27: error: 'onEnded' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
150 |                             isBadgeAppeared = viewModel.isBadgeViewEnabled
151 |                             dragAction?(viewModel.data[index])
152 |                         }.onEnded( {dragGesture in
    |                           |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
153 |                             showBadgeView = false
154 |                         }))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:153:29: error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
151 |                             dragAction?(viewModel.data[index])
152 |                         }.onEnded( {dragGesture in
153 |                             showBadgeView = false
    |                             |- error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
154 |                         }))
155 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:159:14: error: 'opacity' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
    |              |- error: 'opacity' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
160 |             .animation(.easeIn, value: showBadgeView)
161 |             .zIndex(999)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:160:14: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
160 |             .animation(.easeIn, value: showBadgeView)
    |              |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
161 |             .zIndex(999)
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:160:25: error: 'easeIn' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
160 |             .animation(.easeIn, value: showBadgeView)
    |                         |- error: 'easeIn' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
161 |             .zIndex(999)
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:161:14: error: 'zIndex' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
160 |             .animation(.easeIn, value: showBadgeView)
161 |             .zIndex(999)
    |              |- error: 'zIndex' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
163 |                    height: showBadgeView ? Const.badgeViewSize.height : .zero)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:162:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
160 |             .animation(.easeIn, value: showBadgeView)
161 |             .zIndex(999)
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
163 |                    height: showBadgeView ? Const.badgeViewSize.height : .zero)
164 |             .position(x: isBadgeAppeared ? badgeViewLocation.x : proxy.frame(in: .local).midX,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:164:14: error: 'position(x:y:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
    :
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
163 |                    height: showBadgeView ? Const.badgeViewSize.height : .zero)
164 |             .position(x: isBadgeAppeared ? badgeViewLocation.x : proxy.frame(in: .local).midX,
    |              |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
165 |                       y: isBadgeAppeared ? badgeViewLocation.y - Const.badgeViewSize.height/2 : proxy.frame(in: .local).midY)
166 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:164:72: error: 'frame(in:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
    :
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
163 |                    height: showBadgeView ? Const.badgeViewSize.height : .zero)
164 |             .position(x: isBadgeAppeared ? badgeViewLocation.x : proxy.frame(in: .local).midX,
    |                                                                        |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                                        `- note: add 'if #available' version check
165 |                       y: isBadgeAppeared ? badgeViewLocation.y - Const.badgeViewSize.height/2 : proxy.frame(in: .local).midY)
166 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:165:103: error: 'frame(in:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
    :
163 |                    height: showBadgeView ? Const.badgeViewSize.height : .zero)
164 |             .position(x: isBadgeAppeared ? badgeViewLocation.x : proxy.frame(in: .local).midX,
165 |                       y: isBadgeAppeared ? badgeViewLocation.y - Const.badgeViewSize.height/2 : proxy.frame(in: .local).midY)
    |                                                                                                       |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                                                                       `- note: add 'if #available' version check
166 |     }
167 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   |      `- error: 'Published' is only available in macOS 10.15 or newer
14 |     @Published public var showPoints: Bool
15 |     @Published public var lineWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
14 |     @Published public var showPoints: Bool
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published public var lineWidth: CGFloat
16 |     @Published public var lineColor : Color
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
14 |     @Published public var showPoints: Bool
15 |     @Published public var lineWidth: CGFloat
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |     @Published public var lineColor : Color
17 |     @Published public var data: [CGFloat]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:16:39: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
14 |     @Published public var showPoints: Bool
15 |     @Published public var lineWidth: CGFloat
16 |     @Published public var lineColor : Color
   |                                       `- error: 'Color' is only available in macOS 10.15 or newer
17 |     @Published public var data: [CGFloat]
18 |     @Published public var fillWithLinearGradient: LinearGradient?
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
14 |     @Published public var showPoints: Bool
15 |     @Published public var lineWidth: CGFloat
16 |     @Published public var lineColor : Color
   |      `- error: 'Published' is only available in macOS 10.15 or newer
17 |     @Published public var data: [CGFloat]
18 |     @Published public var fillWithLinearGradient: LinearGradient?
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:17:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
15 |     @Published public var lineWidth: CGFloat
16 |     @Published public var lineColor : Color
17 |     @Published public var data: [CGFloat]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
18 |     @Published public var fillWithLinearGradient: LinearGradient?
19 |     @Published public var showLineWhenFilled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:18:51: error: 'LinearGradient' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
16 |     @Published public var lineColor : Color
17 |     @Published public var data: [CGFloat]
18 |     @Published public var fillWithLinearGradient: LinearGradient?
   |                                                   `- error: 'LinearGradient' is only available in macOS 10.15 or newer
19 |     @Published public var showLineWhenFilled: Bool
20 |     @Published public var pointColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:18:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
16 |     @Published public var lineColor : Color
17 |     @Published public var data: [CGFloat]
18 |     @Published public var fillWithLinearGradient: LinearGradient?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
19 |     @Published public var showLineWhenFilled: Bool
20 |     @Published public var pointColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
17 |     @Published public var data: [CGFloat]
18 |     @Published public var fillWithLinearGradient: LinearGradient?
19 |     @Published public var showLineWhenFilled: Bool
   |      `- error: 'Published' is only available in macOS 10.15 or newer
20 |     @Published public var pointColor: Color
21 |     @Published public var dashOfLine: [CGFloat]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:20:39: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
18 |     @Published public var fillWithLinearGradient: LinearGradient?
19 |     @Published public var showLineWhenFilled: Bool
20 |     @Published public var pointColor: Color
   |                                       `- error: 'Color' is only available in macOS 10.15 or newer
21 |     @Published public var dashOfLine: [CGFloat]
22 |     @Published public var isBadgeViewEnabled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:20:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
18 |     @Published public var fillWithLinearGradient: LinearGradient?
19 |     @Published public var showLineWhenFilled: Bool
20 |     @Published public var pointColor: Color
   |      `- error: 'Published' is only available in macOS 10.15 or newer
21 |     @Published public var dashOfLine: [CGFloat]
22 |     @Published public var isBadgeViewEnabled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:21:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
19 |     @Published public var showLineWhenFilled: Bool
20 |     @Published public var pointColor: Color
21 |     @Published public var dashOfLine: [CGFloat]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
22 |     @Published public var isBadgeViewEnabled: Bool
23 |     @Published public var badgeViewModel: BadgeValueModel
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:22:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
20 |     @Published public var pointColor: Color
21 |     @Published public var dashOfLine: [CGFloat]
22 |     @Published public var isBadgeViewEnabled: Bool
   |      `- error: 'Published' is only available in macOS 10.15 or newer
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:23:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
21 |     @Published public var dashOfLine: [CGFloat]
22 |     @Published public var isBadgeViewEnabled: Bool
23 |     @Published public var badgeViewModel: BadgeValueModel
   |      `- error: 'Published' is only available in macOS 10.15 or newer
24 |
25 |     public init(data: [CGFloat],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:29:28: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
28 |                 showPoints: Bool,
29 |                 lineColor: Color,
   |                            `- error: 'Color' is only available in macOS 10.15 or newer
30 |                 pointColor: Color,
31 |                 fillWithLinearGradient: LinearGradient? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:30:29: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
28 |                 showPoints: Bool,
29 |                 lineColor: Color,
30 |                 pointColor: Color,
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
31 |                 fillWithLinearGradient: LinearGradient? = nil,
32 |                 showLineWhenFilled: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:31:41: error: 'LinearGradient' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
29 |                 lineColor: Color,
30 |                 pointColor: Color,
31 |                 fillWithLinearGradient: LinearGradient? = nil,
   |                                         `- error: 'LinearGradient' is only available in macOS 10.15 or newer
32 |                 showLineWhenFilled: Bool,
33 |                 dashOfLine: [CGFloat] = [],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BadgeValue/BadgeValueModel.swift:16:70: error: 'black' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct BadgeValueModel {
   |               `- note: add @available attribute to enclosing struct
11 |     let title: String
12 |     let showUnderline: Bool
   :
14 |     let foregroundColor: Color
15 |
16 |     public init(showUnderline: Bool = true, underlineColor: Color = .black, title: String = "Value", foregroundColor: Color = .red) {
   |            |                                                         `- error: 'black' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
17 |         self.showUnderline = showUnderline
18 |         self.underlineColor = underlineColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BadgeValue/BadgeValueModel.swift:16:128: error: 'red' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct BadgeValueModel {
   |               `- note: add @available attribute to enclosing struct
11 |     let title: String
12 |     let showUnderline: Bool
   :
14 |     let foregroundColor: Color
15 |
16 |     public init(showUnderline: Bool = true, underlineColor: Color = .black, title: String = "Value", foregroundColor: Color = .red) {
   |            |                                                                                                                   `- error: 'red' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
17 |         self.showUnderline = showUnderline
18 |         self.underlineColor = underlineColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:11:36: error: 'ObservableObject' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    |               `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, CalculationStyle>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, CalculationStyle>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, CGFloat>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, CGFloat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, Color>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, [CGFloat]>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, [CGFloat]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, LinearGradient?>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, LinearGradient?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, Color>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, [CGFloat]>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, [CGFloat]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, BadgeValueModel>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, BadgeValueModel>'
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:36:9: error: setter for 'data' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
34 |                 isBadgeViewEnabled: Bool = true,
35 |                 badgeViewModel: BadgeValueModel = BadgeValueModel()) {
36 |         self.data = data
   |         |- error: setter for 'data' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |         self.calculationStyle = calculationStyle
38 |         self.lineWidth = lineWidth
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:37:9: error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
35 |                 badgeViewModel: BadgeValueModel = BadgeValueModel()) {
36 |         self.data = data
37 |         self.calculationStyle = calculationStyle
   |         |- error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
38 |         self.lineWidth = lineWidth
39 |         self.showPoints = showPoints
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:38:9: error: setter for 'lineWidth' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
36 |         self.data = data
37 |         self.calculationStyle = calculationStyle
38 |         self.lineWidth = lineWidth
   |         |- error: setter for 'lineWidth' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
39 |         self.showPoints = showPoints
40 |         self.lineColor = lineColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:39:9: error: setter for 'showPoints' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
37 |         self.calculationStyle = calculationStyle
38 |         self.lineWidth = lineWidth
39 |         self.showPoints = showPoints
   |         |- error: setter for 'showPoints' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
40 |         self.lineColor = lineColor
41 |         self.fillWithLinearGradient = fillWithLinearGradient
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:40:9: error: setter for 'lineColor' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
38 |         self.lineWidth = lineWidth
39 |         self.showPoints = showPoints
40 |         self.lineColor = lineColor
   |         |- error: setter for 'lineColor' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
41 |         self.fillWithLinearGradient = fillWithLinearGradient
42 |         self.showLineWhenFilled = showLineWhenFilled
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:41:9: error: setter for 'fillWithLinearGradient' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
39 |         self.showPoints = showPoints
40 |         self.lineColor = lineColor
41 |         self.fillWithLinearGradient = fillWithLinearGradient
   |         |- error: setter for 'fillWithLinearGradient' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
42 |         self.showLineWhenFilled = showLineWhenFilled
43 |         self.pointColor = pointColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:42:9: error: setter for 'showLineWhenFilled' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
40 |         self.lineColor = lineColor
41 |         self.fillWithLinearGradient = fillWithLinearGradient
42 |         self.showLineWhenFilled = showLineWhenFilled
   |         |- error: setter for 'showLineWhenFilled' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
43 |         self.pointColor = pointColor
44 |         self.dashOfLine = dashOfLine
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:43:9: error: setter for 'pointColor' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
41 |         self.fillWithLinearGradient = fillWithLinearGradient
42 |         self.showLineWhenFilled = showLineWhenFilled
43 |         self.pointColor = pointColor
   |         |- error: setter for 'pointColor' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
44 |         self.dashOfLine = dashOfLine
45 |         self.isBadgeViewEnabled = isBadgeViewEnabled
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:44:9: error: setter for 'dashOfLine' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
42 |         self.showLineWhenFilled = showLineWhenFilled
43 |         self.pointColor = pointColor
44 |         self.dashOfLine = dashOfLine
   |         |- error: setter for 'dashOfLine' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
45 |         self.isBadgeViewEnabled = isBadgeViewEnabled
46 |         self.badgeViewModel = badgeViewModel
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:45:9: error: setter for 'isBadgeViewEnabled' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
43 |         self.pointColor = pointColor
44 |         self.dashOfLine = dashOfLine
45 |         self.isBadgeViewEnabled = isBadgeViewEnabled
   |         |- error: setter for 'isBadgeViewEnabled' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
46 |         self.badgeViewModel = badgeViewModel
47 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:46:9: error: setter for 'badgeViewModel' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
44 |         self.dashOfLine = dashOfLine
45 |         self.isBadgeViewEnabled = isBadgeViewEnabled
46 |         self.badgeViewModel = badgeViewModel
   |         |- error: setter for 'badgeViewModel' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |     }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift:23:35: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct LinePointShape: Shape {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Path
22 |
23 |     func path(in rect: CGRect) -> Path {
   |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
24 |         Path { path in
25 |             for (index, data) in viewModel.data.enumerated() {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift:15:17: warning: stored property 'viewModel' of 'Sendable'-conforming struct 'LinePointShape' has non-sendable type 'LinePointShapeModel'; this is an error in the Swift 6 language mode
13 |     // MARK: - Properties
14 |
15 |     private let viewModel: LinePointShapeModel
   |                 `- warning: stored property 'viewModel' of 'Sendable'-conforming struct 'LinePointShape' has non-sendable type 'LinePointShapeModel'; this is an error in the Swift 6 language mode
16 |
17 |     init(viewModel: LinePointShapeModel) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShapeModel.swift:11:8: note: consider making struct 'LinePointShapeModel' conform to the 'Sendable' protocol
 9 | import SwiftUI
10 |
11 | struct LinePointShapeModel {
   |        `- note: consider making struct 'LinePointShapeModel' conform to the 'Sendable' protocol
12 |     let data: [CGFloat]
13 |     let lineWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift:24:9: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct LinePointShape: Shape {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Path
22 |
23 |     func path(in rect: CGRect) -> Path {
   |          `- note: add @available attribute to enclosing instance method
24 |         Path { path in
   |         |- error: 'Path' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |             for (index, data) in viewModel.data.enumerated() {
26 |                 let xDot = CGFloat(index) * (rect.width / CGFloat(viewModel.data.count-1))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift:30:22: error: 'move(to:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct LinePointShape: Shape {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Path
22 |
23 |     func path(in rect: CGRect) -> Path {
   |          `- note: add @available attribute to enclosing instance method
24 |         Path { path in
25 |             for (index, data) in viewModel.data.enumerated() {
   :
28 |                 let point = CGPoint(x: xDot, y: yDot)
29 |
30 |                 path.move(to: point)
   |                      |- error: 'move(to:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
31 |                 path.addRoundedRect(in: .init(x: point.x - viewModel.lineWidth/2,
32 |                                               y: point.y - viewModel.lineWidth/2,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift:31:22: error: 'addRoundedRect(in:cornerSize:style:transform:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct LinePointShape: Shape {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Path
22 |
23 |     func path(in rect: CGRect) -> Path {
   |          `- note: add @available attribute to enclosing instance method
24 |         Path { path in
25 |             for (index, data) in viewModel.data.enumerated() {
   :
29 |
30 |                 path.move(to: point)
31 |                 path.addRoundedRect(in: .init(x: point.x - viewModel.lineWidth/2,
   |                      |- error: 'addRoundedRect(in:cornerSize:style:transform:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
32 |                                               y: point.y - viewModel.lineWidth/2,
33 |                                               width: viewModel.lineWidth,
[43/43] Compiling BIKCharts LinePointShapeModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:18:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 16 |     }
 17 |
 18 |     @ObservedObject private var viewModel: LineChartModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 19 |     @State private var animateLine: Bool = false
 20 |     @State private var animatePoints: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 17 |
 18 |     @ObservedObject private var viewModel: LineChartModel
 19 |     @State private var animateLine: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 20 |     @State private var animatePoints: Bool = false
 21 |     @State private var animateGradientLayer: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 18 |     @ObservedObject private var viewModel: LineChartModel
 19 |     @State private var animateLine: Bool = false
 20 |     @State private var animatePoints: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 21 |     @State private var animateGradientLayer: Bool = false
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 19 |     @State private var animateLine: Bool = false
 20 |     @State private var animatePoints: Bool = false
 21 |     @State private var animateGradientLayer: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 22 |
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 22 |
 23 |
 24 |     @State private var showBadgeView: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 25 |     @State private var badgeValue: CGFloat = .zero
 26 |     @State private var badgeViewLocation: CGPoint = .zero
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 23 |
 24 |     @State private var showBadgeView: Bool = false
 25 |     @State private var badgeValue: CGFloat = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 26 |     @State private var badgeViewLocation: CGPoint = .zero
 27 |     @State private var badgeViewDirection: BadgeViewDirection = .bottom
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:26:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 24 |     @State private var showBadgeView: Bool = false
 25 |     @State private var badgeValue: CGFloat = .zero
 26 |     @State private var badgeViewLocation: CGPoint = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 27 |     @State private var badgeViewDirection: BadgeViewDirection = .bottom
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:27:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 25 |     @State private var badgeValue: CGFloat = .zero
 26 |     @State private var badgeViewLocation: CGPoint = .zero
 27 |     @State private var badgeViewDirection: BadgeViewDirection = .bottom
    |      `- error: 'State' is only available in macOS 10.15 or newer
 28 |
 29 |     //isBadgeAppeared using for set first position of badgeValueView
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 28 |
 29 |     //isBadgeAppeared using for set first position of badgeValueView
 30 |     @State private var isBadgeAppeared: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 31 |
 32 |     private let dragAction: BarChart.DragGestureAction?
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:41:27: error: 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:68:43: error: 'View' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          |                                `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:67:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:85:47: error: 'View' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 83 |     }
 84 |
 85 |     func getGradientOverlayIfNeeded() -> some View {
    |          |                                    `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 86 |         getLinePath(shouldFill: true)
 87 |             .fill((animateGradientLayer && viewModel.fillWithLinearGradient.isNotNil) ?
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:97:44: error: 'View' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          |                                 `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 94 |     }
 95 |
 96 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:109:48: error: 'Shape' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
107 |     }
108 |
109 |     func getLinePath(shouldFill: Bool) -> some Shape {
    |          |                                     `- error: 'Shape' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
110 |         LineShape(viewModel: .init(data: viewModel.data,
111 |                                    shouldFill: shouldFill,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:115:34: error: 'View' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
113 |     }
114 |
115 |     func getPointShape() -> some View {
    |          |                       `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
116 |         return LinePointShape(viewModel: .init(data: viewModel.data,
117 |                                                lineWidth: viewModel.lineWidth,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:124:36: error: 'View' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          |                         `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:124:43: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          |                                `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:124:86: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          |                                                                           `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:124:109: error: 'View' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          |                                                                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:157:40: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          |                             `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:157:63: error: 'View' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          |                                                    `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:35:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 32 |     private let dragAction: BarChart.DragGestureAction?
 33 |
 34 |     public init(with viewModel: LineChartModel, dragAction: BarChart.DragGestureAction? = nil) {
    |            `- note: add @available attribute to enclosing initializer
 35 |         self.viewModel = viewModel
    |         |- error: setter for 'viewModel' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 36 |         self.dragAction = dragAction
 37 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:42:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
    |         |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 43 |             ZStack {
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:42:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
    |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 43 |             ZStack {
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:42:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
    |         |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 43 |             ZStack {
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:42:24: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
    |                        |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 43 |             ZStack {
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:42:24: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
    |                        |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 43 |             ZStack {
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:43:13: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
    |             |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
 45 |                     getDraggableView(content: {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:43:13: error: 'ZStack' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
 45 |                     getDraggableView(content: {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:43:13: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
    |             |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
 45 |                     getDraggableView(content: {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:47:30: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
    :
 45 |                     getDraggableView(content: {
 46 |                         getGradientOverlayIfNeeded()
 47 |                             .overlay(getLineOverlayIfNeeded())
    |                              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 48 |                             .overlay(getPointOverlayIfNeeded())
 49 |                     }, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:48:30: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
    :
 46 |                         getGradientOverlayIfNeeded()
 47 |                             .overlay(getLineOverlayIfNeeded())
 48 |                             .overlay(getPointOverlayIfNeeded())
    |                              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 49 |                     }, proxy: proxy)
 50 |                     if viewModel.isBadgeViewEnabled {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:50:53: error: 'buildIf' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
    :
 48 |                             .overlay(getPointOverlayIfNeeded())
 49 |                     }, proxy: proxy)
 50 |                     if viewModel.isBadgeViewEnabled {
    |                                                     |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                     `- note: add 'if #available' version check
 51 |                         getBadgeValueView(with: proxy)
 52 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:52:21: error: 'buildIf' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
    :
 50 |                     if viewModel.isBadgeViewEnabled {
 51 |                         getBadgeValueView(with: proxy)
 52 |                     }
    |                     |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 53 |                 } else {
 54 |                     getGradientOverlayIfNeeded()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:44:72: 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
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
    |                                                                        |- 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
 45 |                     getDraggableView(content: {
 46 |                         getGradientOverlayIfNeeded()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:44:72: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
    |                                                                        |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                                        `- note: add 'if #available' version check
 45 |                     getDraggableView(content: {
 46 |                         getGradientOverlayIfNeeded()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:55:26: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
    :
 53 |                 } else {
 54 |                     getGradientOverlayIfNeeded()
 55 |                         .overlay(getLineOverlayIfNeeded())
    |                          |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 56 |                         .overlay(getPointOverlayIfNeeded())
 57 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:56:26: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
    :
 54 |                     getGradientOverlayIfNeeded()
 55 |                         .overlay(getLineOverlayIfNeeded())
 56 |                         .overlay(getPointOverlayIfNeeded())
    |                          |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 57 |                 }
 58 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:53:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
    :
 51 |                         getBadgeValueView(with: proxy)
 52 |                     }
 53 |                 } else {
    |                        |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 54 |                     getGradientOverlayIfNeeded()
 55 |                         .overlay(getLineOverlayIfNeeded())
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:43:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
    |                    |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
 45 |                     getDraggableView(content: {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:42:24: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
    |                        |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 43 |             ZStack {
 44 |                 if viewModel.isBadgeViewEnabled || dragAction.isNotNil {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:41:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                |               |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:41:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import SwiftUI
 10 |
 11 | public struct LineChart: View {
    |               `- note: add @available attribute to enclosing struct
 12 |
 13 |     // MARK: - Properties
    :
 39 |     // MARK: - Body
 40 |
 41 |     public var body: some View {
    |                |               |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 42 |         GeometryReader { proxy in
 43 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:72:18: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
 71 |             getLinePath(shouldFill: false)
 72 |                 .trim(from: .zero, to: animateLine ? 1 : .zero)
    |                  |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 73 |                 .stroke(viewModel.lineColor,
 74 |                         style: StrokeStyle(lineWidth: viewModel.lineWidth,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:73:18: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
 71 |             getLinePath(shouldFill: false)
 72 |                 .trim(from: .zero, to: animateLine ? 1 : .zero)
 73 |                 .stroke(viewModel.lineColor,
    |                  |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
    |                  `- note: add 'if #available' version check
 74 |                         style: StrokeStyle(lineWidth: viewModel.lineWidth,
 75 |                                            lineJoin: .round,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:74:32: error: 'StrokeStyle' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
    :
 72 |                 .trim(from: .zero, to: animateLine ? 1 : .zero)
 73 |                 .stroke(viewModel.lineColor,
 74 |                         style: StrokeStyle(lineWidth: viewModel.lineWidth,
    |                                |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 75 |                                            lineJoin: .round,
 76 |                                            dash: viewModel.dashOfLine))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:77:18: 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
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
    :
 75 |                                            lineJoin: .round,
 76 |                                            dash: viewModel.dashOfLine))
 77 |                 .animateOnAppear(delay: 1) {
    |                  |- 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
 78 |                     animateLine.toggle()
 79 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:78:21: error: cannot pass as inout because setter for 'animateLine' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
    :
 76 |                                            dash: viewModel.dashOfLine))
 77 |                 .animateOnAppear(delay: 1) {
 78 |                     animateLine.toggle()
    |                     |- error: cannot pass as inout because setter for 'animateLine' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 79 |                 }
 80 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:70:52: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
    |                                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                    `- note: add 'if #available' version check
 71 |             getLinePath(shouldFill: false)
 72 |                 .trim(from: .zero, to: animateLine ? 1 : .zero)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:81:13: error: 'EmptyView' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
    :
 79 |                 }
 80 |         } else {
 81 |             EmptyView()
    |             |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 82 |         }
 83 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:80:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
    :
 78 |                     animateLine.toggle()
 79 |                 }
 80 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 81 |             EmptyView()
 82 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:68:48: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
 68 |     func getLineOverlayIfNeeded() -> some View {
    |          |                                     |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |          |                                     `- note: add 'if #available' version check
    |          `- note: add @available attribute to enclosing instance method
 69 |         if (viewModel.showLineWhenFilled && viewModel.fillWithLinearGradient.isNotNil) ||
 70 |             viewModel.fillWithLinearGradient.isNil {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:12:55: error: 'Animation' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func animateOnAppear(using animation: Animation = Animation.easeInOut(duration: 1),
   |          |                                            `- error: 'Animation' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
13 |                          delay: Double = 0.3,
14 |                          _ action: @escaping () -> Void) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:12:65: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func animateOnAppear(using animation: Animation = Animation.easeInOut(duration: 1),
   |          |                                                      `- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
13 |                          delay: Double = 0.3,
14 |                          _ action: @escaping () -> Void) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:87:14: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 83 |     }
 84 |
 85 |     func getGradientOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 86 |         getLinePath(shouldFill: true)
 87 |             .fill((animateGradientLayer && viewModel.fillWithLinearGradient.isNotNil) ?
    |              |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |              `- note: add 'if #available' version check
 88 |                     viewModel.fillWithLinearGradient! :
 89 |                     LinearGradient(gradient: .init(colors: []), startPoint: .bottom, endPoint: .bottom))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:89:21: error: 'LinearGradient' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 83 |     }
 84 |
 85 |     func getGradientOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 86 |         getLinePath(shouldFill: true)
 87 |             .fill((animateGradientLayer && viewModel.fillWithLinearGradient.isNotNil) ?
 88 |                     viewModel.fillWithLinearGradient! :
 89 |                     LinearGradient(gradient: .init(colors: []), startPoint: .bottom, endPoint: .bottom))
    |                     |- error: 'LinearGradient' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 90 |             .opacity(animateGradientLayer ? 1 : 0)
 91 |             .animateOnAppear(delay: 1.5) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:90:14: error: 'opacity' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 83 |     }
 84 |
 85 |     func getGradientOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 86 |         getLinePath(shouldFill: true)
 87 |             .fill((animateGradientLayer && viewModel.fillWithLinearGradient.isNotNil) ?
 88 |                     viewModel.fillWithLinearGradient! :
 89 |                     LinearGradient(gradient: .init(colors: []), startPoint: .bottom, endPoint: .bottom))
 90 |             .opacity(animateGradientLayer ? 1 : 0)
    |              |- error: 'opacity' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 91 |             .animateOnAppear(delay: 1.5) {
 92 |                 animateGradientLayer.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:92:17: error: cannot pass as inout because setter for 'animateGradientLayer' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 83 |     }
 84 |
 85 |     func getGradientOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 86 |         getLinePath(shouldFill: true)
 87 |             .fill((animateGradientLayer && viewModel.fillWithLinearGradient.isNotNil) ?
    :
 90 |             .opacity(animateGradientLayer ? 1 : 0)
 91 |             .animateOnAppear(delay: 1.5) {
 92 |                 animateGradientLayer.toggle()
    |                 |- error: cannot pass as inout because setter for 'animateGradientLayer' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 93 |             }
 94 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:100:18: error: 'opacity' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
100 |                 .opacity(animatePoints ? 1 : 0)
    |                  |- error: 'opacity' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
101 |                 .animateOnAppear(delay: 0.5) {
102 |                     animatePoints.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:102:21: error: cannot pass as inout because setter for 'animatePoints' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
100 |                 .opacity(animatePoints ? 1 : 0)
101 |                 .animateOnAppear(delay: 0.5) {
102 |                     animatePoints.toggle()
    |                     |- error: cannot pass as inout because setter for 'animatePoints' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
103 |                 }
104 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:98:33: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
    |                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 99 |             getPointShape()
100 |                 .opacity(animatePoints ? 1 : 0)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:105:13: error: 'EmptyView' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
    :
103 |                 }
104 |         } else {
105 |             EmptyView()
    |             |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
106 |         }
107 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:104:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
    :
102 |                     animatePoints.toggle()
103 |                 }
104 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
105 |             EmptyView()
106 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:97:49: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
 95 |
 96 |     @ViewBuilder
 97 |     func getPointOverlayIfNeeded() -> some View {
    |          |                                      |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |          |                                      `- note: add 'if #available' version check
    |          `- note: add @available attribute to enclosing instance method
 98 |         if viewModel.showPoints {
 99 |             getPointShape()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:119:14: 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
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
113 |     }
114 |
115 |     func getPointShape() -> some View {
    |          `- note: add @available attribute to enclosing instance method
116 |         return LinePointShape(viewModel: .init(data: viewModel.data,
117 |                                                lineWidth: viewModel.lineWidth,
118 |                                                calculationStyle: viewModel.calculationStyle))
119 |             .stroke(viewModel.pointColor,
    |              |- 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
120 |                     style: StrokeStyle(lineWidth: viewModel.lineWidth,
121 |                                        lineJoin: .round))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:119:14: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
113 |     }
114 |
115 |     func getPointShape() -> some View {
    |          `- note: add @available attribute to enclosing instance method
116 |         return LinePointShape(viewModel: .init(data: viewModel.data,
117 |                                                lineWidth: viewModel.lineWidth,
118 |                                                calculationStyle: viewModel.calculationStyle))
119 |             .stroke(viewModel.pointColor,
    |              |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
    |              `- note: add 'if #available' version check
120 |                     style: StrokeStyle(lineWidth: viewModel.lineWidth,
121 |                                        lineJoin: .round))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:120:28: error: 'StrokeStyle' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
113 |     }
114 |
115 |     func getPointShape() -> some View {
    |          `- note: add @available attribute to enclosing instance method
116 |         return LinePointShape(viewModel: .init(data: viewModel.data,
117 |                                                lineWidth: viewModel.lineWidth,
118 |                                                calculationStyle: viewModel.calculationStyle))
119 |             .stroke(viewModel.pointColor,
120 |                     style: StrokeStyle(lineWidth: viewModel.lineWidth,
    |                            |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
121 |                                        lineJoin: .round))
122 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:126:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    |              |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
127 |                         .onChanged { dragGesture in
128 |                             guard proxy.height > dragGesture.location.y &&
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:126:22: error: 'DragGesture' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    |                      |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
127 |                         .onChanged { dragGesture in
128 |                             guard proxy.height > dragGesture.location.y &&
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:126:22: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    |                      |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
127 |                         .onChanged { dragGesture in
128 |                             guard proxy.height > dragGesture.location.y &&
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:127:26: error: 'onChanged' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
127 |                         .onChanged { dragGesture in
    |                          |- error: 'onChanged' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
128 |                             guard proxy.height > dragGesture.location.y &&
129 |                                     dragGesture.location.y > .zero &&
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:132:33: error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
130 |                                     proxy.width > dragGesture.location.x &&
131 |                                     dragGesture.location.x > .zero else {
132 |                                 showBadgeView = false
    |                                 |- error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
133 |                                 return
134 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:141:29: error: 'withAnimation' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
139 |                             let xDot = CGFloat(index) * (proxy.width / CGFloat(viewModel.data.count-1))
140 |                             var yDot = scalableHeight(for: viewModel.data[index], parentHeight: proxy.height)
141 |                             withAnimation {
    |                             |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
142 |                                 badgeViewDirection = yDot > proxy.height / 2 ? .bottom : .top
143 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:142:33: error: setter for 'badgeViewDirection' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
140 |                             var yDot = scalableHeight(for: viewModel.data[index], parentHeight: proxy.height)
141 |                             withAnimation {
142 |                                 badgeViewDirection = yDot > proxy.height / 2 ? .bottom : .top
    |                                 |- error: setter for 'badgeViewDirection' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
143 |                             }
144 |                             yDot += badgeViewDirection == .top ? Const.badgeViewSize.height : .zero
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:145:29: error: setter for 'badgeValue' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
143 |                             }
144 |                             yDot += badgeViewDirection == .top ? Const.badgeViewSize.height : .zero
145 |                             badgeValue = viewModel.data[index]
    |                             |- error: setter for 'badgeValue' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
146 |                             withAnimation {
147 |                                 badgeViewLocation = .init(x: xDot, y: yDot)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:146:29: error: 'withAnimation' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
144 |                             yDot += badgeViewDirection == .top ? Const.badgeViewSize.height : .zero
145 |                             badgeValue = viewModel.data[index]
146 |                             withAnimation {
    |                             |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
147 |                                 badgeViewLocation = .init(x: xDot, y: yDot)
148 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:147:33: error: setter for 'badgeViewLocation' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
145 |                             badgeValue = viewModel.data[index]
146 |                             withAnimation {
147 |                                 badgeViewLocation = .init(x: xDot, y: yDot)
    |                                 |- error: setter for 'badgeViewLocation' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
148 |                             }
149 |                             showBadgeView = viewModel.isBadgeViewEnabled
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:149:29: error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
147 |                                 badgeViewLocation = .init(x: xDot, y: yDot)
148 |                             }
149 |                             showBadgeView = viewModel.isBadgeViewEnabled
    |                             |- error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
150 |                             isBadgeAppeared = viewModel.isBadgeViewEnabled
151 |                             dragAction?(viewModel.data[index])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:150:29: error: setter for 'isBadgeAppeared' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
148 |                             }
149 |                             showBadgeView = viewModel.isBadgeViewEnabled
150 |                             isBadgeAppeared = viewModel.isBadgeViewEnabled
    |                             |- error: setter for 'isBadgeAppeared' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
151 |                             dragAction?(viewModel.data[index])
152 |                         }.onEnded( {dragGesture in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:152:27: error: 'onEnded' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
150 |                             isBadgeAppeared = viewModel.isBadgeViewEnabled
151 |                             dragAction?(viewModel.data[index])
152 |                         }.onEnded( {dragGesture in
    |                           |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
153 |                             showBadgeView = false
154 |                         }))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:153:29: error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
122 |     }
123 |
124 |     func getDraggableView<Content: View>(@ViewBuilder content: () -> Content, proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
125 |         content()
126 |             .gesture(DragGesture(minimumDistance: .zero, coordinateSpace: .local)
    :
151 |                             dragAction?(viewModel.data[index])
152 |                         }.onEnded( {dragGesture in
153 |                             showBadgeView = false
    |                             |- error: setter for 'showBadgeView' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
154 |                         }))
155 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:159:14: error: 'opacity' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
    |              |- error: 'opacity' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
160 |             .animation(.easeIn, value: showBadgeView)
161 |             .zIndex(999)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:160:14: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
160 |             .animation(.easeIn, value: showBadgeView)
    |              |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
161 |             .zIndex(999)
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:160:25: error: 'easeIn' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
160 |             .animation(.easeIn, value: showBadgeView)
    |                         |- error: 'easeIn' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
161 |             .zIndex(999)
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:161:14: error: 'zIndex' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
160 |             .animation(.easeIn, value: showBadgeView)
161 |             .zIndex(999)
    |              |- error: 'zIndex' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
163 |                    height: showBadgeView ? Const.badgeViewSize.height : .zero)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:162:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
160 |             .animation(.easeIn, value: showBadgeView)
161 |             .zIndex(999)
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
163 |                    height: showBadgeView ? Const.badgeViewSize.height : .zero)
164 |             .position(x: isBadgeAppeared ? badgeViewLocation.x : proxy.frame(in: .local).midX,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:164:14: error: 'position(x:y:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
    :
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
163 |                    height: showBadgeView ? Const.badgeViewSize.height : .zero)
164 |             .position(x: isBadgeAppeared ? badgeViewLocation.x : proxy.frame(in: .local).midX,
    |              |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
165 |                       y: isBadgeAppeared ? badgeViewLocation.y - Const.badgeViewSize.height/2 : proxy.frame(in: .local).midY)
166 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:164:72: error: 'frame(in:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
    :
162 |             .frame(width: showBadgeView ? Const.badgeViewSize.width : .zero,
163 |                    height: showBadgeView ? Const.badgeViewSize.height : .zero)
164 |             .position(x: isBadgeAppeared ? badgeViewLocation.x : proxy.frame(in: .local).midX,
    |                                                                        |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                                        `- note: add 'if #available' version check
165 |                       y: isBadgeAppeared ? badgeViewLocation.y - Const.badgeViewSize.height/2 : proxy.frame(in: .local).midY)
166 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChart.swift:165:103: error: 'frame(in:)' is only available in macOS 10.15 or newer
 63 | // MARK: - Views
 64 |
 65 | private extension LineChart {
    |         `- note: add @available attribute to enclosing extension
 66 |
 67 |     @ViewBuilder
    :
155 |     }
156 |
157 |     func getBadgeValueView(with proxy: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
158 |         BadgeValue(with: viewModel.badgeViewModel, direction: badgeViewDirection, value: $badgeValue)
159 |             .opacity(showBadgeView ? 1 : .zero)
    :
163 |                    height: showBadgeView ? Const.badgeViewSize.height : .zero)
164 |             .position(x: isBadgeAppeared ? badgeViewLocation.x : proxy.frame(in: .local).midX,
165 |                       y: isBadgeAppeared ? badgeViewLocation.y - Const.badgeViewSize.height/2 : proxy.frame(in: .local).midY)
    |                                                                                                       |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                                                                       `- note: add 'if #available' version check
166 |     }
167 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   |      `- error: 'Published' is only available in macOS 10.15 or newer
14 |     @Published public var showPoints: Bool
15 |     @Published public var lineWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
14 |     @Published public var showPoints: Bool
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published public var lineWidth: CGFloat
16 |     @Published public var lineColor : Color
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
14 |     @Published public var showPoints: Bool
15 |     @Published public var lineWidth: CGFloat
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |     @Published public var lineColor : Color
17 |     @Published public var data: [CGFloat]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:16:39: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
14 |     @Published public var showPoints: Bool
15 |     @Published public var lineWidth: CGFloat
16 |     @Published public var lineColor : Color
   |                                       `- error: 'Color' is only available in macOS 10.15 or newer
17 |     @Published public var data: [CGFloat]
18 |     @Published public var fillWithLinearGradient: LinearGradient?
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
14 |     @Published public var showPoints: Bool
15 |     @Published public var lineWidth: CGFloat
16 |     @Published public var lineColor : Color
   |      `- error: 'Published' is only available in macOS 10.15 or newer
17 |     @Published public var data: [CGFloat]
18 |     @Published public var fillWithLinearGradient: LinearGradient?
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:17:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
15 |     @Published public var lineWidth: CGFloat
16 |     @Published public var lineColor : Color
17 |     @Published public var data: [CGFloat]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
18 |     @Published public var fillWithLinearGradient: LinearGradient?
19 |     @Published public var showLineWhenFilled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:18:51: error: 'LinearGradient' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
16 |     @Published public var lineColor : Color
17 |     @Published public var data: [CGFloat]
18 |     @Published public var fillWithLinearGradient: LinearGradient?
   |                                                   `- error: 'LinearGradient' is only available in macOS 10.15 or newer
19 |     @Published public var showLineWhenFilled: Bool
20 |     @Published public var pointColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:18:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
16 |     @Published public var lineColor : Color
17 |     @Published public var data: [CGFloat]
18 |     @Published public var fillWithLinearGradient: LinearGradient?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
19 |     @Published public var showLineWhenFilled: Bool
20 |     @Published public var pointColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
17 |     @Published public var data: [CGFloat]
18 |     @Published public var fillWithLinearGradient: LinearGradient?
19 |     @Published public var showLineWhenFilled: Bool
   |      `- error: 'Published' is only available in macOS 10.15 or newer
20 |     @Published public var pointColor: Color
21 |     @Published public var dashOfLine: [CGFloat]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:20:39: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
18 |     @Published public var fillWithLinearGradient: LinearGradient?
19 |     @Published public var showLineWhenFilled: Bool
20 |     @Published public var pointColor: Color
   |                                       `- error: 'Color' is only available in macOS 10.15 or newer
21 |     @Published public var dashOfLine: [CGFloat]
22 |     @Published public var isBadgeViewEnabled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:20:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
18 |     @Published public var fillWithLinearGradient: LinearGradient?
19 |     @Published public var showLineWhenFilled: Bool
20 |     @Published public var pointColor: Color
   |      `- error: 'Published' is only available in macOS 10.15 or newer
21 |     @Published public var dashOfLine: [CGFloat]
22 |     @Published public var isBadgeViewEnabled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:21:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
19 |     @Published public var showLineWhenFilled: Bool
20 |     @Published public var pointColor: Color
21 |     @Published public var dashOfLine: [CGFloat]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
22 |     @Published public var isBadgeViewEnabled: Bool
23 |     @Published public var badgeViewModel: BadgeValueModel
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:22:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
20 |     @Published public var pointColor: Color
21 |     @Published public var dashOfLine: [CGFloat]
22 |     @Published public var isBadgeViewEnabled: Bool
   |      `- error: 'Published' is only available in macOS 10.15 or newer
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:23:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
21 |     @Published public var dashOfLine: [CGFloat]
22 |     @Published public var isBadgeViewEnabled: Bool
23 |     @Published public var badgeViewModel: BadgeValueModel
   |      `- error: 'Published' is only available in macOS 10.15 or newer
24 |
25 |     public init(data: [CGFloat],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:29:28: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
28 |                 showPoints: Bool,
29 |                 lineColor: Color,
   |                            `- error: 'Color' is only available in macOS 10.15 or newer
30 |                 pointColor: Color,
31 |                 fillWithLinearGradient: LinearGradient? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:30:29: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
28 |                 showPoints: Bool,
29 |                 lineColor: Color,
30 |                 pointColor: Color,
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
31 |                 fillWithLinearGradient: LinearGradient? = nil,
32 |                 showLineWhenFilled: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:31:41: error: 'LinearGradient' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
29 |                 lineColor: Color,
30 |                 pointColor: Color,
31 |                 fillWithLinearGradient: LinearGradient? = nil,
   |                                         `- error: 'LinearGradient' is only available in macOS 10.15 or newer
32 |                 showLineWhenFilled: Bool,
33 |                 dashOfLine: [CGFloat] = [],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BadgeValue/BadgeValueModel.swift:16:70: error: 'black' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct BadgeValueModel {
   |               `- note: add @available attribute to enclosing struct
11 |     let title: String
12 |     let showUnderline: Bool
   :
14 |     let foregroundColor: Color
15 |
16 |     public init(showUnderline: Bool = true, underlineColor: Color = .black, title: String = "Value", foregroundColor: Color = .red) {
   |            |                                                         `- error: 'black' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
17 |         self.showUnderline = showUnderline
18 |         self.underlineColor = underlineColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BadgeValue/BadgeValueModel.swift:16:128: error: 'red' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct BadgeValueModel {
   |               `- note: add @available attribute to enclosing struct
11 |     let title: String
12 |     let showUnderline: Bool
   :
14 |     let foregroundColor: Color
15 |
16 |     public init(showUnderline: Bool = true, underlineColor: Color = .black, title: String = "Value", foregroundColor: Color = .red) {
   |            |                                                                                                                   `- error: 'red' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
17 |         self.showUnderline = showUnderline
18 |         self.underlineColor = underlineColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:11:36: error: 'ObservableObject' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    |               `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, CalculationStyle>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, CalculationStyle>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, CGFloat>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, CGFloat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, Color>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, [CGFloat]>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, [CGFloat]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, LinearGradient?>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, LinearGradient?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, Color>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, [CGFloat]>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, [CGFloat]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<LineChartModel, BadgeValueModel>' to expected argument type 'ReferenceWritableKeyPath<LineChartModel, BadgeValueModel>'
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:36:9: error: setter for 'data' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
34 |                 isBadgeViewEnabled: Bool = true,
35 |                 badgeViewModel: BadgeValueModel = BadgeValueModel()) {
36 |         self.data = data
   |         |- error: setter for 'data' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |         self.calculationStyle = calculationStyle
38 |         self.lineWidth = lineWidth
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:37:9: error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
35 |                 badgeViewModel: BadgeValueModel = BadgeValueModel()) {
36 |         self.data = data
37 |         self.calculationStyle = calculationStyle
   |         |- error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
38 |         self.lineWidth = lineWidth
39 |         self.showPoints = showPoints
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:38:9: error: setter for 'lineWidth' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
36 |         self.data = data
37 |         self.calculationStyle = calculationStyle
38 |         self.lineWidth = lineWidth
   |         |- error: setter for 'lineWidth' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
39 |         self.showPoints = showPoints
40 |         self.lineColor = lineColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:39:9: error: setter for 'showPoints' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
37 |         self.calculationStyle = calculationStyle
38 |         self.lineWidth = lineWidth
39 |         self.showPoints = showPoints
   |         |- error: setter for 'showPoints' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
40 |         self.lineColor = lineColor
41 |         self.fillWithLinearGradient = fillWithLinearGradient
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:40:9: error: setter for 'lineColor' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
38 |         self.lineWidth = lineWidth
39 |         self.showPoints = showPoints
40 |         self.lineColor = lineColor
   |         |- error: setter for 'lineColor' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
41 |         self.fillWithLinearGradient = fillWithLinearGradient
42 |         self.showLineWhenFilled = showLineWhenFilled
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:41:9: error: setter for 'fillWithLinearGradient' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
39 |         self.showPoints = showPoints
40 |         self.lineColor = lineColor
41 |         self.fillWithLinearGradient = fillWithLinearGradient
   |         |- error: setter for 'fillWithLinearGradient' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
42 |         self.showLineWhenFilled = showLineWhenFilled
43 |         self.pointColor = pointColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:42:9: error: setter for 'showLineWhenFilled' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
40 |         self.lineColor = lineColor
41 |         self.fillWithLinearGradient = fillWithLinearGradient
42 |         self.showLineWhenFilled = showLineWhenFilled
   |         |- error: setter for 'showLineWhenFilled' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
43 |         self.pointColor = pointColor
44 |         self.dashOfLine = dashOfLine
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:43:9: error: setter for 'pointColor' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
41 |         self.fillWithLinearGradient = fillWithLinearGradient
42 |         self.showLineWhenFilled = showLineWhenFilled
43 |         self.pointColor = pointColor
   |         |- error: setter for 'pointColor' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
44 |         self.dashOfLine = dashOfLine
45 |         self.isBadgeViewEnabled = isBadgeViewEnabled
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:44:9: error: setter for 'dashOfLine' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
42 |         self.showLineWhenFilled = showLineWhenFilled
43 |         self.pointColor = pointColor
44 |         self.dashOfLine = dashOfLine
   |         |- error: setter for 'dashOfLine' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
45 |         self.isBadgeViewEnabled = isBadgeViewEnabled
46 |         self.badgeViewModel = badgeViewModel
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:45:9: error: setter for 'isBadgeViewEnabled' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
43 |         self.pointColor = pointColor
44 |         self.dashOfLine = dashOfLine
45 |         self.isBadgeViewEnabled = isBadgeViewEnabled
   |         |- error: setter for 'isBadgeViewEnabled' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
46 |         self.badgeViewModel = badgeViewModel
47 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineChartModel.swift:46:9: error: setter for 'badgeViewModel' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | final public class LineChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
12 |
13 |     @Published public var calculationStyle: CalculationStyle
   :
23 |     @Published public var badgeViewModel: BadgeValueModel
24 |
25 |     public init(data: [CGFloat],
   |            `- note: add @available attribute to enclosing initializer
26 |                 calculationStyle: CalculationStyle,
27 |                 lineWidth: CGFloat,
   :
44 |         self.dashOfLine = dashOfLine
45 |         self.isBadgeViewEnabled = isBadgeViewEnabled
46 |         self.badgeViewModel = badgeViewModel
   |         |- error: setter for 'badgeViewModel' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |     }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift:23:35: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct LinePointShape: Shape {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Path
22 |
23 |     func path(in rect: CGRect) -> Path {
   |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
24 |         Path { path in
25 |             for (index, data) in viewModel.data.enumerated() {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift:15:17: warning: stored property 'viewModel' of 'Sendable'-conforming struct 'LinePointShape' has non-sendable type 'LinePointShapeModel'; this is an error in the Swift 6 language mode
13 |     // MARK: - Properties
14 |
15 |     private let viewModel: LinePointShapeModel
   |                 `- warning: stored property 'viewModel' of 'Sendable'-conforming struct 'LinePointShape' has non-sendable type 'LinePointShapeModel'; this is an error in the Swift 6 language mode
16 |
17 |     init(viewModel: LinePointShapeModel) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShapeModel.swift:11:8: note: consider making struct 'LinePointShapeModel' conform to the 'Sendable' protocol
 9 | import SwiftUI
10 |
11 | struct LinePointShapeModel {
   |        `- note: consider making struct 'LinePointShapeModel' conform to the 'Sendable' protocol
12 |     let data: [CGFloat]
13 |     let lineWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift:24:9: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct LinePointShape: Shape {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Path
22 |
23 |     func path(in rect: CGRect) -> Path {
   |          `- note: add @available attribute to enclosing instance method
24 |         Path { path in
   |         |- error: 'Path' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |             for (index, data) in viewModel.data.enumerated() {
26 |                 let xDot = CGFloat(index) * (rect.width / CGFloat(viewModel.data.count-1))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift:30:22: error: 'move(to:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct LinePointShape: Shape {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Path
22 |
23 |     func path(in rect: CGRect) -> Path {
   |          `- note: add @available attribute to enclosing instance method
24 |         Path { path in
25 |             for (index, data) in viewModel.data.enumerated() {
   :
28 |                 let point = CGPoint(x: xDot, y: yDot)
29 |
30 |                 path.move(to: point)
   |                      |- error: 'move(to:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
31 |                 path.addRoundedRect(in: .init(x: point.x - viewModel.lineWidth/2,
32 |                                               y: point.y - viewModel.lineWidth/2,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift:31:22: error: 'addRoundedRect(in:cornerSize:style:transform:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct LinePointShape: Shape {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Path
22 |
23 |     func path(in rect: CGRect) -> Path {
   |          `- note: add @available attribute to enclosing instance method
24 |         Path { path in
25 |             for (index, data) in viewModel.data.enumerated() {
   :
29 |
30 |                 path.move(to: point)
31 |                 path.addRoundedRect(in: .init(x: point.x - viewModel.lineWidth/2,
   |                      |- error: 'addRoundedRect(in:cornerSize:style:transform:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
32 |                                               y: point.y - viewModel.lineWidth/2,
33 |                                               width: viewModel.lineWidth,
BUILD FAILURE 6.2 macosSpm