Build Information
Failed to build BIKCharts with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:47: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:56: error: 'blue' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:56: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:63: error: 'gray' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:63: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:70: error: 'orange' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:70: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:79: error: 'purple' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:79: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:38:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
self.viewModel = viewModel
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:38:9: note: add 'if #available' version check
self.viewModel = viewModel
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:37:12: note: add @available attribute to enclosing initializer
public init(viewModel: PieChartModel, tapAction: TapAction? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:45:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { proxy in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:45:9: note: add 'if #available' version check
GeometryReader { proxy in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:46:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:47:49: error: 'buildIf' is only available in macOS 10.15 or newer
if viewModel.borderStyle != nil {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:49:17: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:50:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(0..<viewModel.data.count, id: \.self) { index in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:50:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(0..<viewModel.data.count, id: \.self) { index in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:50:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(0..<viewModel.data.count, id: \.self) { index in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:46:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:46:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:54:14: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(shouldDraw ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:56:34: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
.animateOnAppear(using: .spring(response: 1, dampingFraction: 0.5, blendDuration: 0.7)) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:56:34: note: add 'if #available' version check
.animateOnAppear(using: .spring(response: 1, dampingFraction: 0.5, blendDuration: 0.7)) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:57:13: error: setter for 'shouldDraw' is only available in macOS 10.15 or newer
shouldDraw = true
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:57:13: note: add 'if #available' version check
shouldDraw = true
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:72:51: error: cannot pass as inout because setter for 'data' is only available in macOS 10.15 or newer
color: viewModel.data[index].slice.color ?? colorSet[index],
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:72:51: note: add 'if #available' version check
color: viewModel.data[index].slice.color ?? colorSet[index],
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:74:64: error: cannot pass as inout because setter for 'data' is only available in macOS 10.15 or newer
titleConfiguration: viewModel.data[index].titleConfiguration)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:74:64: note: add 'if #available' version check
titleConfiguration: viewModel.data[index].titleConfiguration)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:76:14: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(tappedPieceIndex == index ? 1.2 : 1)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:76:14: note: add 'if #available' version check
.scaleEffect(tappedPieceIndex == index ? 1.2 : 1)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:77:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:77:14: note: add 'if #available' version check
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:79:14: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:79:14: note: add 'if #available' version check
.onTapGesture {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:80:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:80:17: note: add 'if #available' version check
withAnimation {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:81:21: error: setter for 'tappedPieceIndex' is only available in macOS 10.15 or newer
tappedPieceIndex = index == tappedPieceIndex ? nil : index
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:81:21: note: add 'if #available' version check
tappedPieceIndex = index == tappedPieceIndex ? nil : index
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:83:28: error: cannot pass as inout because setter for 'data' is only available in macOS 10.15 or newer
tapAction?(viewModel.data[index])
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:83:28: note: add 'if #available' version check
tapAction?(viewModel.data[index])
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:88:9: error: 'Circle' is only available in macOS 10.15 or newer
Circle()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:88:9: note: add 'if #available' version check
Circle()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:14: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:14: note: add 'if #available' version check
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:73: error: 'Color' is only available in macOS 10.15 or newer
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:73: note: add 'if #available' version check
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:79: error: 'red' is only available in macOS 10.15 or newer
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:79: note: add 'if #available' version check
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:90:85: error: 'StrokeStyle' is only available in macOS 10.15 or newer
style: viewModel.borderStyle?.circumferenceBorderStrokeStyle ?? StrokeStyle())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:90:85: note: add 'if #available' version check
style: viewModel.borderStyle?.circumferenceBorderStrokeStyle ?? StrokeStyle())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:91:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:91:14: note: add 'if #available' version check
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:116: error: 'blue' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:116: note: add 'if #available' version check
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:129: error: 'body' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:129: note: add 'if #available' version check
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:117: error: 'red' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:117: note: add 'if #available' version check
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:129: error: 'callout' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:129: note: add 'if #available' version check
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:117: error: 'gray' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:117: note: add 'if #available' version check
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:130: error: 'headline' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:130: note: add 'if #available' version check
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:114: error: 'purple' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:114: note: add 'if #available' version check
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:129: error: 'subheadline' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:129: note: add 'if #available' version check
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:63: error: 'white' is only available in macOS 10.15 or newer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:12: note: add @available attribute to enclosing initializer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:28:15: note: add @available attribute to enclosing struct
public struct TitleConfiguration {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:84: error: 'headline' is only available in macOS 10.15 or newer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:12: note: add @available attribute to enclosing initializer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:28:15: note: add @available attribute to enclosing struct
public struct TitleConfiguration {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:18:52: error: 'red' is only available in macOS 10.15 or newer
circumferenceBorderColor: Color = .red) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:12: note: add @available attribute to enclosing initializer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:12:41: error: 'StrokeStyle' is only available in macOS 10.15 or newer
let circumferenceBorderStrokeStyle: StrokeStyle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:13:35: error: 'Color' is only available in macOS 10.15 or newer
let circumferenceBorderColor: Color
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:49: error: 'StrokeStyle' is only available in macOS 10.15 or newer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:12: note: add @available attribute to enclosing initializer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:18:43: error: 'Color' is only available in macOS 10.15 or newer
circumferenceBorderColor: Color = .red) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:12: note: add @available attribute to enclosing initializer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:36:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var data: [PieChartData]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:37:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var borderStyle: BorderStyle?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
<unknown>:0: error: key path value type 'KeyPath<PieChartModel, [PieChartData]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<PieChartModel, [PieChartData]>'
<unknown>:0: error: key path value type 'KeyPath<PieChartModel, BorderStyle?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<PieChartModel, BorderStyle?>'
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:40:9: error: setter for 'data' is only available in macOS 10.15 or newer
self.data = data
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:40:9: note: add 'if #available' version check
self.data = data
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:39:12: note: add @available attribute to enclosing initializer
public init(data: [PieChartData], borderStyle: BorderStyle? = BorderStyle()) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:41:9: error: setter for 'borderStyle' is only available in macOS 10.15 or newer
self.borderStyle = borderStyle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:41:9: note: add 'if #available' version check
self.borderStyle = borderStyle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:39:12: note: add @available attribute to enclosing initializer
public init(data: [PieChartData], borderStyle: BorderStyle? = BorderStyle()) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
[41/42] Compiling BIKCharts PieChart.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:35: error: 'Path' is only available in macOS 10.15 or newer
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:15:17: warning: stored property 'viewModel' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineShapeModel'
private let viewModel: LineShapeModel
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShapeModel.swift:11:8: note: consider making struct 'LineShapeModel' conform to the 'Sendable' protocol
struct LineShapeModel {
^
: Sendable
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:24:9: error: 'Path' is only available in macOS 10.15 or newer
Path { path in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:24:9: note: add 'if #available' version check
Path { path in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:31:30: error: 'move(to:)' is only available in macOS 10.15 or newer
path.move(to: .init(x: 0, y: rect.height))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:31:30: note: add 'if #available' version check
path.move(to: .init(x: 0, y: rect.height))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:32:30: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:32:30: note: add 'if #available' version check
path.addLine(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:34:30: error: 'move(to:)' is only available in macOS 10.15 or newer
path.move(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:34:30: note: add 'if #available' version check
path.move(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:37:26: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:37:26: note: add 'if #available' version check
path.addLine(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:41:22: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: .init(x: CGFloat(viewModel.data.count-1) * (rect.width / CGFloat(viewModel.data.count-1)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:41:22: note: add 'if #available' version check
path.addLine(to: .init(x: CGFloat(viewModel.data.count-1) * (rect.width / CGFloat(viewModel.data.count-1)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:20:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var viewModel: PieChartModel
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
@State private var shouldDraw: Bool = false
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
@State private var tappedPieceIndex: Int?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:28: error: 'Color' is only available in macOS 10.15 or newer
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:68: error: 'View' is only available in macOS 10.15 or newer
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:27: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:50: error: 'View' is only available in macOS 10.15 or newer
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:28:24: error: 'Color' is only available in macOS 10.15 or newer
var colorSet: [Color] = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:28:24: note: add 'if #available' version check
var colorSet: [Color] = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:22: error: 'Color' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:22: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:33: error: 'red' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:33: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:39: error: 'green' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:39: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:47: error: 'yellow' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:47: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:56: error: 'blue' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:56: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:63: error: 'gray' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:63: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:70: error: 'orange' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:70: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:79: error: 'purple' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:79: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:38:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
self.viewModel = viewModel
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:38:9: note: add 'if #available' version check
self.viewModel = viewModel
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:37:12: note: add @available attribute to enclosing initializer
public init(viewModel: PieChartModel, tapAction: TapAction? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:45:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { proxy in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:45:9: note: add 'if #available' version check
GeometryReader { proxy in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:46:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:47:49: error: 'buildIf' is only available in macOS 10.15 or newer
if viewModel.borderStyle != nil {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:49:17: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:50:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(0..<viewModel.data.count, id: \.self) { index in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:50:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(0..<viewModel.data.count, id: \.self) { index in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:50:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(0..<viewModel.data.count, id: \.self) { index in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:46:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:46:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:54:14: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(shouldDraw ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:56:34: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
.animateOnAppear(using: .spring(response: 1, dampingFraction: 0.5, blendDuration: 0.7)) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:56:34: note: add 'if #available' version check
.animateOnAppear(using: .spring(response: 1, dampingFraction: 0.5, blendDuration: 0.7)) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:57:13: error: setter for 'shouldDraw' is only available in macOS 10.15 or newer
shouldDraw = true
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:57:13: note: add 'if #available' version check
shouldDraw = true
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:72:51: error: cannot pass as inout because setter for 'data' is only available in macOS 10.15 or newer
color: viewModel.data[index].slice.color ?? colorSet[index],
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:72:51: note: add 'if #available' version check
color: viewModel.data[index].slice.color ?? colorSet[index],
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:74:64: error: cannot pass as inout because setter for 'data' is only available in macOS 10.15 or newer
titleConfiguration: viewModel.data[index].titleConfiguration)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:74:64: note: add 'if #available' version check
titleConfiguration: viewModel.data[index].titleConfiguration)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:76:14: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(tappedPieceIndex == index ? 1.2 : 1)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:76:14: note: add 'if #available' version check
.scaleEffect(tappedPieceIndex == index ? 1.2 : 1)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:77:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:77:14: note: add 'if #available' version check
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:79:14: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:79:14: note: add 'if #available' version check
.onTapGesture {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:80:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:80:17: note: add 'if #available' version check
withAnimation {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:81:21: error: setter for 'tappedPieceIndex' is only available in macOS 10.15 or newer
tappedPieceIndex = index == tappedPieceIndex ? nil : index
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:81:21: note: add 'if #available' version check
tappedPieceIndex = index == tappedPieceIndex ? nil : index
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:83:28: error: cannot pass as inout because setter for 'data' is only available in macOS 10.15 or newer
tapAction?(viewModel.data[index])
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:83:28: note: add 'if #available' version check
tapAction?(viewModel.data[index])
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:88:9: error: 'Circle' is only available in macOS 10.15 or newer
Circle()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:88:9: note: add 'if #available' version check
Circle()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:14: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:14: note: add 'if #available' version check
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:73: error: 'Color' is only available in macOS 10.15 or newer
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:73: note: add 'if #available' version check
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:79: error: 'red' is only available in macOS 10.15 or newer
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:79: note: add 'if #available' version check
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:90:85: error: 'StrokeStyle' is only available in macOS 10.15 or newer
style: viewModel.borderStyle?.circumferenceBorderStrokeStyle ?? StrokeStyle())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:90:85: note: add 'if #available' version check
style: viewModel.borderStyle?.circumferenceBorderStrokeStyle ?? StrokeStyle())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:91:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:91:14: note: add 'if #available' version check
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:116: error: 'blue' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:116: note: add 'if #available' version check
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:129: error: 'body' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:129: note: add 'if #available' version check
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:117: error: 'red' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:117: note: add 'if #available' version check
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:129: error: 'callout' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:129: note: add 'if #available' version check
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:117: error: 'gray' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:117: note: add 'if #available' version check
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:130: error: 'headline' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:130: note: add 'if #available' version check
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:114: error: 'purple' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:114: note: add 'if #available' version check
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:129: error: 'subheadline' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:129: note: add 'if #available' version check
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:63: error: 'white' is only available in macOS 10.15 or newer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:12: note: add @available attribute to enclosing initializer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:28:15: note: add @available attribute to enclosing struct
public struct TitleConfiguration {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:84: error: 'headline' is only available in macOS 10.15 or newer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:12: note: add @available attribute to enclosing initializer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:28:15: note: add @available attribute to enclosing struct
public struct TitleConfiguration {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:18:52: error: 'red' is only available in macOS 10.15 or newer
circumferenceBorderColor: Color = .red) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:12: note: add @available attribute to enclosing initializer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:12:41: error: 'StrokeStyle' is only available in macOS 10.15 or newer
let circumferenceBorderStrokeStyle: StrokeStyle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:13:35: error: 'Color' is only available in macOS 10.15 or newer
let circumferenceBorderColor: Color
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:49: error: 'StrokeStyle' is only available in macOS 10.15 or newer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:12: note: add @available attribute to enclosing initializer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:18:43: error: 'Color' is only available in macOS 10.15 or newer
circumferenceBorderColor: Color = .red) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:12: note: add @available attribute to enclosing initializer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:36:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var data: [PieChartData]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:37:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var borderStyle: BorderStyle?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
<unknown>:0: error: key path value type 'KeyPath<PieChartModel, [PieChartData]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<PieChartModel, [PieChartData]>'
<unknown>:0: error: key path value type 'KeyPath<PieChartModel, BorderStyle?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<PieChartModel, BorderStyle?>'
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:40:9: error: setter for 'data' is only available in macOS 10.15 or newer
self.data = data
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:40:9: note: add 'if #available' version check
self.data = data
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:39:12: note: add @available attribute to enclosing initializer
public init(data: [PieChartData], borderStyle: BorderStyle? = BorderStyle()) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:41:9: error: setter for 'borderStyle' is only available in macOS 10.15 or newer
self.borderStyle = borderStyle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:41:9: note: add 'if #available' version check
self.borderStyle = borderStyle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:39:12: note: add @available attribute to enclosing initializer
public init(data: [PieChartData], borderStyle: BorderStyle? = BorderStyle()) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
[42/42] Compiling BIKCharts PieChartModel.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:35: error: 'Path' is only available in macOS 10.15 or newer
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:15:17: warning: stored property 'viewModel' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineShapeModel'
private let viewModel: LineShapeModel
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShapeModel.swift:11:8: note: consider making struct 'LineShapeModel' conform to the 'Sendable' protocol
struct LineShapeModel {
^
: Sendable
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:24:9: error: 'Path' is only available in macOS 10.15 or newer
Path { path in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:24:9: note: add 'if #available' version check
Path { path in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:31:30: error: 'move(to:)' is only available in macOS 10.15 or newer
path.move(to: .init(x: 0, y: rect.height))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:31:30: note: add 'if #available' version check
path.move(to: .init(x: 0, y: rect.height))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:32:30: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:32:30: note: add 'if #available' version check
path.addLine(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:34:30: error: 'move(to:)' is only available in macOS 10.15 or newer
path.move(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:34:30: note: add 'if #available' version check
path.move(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:37:26: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:37:26: note: add 'if #available' version check
path.addLine(to: point)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:41:22: error: 'addLine(to:)' is only available in macOS 10.15 or newer
path.addLine(to: .init(x: CGFloat(viewModel.data.count-1) * (rect.width / CGFloat(viewModel.data.count-1)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:41:22: note: add 'if #available' version check
path.addLine(to: .init(x: CGFloat(viewModel.data.count-1) * (rect.width / CGFloat(viewModel.data.count-1)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:23:10: note: add @available attribute to enclosing instance method
func path(in rect: CGRect) -> Path {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/LineChart/LineShape/LineShape.swift:11:8: note: add @available attribute to enclosing struct
struct LineShape: Shape {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:20:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var viewModel: PieChartModel
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
@State private var shouldDraw: Bool = false
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
@State private var tappedPieceIndex: Int?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:28: error: 'Color' is only available in macOS 10.15 or newer
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:68: error: 'View' is only available in macOS 10.15 or newer
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:27: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:50: error: 'View' is only available in macOS 10.15 or newer
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:28:24: error: 'Color' is only available in macOS 10.15 or newer
var colorSet: [Color] = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:28:24: note: add 'if #available' version check
var colorSet: [Color] = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:22: error: 'Color' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:22: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:33: error: 'red' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:33: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:39: error: 'green' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:39: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:47: error: 'yellow' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:47: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:56: error: 'blue' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:56: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:63: error: 'gray' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:63: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:70: error: 'orange' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:70: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:79: error: 'purple' is only available in macOS 10.15 or newer
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:29:79: note: add 'if #available' version check
var colors: [Color] = [.red, .green, .yellow, .blue, .gray, .orange, .purple]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:27:17: note: add @available attribute to enclosing property
private var colorSet: [Color] {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:38:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
self.viewModel = viewModel
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:38:9: note: add 'if #available' version check
self.viewModel = viewModel
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:37:12: note: add @available attribute to enclosing initializer
public init(viewModel: PieChartModel, tapAction: TapAction? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:45:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { proxy in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:45:9: note: add 'if #available' version check
GeometryReader { proxy in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:46:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:47:49: error: 'buildIf' is only available in macOS 10.15 or newer
if viewModel.borderStyle != nil {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:49:17: error: 'buildIf' is only available in macOS 10.15 or newer
}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:50:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(0..<viewModel.data.count, id: \.self) { index in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:50:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(0..<viewModel.data.count, id: \.self) { index in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:50:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(0..<viewModel.data.count, id: \.self) { index in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:46:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:46:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:54:14: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(shouldDraw ? 1 : 0)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:56:34: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
.animateOnAppear(using: .spring(response: 1, dampingFraction: 0.5, blendDuration: 0.7)) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:56:34: note: add 'if #available' version check
.animateOnAppear(using: .spring(response: 1, dampingFraction: 0.5, blendDuration: 0.7)) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:57:13: error: setter for 'shouldDraw' is only available in macOS 10.15 or newer
shouldDraw = true
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:57:13: note: add 'if #available' version check
shouldDraw = true
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:44:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:11:15: note: add @available attribute to enclosing struct
public struct PieChart: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:72:51: error: cannot pass as inout because setter for 'data' is only available in macOS 10.15 or newer
color: viewModel.data[index].slice.color ?? colorSet[index],
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:72:51: note: add 'if #available' version check
color: viewModel.data[index].slice.color ?? colorSet[index],
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:74:64: error: cannot pass as inout because setter for 'data' is only available in macOS 10.15 or newer
titleConfiguration: viewModel.data[index].titleConfiguration)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:74:64: note: add 'if #available' version check
titleConfiguration: viewModel.data[index].titleConfiguration)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:76:14: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(tappedPieceIndex == index ? 1.2 : 1)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:76:14: note: add 'if #available' version check
.scaleEffect(tappedPieceIndex == index ? 1.2 : 1)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:77:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:77:14: note: add 'if #available' version check
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:79:14: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:79:14: note: add 'if #available' version check
.onTapGesture {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:80:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:80:17: note: add 'if #available' version check
withAnimation {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:81:21: error: setter for 'tappedPieceIndex' is only available in macOS 10.15 or newer
tappedPieceIndex = index == tappedPieceIndex ? nil : index
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:81:21: note: add 'if #available' version check
tappedPieceIndex = index == tappedPieceIndex ? nil : index
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:83:28: error: cannot pass as inout because setter for 'data' is only available in macOS 10.15 or newer
tapAction?(viewModel.data[index])
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:83:28: note: add 'if #available' version check
tapAction?(viewModel.data[index])
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:66:10: note: add @available attribute to enclosing instance method
func getPieceView(at index: Int, proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:88:9: error: 'Circle' is only available in macOS 10.15 or newer
Circle()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:88:9: note: add 'if #available' version check
Circle()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:14: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:14: note: add 'if #available' version check
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:73: error: 'Color' is only available in macOS 10.15 or newer
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:73: note: add 'if #available' version check
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:79: error: 'red' is only available in macOS 10.15 or newer
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:89:79: note: add 'if #available' version check
.stroke((viewModel.borderStyle?.circumferenceBorderColor ?? Color.red),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:90:85: error: 'StrokeStyle' is only available in macOS 10.15 or newer
style: viewModel.borderStyle?.circumferenceBorderStrokeStyle ?? StrokeStyle())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:90:85: note: add 'if #available' version check
style: viewModel.borderStyle?.circumferenceBorderStrokeStyle ?? StrokeStyle())
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:91:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:91:14: note: add 'if #available' version check
.frame(width: proxy.width,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:87:10: note: add @available attribute to enclosing instance method
func getBorder(proxy: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:64:9: note: add @available attribute to enclosing extension
private extension PieChart {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:116: error: 'blue' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:116: note: add 'if #available' version check
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:129: error: 'body' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:115:129: note: add 'if #available' version check
titleConfiguration: .init(title: "Berdil", foregroundColor: .blue, font: .body)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:117: error: 'red' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:117: note: add 'if #available' version check
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:129: error: 'callout' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:117:129: note: add 'if #available' version check
titleConfiguration: .init(title: "İlyada", foregroundColor: .red, font: .callout)),
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:117: error: 'gray' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:117: note: add 'if #available' version check
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:130: error: 'headline' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:119:130: note: add 'if #available' version check
titleConfiguration: .init(title: "Karacam", foregroundColor: .gray, font: .headline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:114: error: 'purple' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:114: note: add 'if #available' version check
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:129: error: 'subheadline' is only available in macOS 10.15 or newer
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:122:129: note: add 'if #available' version check
titleConfiguration: .init(title: "Test", foregroundColor: .purple, font: .subheadline)),
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:113:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChart.swift:112:8: note: add @available attribute to enclosing struct
struct PieChart_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:63: error: 'white' is only available in macOS 10.15 or newer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:12: note: add @available attribute to enclosing initializer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:28:15: note: add @available attribute to enclosing struct
public struct TitleConfiguration {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:84: error: 'headline' is only available in macOS 10.15 or newer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:33:12: note: add @available attribute to enclosing initializer
public init(title: String = "", foregroundColor: Color = .white, font: Font = .headline) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieSlice/PieSliceModel.swift:28:15: note: add @available attribute to enclosing struct
public struct TitleConfiguration {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:18:52: error: 'red' is only available in macOS 10.15 or newer
circumferenceBorderColor: Color = .red) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:12: note: add @available attribute to enclosing initializer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:12:41: error: 'StrokeStyle' is only available in macOS 10.15 or newer
let circumferenceBorderStrokeStyle: StrokeStyle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:13:35: error: 'Color' is only available in macOS 10.15 or newer
let circumferenceBorderColor: Color
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:49: error: 'StrokeStyle' is only available in macOS 10.15 or newer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:12: note: add @available attribute to enclosing initializer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:18:43: error: 'Color' is only available in macOS 10.15 or newer
circumferenceBorderColor: Color = .red) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:15:12: note: add @available attribute to enclosing initializer
public init(circumferenceBorderStrokeStyle: StrokeStyle = .init(lineWidth: 10,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:11:15: note: add @available attribute to enclosing struct
public struct BorderStyle {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:36:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var data: [PieChartData]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:37:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var borderStyle: BorderStyle?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
<unknown>:0: error: key path value type 'KeyPath<PieChartModel, [PieChartData]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<PieChartModel, [PieChartData]>'
<unknown>:0: error: key path value type 'KeyPath<PieChartModel, BorderStyle?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<PieChartModel, BorderStyle?>'
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:40:9: error: setter for 'data' is only available in macOS 10.15 or newer
self.data = data
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:40:9: note: add 'if #available' version check
self.data = data
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:39:12: note: add @available attribute to enclosing initializer
public init(data: [PieChartData], borderStyle: BorderStyle? = BorderStyle()) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:41:9: error: setter for 'borderStyle' is only available in macOS 10.15 or newer
self.borderStyle = borderStyle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:41:9: note: add 'if #available' version check
self.borderStyle = borderStyle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:39:12: note: add @available attribute to enclosing initializer
public init(data: [PieChartData], borderStyle: BorderStyle? = BorderStyle()) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:35:20: note: add @available attribute to enclosing class
final public class PieChartModel: ObservableObject, Identifiable {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm