Build Information
Failed to build BIKCharts, reference 1.0.1 (817119
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 23:52:45 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| | `- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:26:197: error: 'gray' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| | `- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:12:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, [CGFloat]>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, [CGFloat]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, [String?]?>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, [String?]?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, CalculationStyle>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, CalculationStyle>'
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, CGFloat>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, CGFloat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, Color>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, Color>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, CGFloat>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, CGFloat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, Bool>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, BadgeValueModel>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, BadgeValueModel>'
<unknown>:0: error: cannot convert value of type 'KeyPath<BarChartModel, BarChartDirection>' to expected argument type 'ReferenceWritableKeyPath<BarChartModel, BarChartDirection>'
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:27:9: error: setter for 'data' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
| |- error: setter for 'data' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | self.dataDescriptions = dataDescriptions
29 | self.calculationType = calculationType
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:28:9: error: setter for 'dataDescriptions' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
| |- error: setter for 'dataDescriptions' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | self.calculationType = calculationType
30 | self.barSpacing = barSpacing
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:29:9: error: setter for 'calculationType' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
29 | self.calculationType = calculationType
| |- error: setter for 'calculationType' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | self.barSpacing = barSpacing
31 | self.fillBarColor = fillBarColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:30:9: error: setter for 'barSpacing' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
29 | self.calculationType = calculationType
30 | self.barSpacing = barSpacing
| |- error: setter for 'barSpacing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | self.fillBarColor = fillBarColor
32 | self.emptyBarColor = emptyBarColor
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:31:9: error: setter for 'fillBarColor' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
29 | self.calculationType = calculationType
30 | self.barSpacing = barSpacing
31 | self.fillBarColor = fillBarColor
| |- error: setter for 'fillBarColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | self.emptyBarColor = emptyBarColor
33 | self.barCornerRadius = barCornerRadius
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:32:9: error: setter for 'emptyBarColor' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
:
30 | self.barSpacing = barSpacing
31 | self.fillBarColor = fillBarColor
32 | self.emptyBarColor = emptyBarColor
| |- error: setter for 'emptyBarColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | self.barCornerRadius = barCornerRadius
34 | self.showValueText = showValueText
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:33:9: error: setter for 'barCornerRadius' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
:
31 | self.fillBarColor = fillBarColor
32 | self.emptyBarColor = emptyBarColor
33 | self.barCornerRadius = barCornerRadius
| |- error: setter for 'barCornerRadius' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | self.showValueText = showValueText
35 | self.showValueDescription = showValueDescription
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:34:9: error: setter for 'showValueText' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
:
32 | self.emptyBarColor = emptyBarColor
33 | self.barCornerRadius = barCornerRadius
34 | self.showValueText = showValueText
| |- error: setter for 'showValueText' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | self.showValueDescription = showValueDescription
36 | self.isBadgeViewEnabled = isBadgeViewEnabled
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:35:9: error: setter for 'showValueDescription' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
:
33 | self.barCornerRadius = barCornerRadius
34 | self.showValueText = showValueText
35 | self.showValueDescription = showValueDescription
| |- error: setter for 'showValueDescription' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | self.isBadgeViewEnabled = isBadgeViewEnabled
37 | self.badgeViewModel = badgeViewModel
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:36:9: error: setter for 'isBadgeViewEnabled' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
:
34 | self.showValueText = showValueText
35 | self.showValueDescription = showValueDescription
36 | self.isBadgeViewEnabled = isBadgeViewEnabled
| |- error: setter for 'isBadgeViewEnabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | self.badgeViewModel = badgeViewModel
38 | self.direction = direction
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:37:9: error: setter for 'badgeViewModel' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
:
35 | self.showValueDescription = showValueDescription
36 | self.isBadgeViewEnabled = isBadgeViewEnabled
37 | self.badgeViewModel = badgeViewModel
| |- error: setter for 'badgeViewModel' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | self.direction = direction
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:38:9: error: setter for 'direction' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
| `- note: add @available attribute to enclosing class
13 | @Published public var data: [CGFloat]
14 | @Published public var dataDescriptions: [String?]?
:
24 | @Published public var direction: BarChartDirection
25 |
26 | public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
| `- note: add @available attribute to enclosing initializer
27 | self.data = data
28 | self.dataDescriptions = dataDescriptions
:
36 | self.isBadgeViewEnabled = isBadgeViewEnabled
37 | self.badgeViewModel = badgeViewModel
38 | self.direction = direction
| |- error: setter for 'direction' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | }
40 | }
[36/43] Compiling BIKCharts Optional+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/GeometryProxy+Extension.swift:11:11: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | extension GeometryProxy {
| | `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | var width: CGFloat {
13 | size.width
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:12:43: 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:14:66: error: 'View' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
/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/Util/Extension/UI/View+Extension.swift:22:50: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:164: error: 'View' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:62: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:72: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | func animateOnAppear(using animation: Animation = Animation.easeInOut(duration: 1),
13 | delay: Double = 0.3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:15:16: error: 'onAppear(perform:)' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | withAnimation(animation.delay(delay)) {
17 | action()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:16:13: error: 'withAnimation' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | action()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:16:37: error: 'delay' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
| |- error: 'delay' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | action()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:23:34: error: 'repeatForever(autoreverses:)' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 |
25 | return onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:25:16: error: 'onAppear(perform:)' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
25 | return onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | withAnimation(repeated) {
27 | action()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:26:13: error: 'withAnimation' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
25 | return onAppear {
26 | withAnimation(repeated) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | action()
28 | }
[37/43] Compiling BIKCharts CGRect+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/GeometryProxy+Extension.swift:11:11: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | extension GeometryProxy {
| | `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | var width: CGFloat {
13 | size.width
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:12:43: 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:14:66: error: 'View' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
/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/Util/Extension/UI/View+Extension.swift:22:50: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:164: error: 'View' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:62: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:72: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | func animateOnAppear(using animation: Animation = Animation.easeInOut(duration: 1),
13 | delay: Double = 0.3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:15:16: error: 'onAppear(perform:)' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | withAnimation(animation.delay(delay)) {
17 | action()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:16:13: error: 'withAnimation' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | action()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:16:37: error: 'delay' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
| |- error: 'delay' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | action()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:23:34: error: 'repeatForever(autoreverses:)' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 |
25 | return onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:25:16: error: 'onAppear(perform:)' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
25 | return onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | withAnimation(repeated) {
27 | action()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:26:13: error: 'withAnimation' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
25 | return onAppear {
26 | withAnimation(repeated) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | action()
28 | }
[38/43] Compiling BIKCharts GeometryProxy+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/GeometryProxy+Extension.swift:11:11: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | extension GeometryProxy {
| | `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | var width: CGFloat {
13 | size.width
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:12:43: 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:14:66: error: 'View' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
/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/Util/Extension/UI/View+Extension.swift:22:50: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:164: error: 'View' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:62: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:72: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | func animateOnAppear(using animation: Animation = Animation.easeInOut(duration: 1),
13 | delay: Double = 0.3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:15:16: error: 'onAppear(perform:)' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | withAnimation(animation.delay(delay)) {
17 | action()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:16:13: error: 'withAnimation' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | action()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:16:37: error: 'delay' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
| |- error: 'delay' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | action()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:23:34: error: 'repeatForever(autoreverses:)' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 |
25 | return onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:25:16: error: 'onAppear(perform:)' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
25 | return onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | withAnimation(repeated) {
27 | action()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:26:13: error: 'withAnimation' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
25 | return onAppear {
26 | withAnimation(repeated) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | action()
28 | }
[39/43] Compiling BIKCharts View+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/GeometryProxy+Extension.swift:11:11: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | extension GeometryProxy {
| | `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | var width: CGFloat {
13 | size.width
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:12:43: 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:14:66: error: 'View' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
/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/Util/Extension/UI/View+Extension.swift:22:50: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:164: error: 'View' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:62: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:22:72: 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| | `- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
12 | func animateOnAppear(using animation: Animation = Animation.easeInOut(duration: 1),
13 | delay: Double = 0.3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:15:16: error: 'onAppear(perform:)' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | withAnimation(animation.delay(delay)) {
17 | action()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:16:13: error: 'withAnimation' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | action()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:16:37: error: 'delay' 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),
| `- note: add @available attribute to enclosing instance method
13 | delay: Double = 0.3,
14 | _ action: @escaping () -> Void) -> some View {
15 | return onAppear {
16 | withAnimation(animation.delay(delay)) {
| |- error: 'delay' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | action()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:23:34: error: 'repeatForever(autoreverses:)' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
| |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 |
25 | return onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:25:16: error: 'onAppear(perform:)' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
25 | return onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | withAnimation(repeated) {
27 | action()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Util/Extension/UI/View+Extension.swift:26:13: error: 'withAnimation' 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),
13 | delay: Double = 0.3,
:
20 | }
21 |
22 | func animateForeverOnAppear(using animation: Animation = Animation.easeInOut(duration: 1), autoreverses: Bool = false, _ action: @escaping () -> Void) -> some View {
| `- note: add @available attribute to enclosing instance method
23 | let repeated = animation.repeatForever(autoreverses: autoreverses)
24 |
25 | return onAppear {
26 | withAnimation(repeated) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | action()
28 | }
[40/43] Compiling BIKCharts BarMockData.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:15:53: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
13 | calculationType: .maxValue,
14 | barSpacing: 16,
15 | fillBarColor: .green,
| `- error: 'green' is only available in macOS 10.15 or newer
16 | emptyBarColor: .gray,
17 | barCornerRadius: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:16:54: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
14 | barSpacing: 16,
15 | fillBarColor: .green,
16 | emptyBarColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
17 | barCornerRadius: .zero,
18 | showValueText: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:21:98: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
19 | showValueDescription: true,
20 | isBadgeViewEnabled: true,
21 | badgeViewModel: .init(showUnderline: true, underlineColor: .red, title: "Değeri", foregroundColor: .purple),
| `- error: 'red' is only available in macOS 10.15 or newer
22 | direction: .vertical)
23 | let sampleModel2 = BarChartModel(data: Array(Mock().values),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:21:139: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
19 | showValueDescription: true,
20 | isBadgeViewEnabled: true,
21 | badgeViewModel: .init(showUnderline: true, underlineColor: .red, title: "Değeri", foregroundColor: .purple),
| `- error: 'purple' is only available in macOS 10.15 or newer
22 | direction: .vertical)
23 | let sampleModel2 = BarChartModel(data: Array(Mock().values),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:27:53: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
25 | calculationType: .maxValue,
26 | barSpacing: 16,
27 | fillBarColor: .orange,
| `- error: 'orange' is only available in macOS 10.15 or newer
28 | emptyBarColor: .purple,
29 | barCornerRadius: 4,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:28:54: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
26 | barSpacing: 16,
27 | fillBarColor: .orange,
28 | emptyBarColor: .purple,
| `- error: 'purple' is only available in macOS 10.15 or newer
29 | barCornerRadius: 4,
30 | showValueText: false,
/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/Sample/MockData/BarMockData.swift:37:53: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
35 | calculationType: .maxValue,
36 | barSpacing: 8,
37 | fillBarColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
38 | emptyBarColor: .red,
39 | barCornerRadius: 8,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:38:54: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
36 | barSpacing: 8,
37 | fillBarColor: .blue,
38 | emptyBarColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
39 | barCornerRadius: 8,
40 | showValueText: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:47:53: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
45 | calculationType: .maxValue,
46 | barSpacing: 2,
47 | fillBarColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
48 | emptyBarColor: .gray,
49 | barCornerRadius: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:48:54: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
46 | barSpacing: 2,
47 | fillBarColor: .red,
48 | emptyBarColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
49 | barCornerRadius: .zero,
50 | showValueText: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:40:34: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
| `- error: 'red' is only available in macOS 10.15 or newer
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:41:34: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
| `- error: 'gray' is only available in macOS 10.15 or newer
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:42:34: error: 'yellow' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
| `- error: 'yellow' is only available in macOS 10.15 or newer
43 | .init(value: 122, color: .green),
44 | .init(value: 250, color: .orange),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:43:35: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
| `- error: 'green' is only available in macOS 10.15 or newer
44 | .init(value: 250, color: .orange),
45 | ]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:44:35: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
44 | .init(value: 250, color: .orange),
| `- error: 'orange' is only available in macOS 10.15 or newer
45 | ]
46 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:15:51: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
13 | lineWidth: 2,
14 | showPoints: true,
15 | lineColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
16 | pointColor: .gray,
17 | fillWithLinearGradient: nil,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:16:52: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
14 | showPoints: true,
15 | lineColor: .red,
16 | pointColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
17 | fillWithLinearGradient: nil,
18 | showLineWhenFilled: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:24:51: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
22 | lineWidth: 4,
23 | showPoints: false,
24 | lineColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:25:52: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
23 | showPoints: false,
24 | lineColor: .blue,
25 | pointColor: .orange,
| `- error: 'orange' is only available in macOS 10.15 or newer
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
27 | showLineWhenFilled: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:79: error: 'Gradient' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'Gradient' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:98: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'red' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:104: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'green' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:112: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'purple' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:33:51: error: 'black' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
31 | lineWidth: 1,
32 | showPoints: false,
33 | lineColor: .black,
| `- error: 'black' is only available in macOS 10.15 or newer
34 | pointColor: .pink,
35 | fillWithLinearGradient: nil,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:34:52: error: 'pink' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
32 | showPoints: false,
33 | lineColor: .black,
34 | pointColor: .pink,
| `- error: 'pink' is only available in macOS 10.15 or newer
35 | fillWithLinearGradient: nil,
36 | showLineWhenFilled: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:42:51: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
40 | lineWidth: 5,
41 | showPoints: true,
42 | lineColor: .green,
| `- error: 'green' is only available in macOS 10.15 or newer
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:43:52: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
41 | showPoints: true,
42 | lineColor: .green,
43 | pointColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
45 | showLineWhenFilled: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:79: error: 'Gradient' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'Gradient' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:98: error: 'yellow' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'yellow' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:107: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'orange' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:116: error: 'pink' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'pink' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
[41/43] Compiling BIKCharts CircularMockData.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:15:53: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
13 | calculationType: .maxValue,
14 | barSpacing: 16,
15 | fillBarColor: .green,
| `- error: 'green' is only available in macOS 10.15 or newer
16 | emptyBarColor: .gray,
17 | barCornerRadius: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:16:54: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
14 | barSpacing: 16,
15 | fillBarColor: .green,
16 | emptyBarColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
17 | barCornerRadius: .zero,
18 | showValueText: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:21:98: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
19 | showValueDescription: true,
20 | isBadgeViewEnabled: true,
21 | badgeViewModel: .init(showUnderline: true, underlineColor: .red, title: "Değeri", foregroundColor: .purple),
| `- error: 'red' is only available in macOS 10.15 or newer
22 | direction: .vertical)
23 | let sampleModel2 = BarChartModel(data: Array(Mock().values),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:21:139: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
19 | showValueDescription: true,
20 | isBadgeViewEnabled: true,
21 | badgeViewModel: .init(showUnderline: true, underlineColor: .red, title: "Değeri", foregroundColor: .purple),
| `- error: 'purple' is only available in macOS 10.15 or newer
22 | direction: .vertical)
23 | let sampleModel2 = BarChartModel(data: Array(Mock().values),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:27:53: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
25 | calculationType: .maxValue,
26 | barSpacing: 16,
27 | fillBarColor: .orange,
| `- error: 'orange' is only available in macOS 10.15 or newer
28 | emptyBarColor: .purple,
29 | barCornerRadius: 4,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:28:54: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
26 | barSpacing: 16,
27 | fillBarColor: .orange,
28 | emptyBarColor: .purple,
| `- error: 'purple' is only available in macOS 10.15 or newer
29 | barCornerRadius: 4,
30 | showValueText: false,
/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/Sample/MockData/BarMockData.swift:37:53: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
35 | calculationType: .maxValue,
36 | barSpacing: 8,
37 | fillBarColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
38 | emptyBarColor: .red,
39 | barCornerRadius: 8,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:38:54: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
36 | barSpacing: 8,
37 | fillBarColor: .blue,
38 | emptyBarColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
39 | barCornerRadius: 8,
40 | showValueText: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:47:53: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
45 | calculationType: .maxValue,
46 | barSpacing: 2,
47 | fillBarColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
48 | emptyBarColor: .gray,
49 | barCornerRadius: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:48:54: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
46 | barSpacing: 2,
47 | fillBarColor: .red,
48 | emptyBarColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
49 | barCornerRadius: .zero,
50 | showValueText: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:40:34: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
| `- error: 'red' is only available in macOS 10.15 or newer
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:41:34: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
| `- error: 'gray' is only available in macOS 10.15 or newer
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:42:34: error: 'yellow' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
| `- error: 'yellow' is only available in macOS 10.15 or newer
43 | .init(value: 122, color: .green),
44 | .init(value: 250, color: .orange),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:43:35: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
| `- error: 'green' is only available in macOS 10.15 or newer
44 | .init(value: 250, color: .orange),
45 | ]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:44:35: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
44 | .init(value: 250, color: .orange),
| `- error: 'orange' is only available in macOS 10.15 or newer
45 | ]
46 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:15:51: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
13 | lineWidth: 2,
14 | showPoints: true,
15 | lineColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
16 | pointColor: .gray,
17 | fillWithLinearGradient: nil,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:16:52: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
14 | showPoints: true,
15 | lineColor: .red,
16 | pointColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
17 | fillWithLinearGradient: nil,
18 | showLineWhenFilled: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:24:51: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
22 | lineWidth: 4,
23 | showPoints: false,
24 | lineColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:25:52: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
23 | showPoints: false,
24 | lineColor: .blue,
25 | pointColor: .orange,
| `- error: 'orange' is only available in macOS 10.15 or newer
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
27 | showLineWhenFilled: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:79: error: 'Gradient' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'Gradient' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:98: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'red' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:104: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'green' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:112: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'purple' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:33:51: error: 'black' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
31 | lineWidth: 1,
32 | showPoints: false,
33 | lineColor: .black,
| `- error: 'black' is only available in macOS 10.15 or newer
34 | pointColor: .pink,
35 | fillWithLinearGradient: nil,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:34:52: error: 'pink' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
32 | showPoints: false,
33 | lineColor: .black,
34 | pointColor: .pink,
| `- error: 'pink' is only available in macOS 10.15 or newer
35 | fillWithLinearGradient: nil,
36 | showLineWhenFilled: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:42:51: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
40 | lineWidth: 5,
41 | showPoints: true,
42 | lineColor: .green,
| `- error: 'green' is only available in macOS 10.15 or newer
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:43:52: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
41 | showPoints: true,
42 | lineColor: .green,
43 | pointColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
45 | showLineWhenFilled: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:79: error: 'Gradient' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'Gradient' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:98: error: 'yellow' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'yellow' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:107: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'orange' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:116: error: 'pink' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'pink' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
[42/43] Compiling BIKCharts LineMockData.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:15:53: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
13 | calculationType: .maxValue,
14 | barSpacing: 16,
15 | fillBarColor: .green,
| `- error: 'green' is only available in macOS 10.15 or newer
16 | emptyBarColor: .gray,
17 | barCornerRadius: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:16:54: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
14 | barSpacing: 16,
15 | fillBarColor: .green,
16 | emptyBarColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
17 | barCornerRadius: .zero,
18 | showValueText: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:21:98: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
19 | showValueDescription: true,
20 | isBadgeViewEnabled: true,
21 | badgeViewModel: .init(showUnderline: true, underlineColor: .red, title: "Değeri", foregroundColor: .purple),
| `- error: 'red' is only available in macOS 10.15 or newer
22 | direction: .vertical)
23 | let sampleModel2 = BarChartModel(data: Array(Mock().values),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:21:139: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
19 | showValueDescription: true,
20 | isBadgeViewEnabled: true,
21 | badgeViewModel: .init(showUnderline: true, underlineColor: .red, title: "Değeri", foregroundColor: .purple),
| `- error: 'purple' is only available in macOS 10.15 or newer
22 | direction: .vertical)
23 | let sampleModel2 = BarChartModel(data: Array(Mock().values),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:27:53: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
25 | calculationType: .maxValue,
26 | barSpacing: 16,
27 | fillBarColor: .orange,
| `- error: 'orange' is only available in macOS 10.15 or newer
28 | emptyBarColor: .purple,
29 | barCornerRadius: 4,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:28:54: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
26 | barSpacing: 16,
27 | fillBarColor: .orange,
28 | emptyBarColor: .purple,
| `- error: 'purple' is only available in macOS 10.15 or newer
29 | barCornerRadius: 4,
30 | showValueText: false,
/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/Sample/MockData/BarMockData.swift:37:53: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
35 | calculationType: .maxValue,
36 | barSpacing: 8,
37 | fillBarColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
38 | emptyBarColor: .red,
39 | barCornerRadius: 8,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:38:54: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
36 | barSpacing: 8,
37 | fillBarColor: .blue,
38 | emptyBarColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
39 | barCornerRadius: 8,
40 | showValueText: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:47:53: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
45 | calculationType: .maxValue,
46 | barSpacing: 2,
47 | fillBarColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
48 | emptyBarColor: .gray,
49 | barCornerRadius: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:48:54: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
46 | barSpacing: 2,
47 | fillBarColor: .red,
48 | emptyBarColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
49 | barCornerRadius: .zero,
50 | showValueText: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:40:34: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
| `- error: 'red' is only available in macOS 10.15 or newer
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:41:34: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
| `- error: 'gray' is only available in macOS 10.15 or newer
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:42:34: error: 'yellow' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
| `- error: 'yellow' is only available in macOS 10.15 or newer
43 | .init(value: 122, color: .green),
44 | .init(value: 250, color: .orange),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:43:35: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
| `- error: 'green' is only available in macOS 10.15 or newer
44 | .init(value: 250, color: .orange),
45 | ]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:44:35: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
44 | .init(value: 250, color: .orange),
| `- error: 'orange' is only available in macOS 10.15 or newer
45 | ]
46 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:15:51: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
13 | lineWidth: 2,
14 | showPoints: true,
15 | lineColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
16 | pointColor: .gray,
17 | fillWithLinearGradient: nil,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:16:52: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
14 | showPoints: true,
15 | lineColor: .red,
16 | pointColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
17 | fillWithLinearGradient: nil,
18 | showLineWhenFilled: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:24:51: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
22 | lineWidth: 4,
23 | showPoints: false,
24 | lineColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:25:52: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
23 | showPoints: false,
24 | lineColor: .blue,
25 | pointColor: .orange,
| `- error: 'orange' is only available in macOS 10.15 or newer
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
27 | showLineWhenFilled: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:79: error: 'Gradient' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'Gradient' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:98: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'red' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:104: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'green' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:112: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'purple' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:33:51: error: 'black' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
31 | lineWidth: 1,
32 | showPoints: false,
33 | lineColor: .black,
| `- error: 'black' is only available in macOS 10.15 or newer
34 | pointColor: .pink,
35 | fillWithLinearGradient: nil,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:34:52: error: 'pink' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
32 | showPoints: false,
33 | lineColor: .black,
34 | pointColor: .pink,
| `- error: 'pink' is only available in macOS 10.15 or newer
35 | fillWithLinearGradient: nil,
36 | showLineWhenFilled: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:42:51: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
40 | lineWidth: 5,
41 | showPoints: true,
42 | lineColor: .green,
| `- error: 'green' is only available in macOS 10.15 or newer
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:43:52: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
41 | showPoints: true,
42 | lineColor: .green,
43 | pointColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
45 | showLineWhenFilled: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:79: error: 'Gradient' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'Gradient' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:98: error: 'yellow' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'yellow' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:107: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'orange' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:116: error: 'pink' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'pink' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
[43/43] Compiling BIKCharts MockData.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:15:53: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
13 | calculationType: .maxValue,
14 | barSpacing: 16,
15 | fillBarColor: .green,
| `- error: 'green' is only available in macOS 10.15 or newer
16 | emptyBarColor: .gray,
17 | barCornerRadius: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:16:54: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
14 | barSpacing: 16,
15 | fillBarColor: .green,
16 | emptyBarColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
17 | barCornerRadius: .zero,
18 | showValueText: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:21:98: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
19 | showValueDescription: true,
20 | isBadgeViewEnabled: true,
21 | badgeViewModel: .init(showUnderline: true, underlineColor: .red, title: "Değeri", foregroundColor: .purple),
| `- error: 'red' is only available in macOS 10.15 or newer
22 | direction: .vertical)
23 | let sampleModel2 = BarChartModel(data: Array(Mock().values),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:21:139: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
19 | showValueDescription: true,
20 | isBadgeViewEnabled: true,
21 | badgeViewModel: .init(showUnderline: true, underlineColor: .red, title: "Değeri", foregroundColor: .purple),
| `- error: 'purple' is only available in macOS 10.15 or newer
22 | direction: .vertical)
23 | let sampleModel2 = BarChartModel(data: Array(Mock().values),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:27:53: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
25 | calculationType: .maxValue,
26 | barSpacing: 16,
27 | fillBarColor: .orange,
| `- error: 'orange' is only available in macOS 10.15 or newer
28 | emptyBarColor: .purple,
29 | barCornerRadius: 4,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:28:54: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
26 | barSpacing: 16,
27 | fillBarColor: .orange,
28 | emptyBarColor: .purple,
| `- error: 'purple' is only available in macOS 10.15 or newer
29 | barCornerRadius: 4,
30 | showValueText: false,
/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/Sample/MockData/BarMockData.swift:37:53: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
35 | calculationType: .maxValue,
36 | barSpacing: 8,
37 | fillBarColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
38 | emptyBarColor: .red,
39 | barCornerRadius: 8,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:38:54: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
36 | barSpacing: 8,
37 | fillBarColor: .blue,
38 | emptyBarColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
39 | barCornerRadius: 8,
40 | showValueText: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:47:53: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
45 | calculationType: .maxValue,
46 | barSpacing: 2,
47 | fillBarColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
48 | emptyBarColor: .gray,
49 | barCornerRadius: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/BarMockData.swift:48:54: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BarMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = BarChartModel(data: Mock().values,
12 | dataDescriptions: Mock().titles,
:
46 | barSpacing: 2,
47 | fillBarColor: .red,
48 | emptyBarColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
49 | barCornerRadius: .zero,
50 | showValueText: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:40:34: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
| `- error: 'red' is only available in macOS 10.15 or newer
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:41:34: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
| `- error: 'gray' is only available in macOS 10.15 or newer
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:42:34: error: 'yellow' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
| `- error: 'yellow' is only available in macOS 10.15 or newer
43 | .init(value: 122, color: .green),
44 | .init(value: 250, color: .orange),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:43:35: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
| `- error: 'green' is only available in macOS 10.15 or newer
44 | .init(value: 250, color: .orange),
45 | ]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/CircularMockData.swift:44:35: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CircularMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = CircularChartModel(data: mockCircularSliceModels,
12 | calculationStyle: .maxValue,
:
37 | dash: []))
38 |
39 | private static let mockCircularSliceModels: [ChartSliceDataModel] = [
| `- note: add @available attribute to enclosing static property
40 | .init(value: 25, color: .red),
41 | .init(value: 75, color: .gray),
42 | .init(value: 55, color: .yellow),
43 | .init(value: 122, color: .green),
44 | .init(value: 250, color: .orange),
| `- error: 'orange' is only available in macOS 10.15 or newer
45 | ]
46 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:15:51: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
13 | lineWidth: 2,
14 | showPoints: true,
15 | lineColor: .red,
| `- error: 'red' is only available in macOS 10.15 or newer
16 | pointColor: .gray,
17 | fillWithLinearGradient: nil,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:16:52: error: 'gray' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
14 | showPoints: true,
15 | lineColor: .red,
16 | pointColor: .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
17 | fillWithLinearGradient: nil,
18 | showLineWhenFilled: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:24:51: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
22 | lineWidth: 4,
23 | showPoints: false,
24 | lineColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:25:52: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
23 | showPoints: false,
24 | lineColor: .blue,
25 | pointColor: .orange,
| `- error: 'orange' is only available in macOS 10.15 or newer
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
27 | showLineWhenFilled: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:79: error: 'Gradient' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'Gradient' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:98: error: 'red' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'red' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:104: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'green' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:26:112: error: 'purple' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
24 | lineColor: .blue,
25 | pointColor: .orange,
26 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.red, .green, .purple]), startPoint: .bottom, endPoint: .top),
| `- error: 'purple' is only available in macOS 10.15 or newer
27 | showLineWhenFilled: true,
28 | dashOfLine: [0])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:33:51: error: 'black' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
31 | lineWidth: 1,
32 | showPoints: false,
33 | lineColor: .black,
| `- error: 'black' is only available in macOS 10.15 or newer
34 | pointColor: .pink,
35 | fillWithLinearGradient: nil,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:34:52: error: 'pink' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
32 | showPoints: false,
33 | lineColor: .black,
34 | pointColor: .pink,
| `- error: 'pink' is only available in macOS 10.15 or newer
35 | fillWithLinearGradient: nil,
36 | showLineWhenFilled: false,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:42:51: error: 'green' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
40 | lineWidth: 5,
41 | showPoints: true,
42 | lineColor: .green,
| `- error: 'green' is only available in macOS 10.15 or newer
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:43:52: error: 'blue' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
41 | showPoints: true,
42 | lineColor: .green,
43 | pointColor: .blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
45 | showLineWhenFilled: true,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:79: error: 'Gradient' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'Gradient' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:98: error: 'yellow' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'yellow' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:107: error: 'orange' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'orange' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/LineMockData.swift:44:116: error: 'pink' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct LineMockData {
| `- note: add @available attribute to enclosing struct
11 | let sampleModel1 = LineChartModel(data: Mock().values,
12 | calculationStyle: .maxValue,
:
42 | lineColor: .green,
43 | pointColor: .blue,
44 | fillWithLinearGradient: .init(gradient: Gradient(colors: [.yellow, .orange, .pink]), startPoint: .bottomLeading, endPoint: .bottomTrailing),
| `- error: 'pink' is only available in macOS 10.15 or newer
45 | showLineWhenFilled: true,
46 | dashOfLine: [])
BUILD FAILURE 6.2 macosSpm