The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BIKCharts, reference main (60e267), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 05:40:48 UTC.

Build Command

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

Build Log

    |                        `- 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,
[40/43] Compiling BIKCharts PieShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:23:35: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:31: error: 'View' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:24:9: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:26:18: error: 'move(to:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
   |                  |- error: 'move(to:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
27 |             path.addArc(center: center,
28 |                         radius: viewModel.radius,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:27:18: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
27 |             path.addArc(center: center,
   |                  |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
28 |                         radius: viewModel.radius,
29 |                         startAngle: .degrees(viewModel.startDegree),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:40:9: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
   |         |- 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
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:48: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                                                `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:53: error: 'Color' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                     |- error: 'Color' is only available in macOS 10.15 or newer
   |                                                     `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:59: error: 'red' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                           |- error: 'red' is only available in macOS 10.15 or newer
   |                                                           `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:36: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |                   |- 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
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:36: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |                   |- 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
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:38:25: error: 'View' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         |               `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:49:31: error: 'View' is only available in macOS 10.15 or newer
46 | // MARK: - Preview
47 |
48 | struct PieSliceView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
49 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
50 |         PieSlice(viewModel: .init(pieShapeModel: .init(startDegree: 0,
51 |                                                            endDegree: 90,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:24: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |                        |- 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
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:24: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |                        |- 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
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:13: error: 'ZStack' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |             |- error: 'ZStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:26:17: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
   |                 |- 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
27 |                     .fill(viewModel.color)
28 |                 titleText
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:27:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
   |                      |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
28 |                 titleText
29 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:39:9: error: 'Text' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:40:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
   |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
41 |             .font(viewModel.titleConfiguration.font)
42 |             .position(viewModel.textPosition)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:41:14: error: 'font' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
42 |             .position(viewModel.textPosition)
43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:42:14: error: 'position' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
42 |             .position(viewModel.textPosition)
   |              |- error: 'position' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:53:47: error: 'red' is only available in macOS 10.15 or newer
46 | // MARK: - Preview
47 |
48 | struct PieSliceView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
49 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
50 |         PieSlice(viewModel: .init(pieShapeModel: .init(startDegree: 0,
51 |                                                            endDegree: 90,
52 |                                                            radius: 30),
53 |                                       color: .red,
   |                                               |- error: 'red' is only available in macOS 10.15 or newer
   |                                               `- note: add 'if #available' version check
54 |                                       textPosition: .zero))
55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:63: error: 'white' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                  `- error: 'white' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:84: error: 'headline' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                                       `- error: 'headline' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:13:16: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSliceModel {
   |        `- note: add '@available' attribute to enclosing struct
12 |     let pieShapeModel: PieShapeModel
13 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
14 |     let textPosition: CGPoint
15 |     let titleConfiguration: TitleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:18:17: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSliceModel {
   |        `- note: add '@available' attribute to enclosing struct
12 |     let pieShapeModel: PieShapeModel
13 |     let color: Color
   :
15 |     let titleConfiguration: TitleConfiguration
16 |
17 |     init(pieShapeModel: PieShapeModel,
   |     `- note: add '@available' attribute to enclosing initializer
18 |          color: Color,
   |                 `- error: 'Color' is only available in macOS 10.15 or newer
19 |          textPosition: CGPoint = .zero,
20 |          titleConfiguration: TitleConfiguration = TitleConfiguration()) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:30:26: error: 'Color' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
   |                          `- error: 'Color' is only available in macOS 10.15 or newer
31 |     let font: Font
32 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:31:15: error: 'Font' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
   |               `- error: 'Font' is only available in macOS 10.15 or newer
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:54: error: 'Color' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                         `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:76: error: 'Font' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                               `- error: 'Font' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
[41/43] Compiling BIKCharts PieShapeModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:23:35: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:31: error: 'View' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:24:9: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:26:18: error: 'move(to:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
   |                  |- error: 'move(to:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
27 |             path.addArc(center: center,
28 |                         radius: viewModel.radius,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:27:18: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
27 |             path.addArc(center: center,
   |                  |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
28 |                         radius: viewModel.radius,
29 |                         startAngle: .degrees(viewModel.startDegree),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:40:9: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
   |         |- 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
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:48: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                                                `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:53: error: 'Color' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                     |- error: 'Color' is only available in macOS 10.15 or newer
   |                                                     `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:59: error: 'red' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                           |- error: 'red' is only available in macOS 10.15 or newer
   |                                                           `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:36: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |                   |- 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
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:36: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |                   |- 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
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:38:25: error: 'View' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         |               `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:49:31: error: 'View' is only available in macOS 10.15 or newer
46 | // MARK: - Preview
47 |
48 | struct PieSliceView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
49 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
50 |         PieSlice(viewModel: .init(pieShapeModel: .init(startDegree: 0,
51 |                                                            endDegree: 90,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:24: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |                        |- 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
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:24: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |                        |- 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
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:13: error: 'ZStack' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |             |- error: 'ZStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:26:17: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
   |                 |- 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
27 |                     .fill(viewModel.color)
28 |                 titleText
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:27:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
   |                      |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
28 |                 titleText
29 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:39:9: error: 'Text' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:40:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
   |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
41 |             .font(viewModel.titleConfiguration.font)
42 |             .position(viewModel.textPosition)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:41:14: error: 'font' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
42 |             .position(viewModel.textPosition)
43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:42:14: error: 'position' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
42 |             .position(viewModel.textPosition)
   |              |- error: 'position' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:53:47: error: 'red' is only available in macOS 10.15 or newer
46 | // MARK: - Preview
47 |
48 | struct PieSliceView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
49 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
50 |         PieSlice(viewModel: .init(pieShapeModel: .init(startDegree: 0,
51 |                                                            endDegree: 90,
52 |                                                            radius: 30),
53 |                                       color: .red,
   |                                               |- error: 'red' is only available in macOS 10.15 or newer
   |                                               `- note: add 'if #available' version check
54 |                                       textPosition: .zero))
55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:63: error: 'white' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                  `- error: 'white' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:84: error: 'headline' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                                       `- error: 'headline' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:13:16: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSliceModel {
   |        `- note: add '@available' attribute to enclosing struct
12 |     let pieShapeModel: PieShapeModel
13 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
14 |     let textPosition: CGPoint
15 |     let titleConfiguration: TitleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:18:17: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSliceModel {
   |        `- note: add '@available' attribute to enclosing struct
12 |     let pieShapeModel: PieShapeModel
13 |     let color: Color
   :
15 |     let titleConfiguration: TitleConfiguration
16 |
17 |     init(pieShapeModel: PieShapeModel,
   |     `- note: add '@available' attribute to enclosing initializer
18 |          color: Color,
   |                 `- error: 'Color' is only available in macOS 10.15 or newer
19 |          textPosition: CGPoint = .zero,
20 |          titleConfiguration: TitleConfiguration = TitleConfiguration()) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:30:26: error: 'Color' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
   |                          `- error: 'Color' is only available in macOS 10.15 or newer
31 |     let font: Font
32 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:31:15: error: 'Font' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
   |               `- error: 'Font' is only available in macOS 10.15 or newer
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:54: error: 'Color' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                         `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:76: error: 'Font' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                               `- error: 'Font' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
[42/43] Compiling BIKCharts PieSlice.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:23:35: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:31: error: 'View' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:24:9: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:26:18: error: 'move(to:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
   |                  |- error: 'move(to:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
27 |             path.addArc(center: center,
28 |                         radius: viewModel.radius,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:27:18: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
27 |             path.addArc(center: center,
   |                  |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
28 |                         radius: viewModel.radius,
29 |                         startAngle: .degrees(viewModel.startDegree),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:40:9: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
   |         |- 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
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:48: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                                                `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:53: error: 'Color' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                     |- error: 'Color' is only available in macOS 10.15 or newer
   |                                                     `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:59: error: 'red' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                           |- error: 'red' is only available in macOS 10.15 or newer
   |                                                           `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:36: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |                   |- 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
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:36: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |                   |- 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
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:38:25: error: 'View' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         |               `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:49:31: error: 'View' is only available in macOS 10.15 or newer
46 | // MARK: - Preview
47 |
48 | struct PieSliceView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
49 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
50 |         PieSlice(viewModel: .init(pieShapeModel: .init(startDegree: 0,
51 |                                                            endDegree: 90,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:24: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |                        |- 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
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:24: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |                        |- 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
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:13: error: 'ZStack' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |             |- error: 'ZStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:26:17: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
   |                 |- 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
27 |                     .fill(viewModel.color)
28 |                 titleText
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:27:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
   |                      |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
28 |                 titleText
29 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:39:9: error: 'Text' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:40:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
   |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
41 |             .font(viewModel.titleConfiguration.font)
42 |             .position(viewModel.textPosition)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:41:14: error: 'font' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
42 |             .position(viewModel.textPosition)
43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:42:14: error: 'position' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
42 |             .position(viewModel.textPosition)
   |              |- error: 'position' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:53:47: error: 'red' is only available in macOS 10.15 or newer
46 | // MARK: - Preview
47 |
48 | struct PieSliceView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
49 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
50 |         PieSlice(viewModel: .init(pieShapeModel: .init(startDegree: 0,
51 |                                                            endDegree: 90,
52 |                                                            radius: 30),
53 |                                       color: .red,
   |                                               |- error: 'red' is only available in macOS 10.15 or newer
   |                                               `- note: add 'if #available' version check
54 |                                       textPosition: .zero))
55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:63: error: 'white' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                  `- error: 'white' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:84: error: 'headline' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                                       `- error: 'headline' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:13:16: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSliceModel {
   |        `- note: add '@available' attribute to enclosing struct
12 |     let pieShapeModel: PieShapeModel
13 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
14 |     let textPosition: CGPoint
15 |     let titleConfiguration: TitleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:18:17: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSliceModel {
   |        `- note: add '@available' attribute to enclosing struct
12 |     let pieShapeModel: PieShapeModel
13 |     let color: Color
   :
15 |     let titleConfiguration: TitleConfiguration
16 |
17 |     init(pieShapeModel: PieShapeModel,
   |     `- note: add '@available' attribute to enclosing initializer
18 |          color: Color,
   |                 `- error: 'Color' is only available in macOS 10.15 or newer
19 |          textPosition: CGPoint = .zero,
20 |          titleConfiguration: TitleConfiguration = TitleConfiguration()) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:30:26: error: 'Color' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
   |                          `- error: 'Color' is only available in macOS 10.15 or newer
31 |     let font: Font
32 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:31:15: error: 'Font' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
   |               `- error: 'Font' is only available in macOS 10.15 or newer
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:54: error: 'Color' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                         `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:76: error: 'Font' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                               `- error: 'Font' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
[43/43] Compiling BIKCharts PieSliceModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:23:35: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:31: error: 'View' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:24:9: error: 'Path' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:26:18: error: 'move(to:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
   |                  |- error: 'move(to:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
27 |             path.addArc(center: center,
28 |                         radius: viewModel.radius,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:27:18: error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieShape: 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 |             let center = CGPoint(x: rect.midX, y: rect.midY)
26 |             path.move(to: center)
27 |             path.addArc(center: center,
   |                  |- error: 'addArc(center:radius:startAngle:endAngle:clockwise:transform:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
28 |                         radius: viewModel.radius,
29 |                         startAngle: .degrees(viewModel.startDegree),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:40:9: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
   |         |- 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
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:48: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                                                `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:53: error: 'Color' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                     |- error: 'Color' is only available in macOS 10.15 or newer
   |                                                     `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:42:59: error: 'red' is only available in macOS 10.15 or newer
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
42 |                                   radius: 35)).fill(Color.red)
   |                                                           |- error: 'red' is only available in macOS 10.15 or newer
   |                                                           `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:36: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |                   |- 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
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieShape/PieShape.swift:39:36: 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
36 | // MARK: - Preview
37 |
38 | struct PieShape_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
39 |     static var previews: some View {
   |                |                   |- 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
   |                `- note: add '@available' attribute to enclosing static property
40 |         PieShape(viewModel: .init(startDegree: 0,
41 |                                   endDegree: 30,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:38:25: error: 'View' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         |               `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:49:31: error: 'View' is only available in macOS 10.15 or newer
46 | // MARK: - Preview
47 |
48 | struct PieSliceView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
49 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
50 |         PieSlice(viewModel: .init(pieShapeModel: .init(startDegree: 0,
51 |                                                            endDegree: 90,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:24: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |                        |- 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
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:24:24: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
   |                        |- 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
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:13: error: 'ZStack' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |             |- error: 'ZStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:26:17: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
   |                 |- 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
27 |                     .fill(viewModel.color)
28 |                 titleText
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:27:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
   |                      |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
28 |                 titleText
29 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:25:20: 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
 9 | import SwiftUI
10 |
11 | struct PieSlice: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
24 |         GeometryReader { proxy in
25 |             ZStack {
   |                    |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
26 |                 PieShape(viewModel: viewModel.pieShapeModel)
27 |                     .fill(viewModel.color)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:39:9: error: 'Text' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:40:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
   |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
41 |             .font(viewModel.titleConfiguration.font)
42 |             .position(viewModel.textPosition)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:41:14: error: 'font' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
42 |             .position(viewModel.textPosition)
43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:42:14: error: 'position' is only available in macOS 10.15 or newer
35 | // MARK: - Views
36 |
37 | private extension PieSlice {
   |         `- note: add '@available' attribute to enclosing extension
38 |     var titleText: some View {
   |         `- note: add '@available' attribute to enclosing property
39 |         Text(viewModel.titleConfiguration.title)
40 |             .foregroundColor(viewModel.titleConfiguration.foregroundColor)
41 |             .font(viewModel.titleConfiguration.font)
42 |             .position(viewModel.textPosition)
   |              |- error: 'position' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSlice.swift:53:47: error: 'red' is only available in macOS 10.15 or newer
46 | // MARK: - Preview
47 |
48 | struct PieSliceView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
49 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
50 |         PieSlice(viewModel: .init(pieShapeModel: .init(startDegree: 0,
51 |                                                            endDegree: 90,
52 |                                                            radius: 30),
53 |                                       color: .red,
   |                                               |- error: 'red' is only available in macOS 10.15 or newer
   |                                               `- note: add 'if #available' version check
54 |                                       textPosition: .zero))
55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:63: error: 'white' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                  `- error: 'white' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:84: error: 'headline' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                                       `- error: 'headline' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:13:16: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSliceModel {
   |        `- note: add '@available' attribute to enclosing struct
12 |     let pieShapeModel: PieShapeModel
13 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
14 |     let textPosition: CGPoint
15 |     let titleConfiguration: TitleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:18:17: error: 'Color' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct PieSliceModel {
   |        `- note: add '@available' attribute to enclosing struct
12 |     let pieShapeModel: PieShapeModel
13 |     let color: Color
   :
15 |     let titleConfiguration: TitleConfiguration
16 |
17 |     init(pieShapeModel: PieShapeModel,
   |     `- note: add '@available' attribute to enclosing initializer
18 |          color: Color,
   |                 `- error: 'Color' is only available in macOS 10.15 or newer
19 |          textPosition: CGPoint = .zero,
20 |          titleConfiguration: TitleConfiguration = TitleConfiguration()) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:30:26: error: 'Color' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
   |                          `- error: 'Color' is only available in macOS 10.15 or newer
31 |     let font: Font
32 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:31:15: error: 'Font' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
   |               `- error: 'Font' is only available in macOS 10.15 or newer
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:54: error: 'Color' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                         `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:76: error: 'Font' is only available in macOS 10.15 or newer
26 | }
27 |
28 | public struct TitleConfiguration {
   |               `- note: add '@available' attribute to enclosing struct
29 |     let title: String
30 |     let foregroundColor: Color
31 |     let font: Font
32 |
33 |     public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
   |            |                                                               `- error: 'Font' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
34 |         self.title = title
35 |         self.foregroundColor = foregroundColor
BUILD FAILURE 6.3 macosSpm