The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BarKit, reference 1.1.1 (620b89), with Swift 6.1 for macOS (SPM) on 28 Jun 2026 05:55:21 UTC.

Build Command

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

Build Log

15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
   |                        |- error: 'top' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
21 |         case .center: .center
22 |         case .end:    .bottom
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:21:24: error: 'center' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
21 |         case .center: .center
   |                        |- error: 'center' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
22 |         case .end:    .bottom
23 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:22:24: error: 'bottom' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
21 |         case .center: .center
22 |         case .end:    .bottom
   |                        |- error: 'bottom' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
23 |         }
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:28:24: error: 'leading' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
   |                        |- error: 'leading' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
29 |         case .center: .center
30 |         case .end:    .trailing
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:29:24: error: 'center' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
29 |         case .center: .center
   |                        |- error: 'center' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
30 |         case .end:    .trailing
31 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:30:24: error: 'trailing' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
29 |         case .center: .center
30 |         case .end:    .trailing
   |                        |- error: 'trailing' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
31 |         }
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemProtocol.swift:21:44: error: 'Identifiable' is only available in macOS 10.15 or newer
19 | /// }
20 | /// ```
21 | public protocol BarItemProtocol: Hashable, Identifiable {
   |                 |                          `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
22 |
23 |     /// Icon to display in the item view.
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:19:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
17 |     let configuration: BadgeConfiguration
18 |
19 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
20 |         content
21 |             .offset(x: configuration.offsetX, y: configuration.offsetY)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 |             `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:26:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
24 |     // MARK: - Subviews
25 |
26 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
27 |     private var content: some View {
28 |         switch value {
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:43:36: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  |                 `- error: 'Text' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:43:50: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  |                               `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:21:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
17 |     let configuration: BadgeConfiguration
18 |
19 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
20 |         content
21 |             .offset(x: configuration.offsetX, y: configuration.offsetY)
   |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
22 |     }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'Circle' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'Circle' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:31:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
31 |                 .fill(configuration.backgroundColor)
   |                  |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                  `- note: add 'if #available' version check
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:32:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
   |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:23: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |                       |- error: 'Text' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:36:23: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
34 |             textBadge(Text("\(number)"))
35 |         case let .label(value):
36 |             textBadge(Text(value))
   |                       |- error: 'Text' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:36:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
34 |             textBadge(Text("\(number)"))
35 |         case let .label(value):
36 |             textBadge(Text(value))
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:27:36: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 |                  |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |                 |                  `- note: add 'if #available' version check
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:14: error: 'font' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:20: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |                    |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
   |                    `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:52: error: 'bold()' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |                                                    |- error: 'bold()' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:46:14: error: 'foregroundStyle' is only available in macOS 14.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
   |              |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:47:14: error: 'padding' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:48:14: error: 'padding' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:49:14: error: 'fixedSize()' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
   |              |- error: 'fixedSize()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:50:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
   |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
51 |             .clipShape(Capsule())
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:51:14: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
   |              |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
52 |     }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:51:24: error: 'Capsule' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
   |                        |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
52 |     }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:16:6: error: 'Environment' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
14 |
15 |     /// The unique coordinate space name passed from the parent layout.
16 |     @Environment(\.bkBarSpaceName) private var coordinateSpaceName
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
17 |
18 |     /// The icon to render, either a system symbol or a custom image asset.
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:24:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:37:24: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 |      `- error: 'Image' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:26:14: error: 'renderingMode' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
   |              |- error: 'renderingMode' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
27 |             .resizable()
28 |             .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:27:14: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
27 |             .resizable()
   |              |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
28 |             .aspectRatio(contentMode: .fit)
29 |             .capturePreference(
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:28:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
27 |             .resizable()
28 |             .aspectRatio(contentMode: .fit)
   |              |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
29 |             .capturePreference(
30 |                 key: BarIconFrameKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:33:29: error: 'frame(in:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
   :
31 |                 in: .named(coordinateSpaceName)
32 |             ) {
33 |                 [itemID: $0.frame(in: .named(coordinateSpaceName))]
   |                             |- error: 'frame(in:)' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
34 |             }
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:39:34: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
   |                                  |- error: 'Image' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
40 |         case let .custom(name):  Image(name)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:39:34: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
   |                                  |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                                  `- note: add 'if #available' version check
40 |         case let .custom(name):  Image(name)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:40:34: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
40 |         case let .custom(name):  Image(name)
   |                                  |- error: 'Image' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
41 |         }
42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:40:34: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
40 |         case let .custom(name):  Image(name)
   |                                  |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
41 |         }
42 |     }
[48/51] Compiling BarKit BarItemProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:18:19: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         |         `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:26:21: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         |           `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:20:24: error: 'top' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
   |                        |- error: 'top' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
21 |         case .center: .center
22 |         case .end:    .bottom
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:21:24: error: 'center' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
21 |         case .center: .center
   |                        |- error: 'center' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
22 |         case .end:    .bottom
23 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:22:24: error: 'bottom' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
21 |         case .center: .center
22 |         case .end:    .bottom
   |                        |- error: 'bottom' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
23 |         }
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:28:24: error: 'leading' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
   |                        |- error: 'leading' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
29 |         case .center: .center
30 |         case .end:    .trailing
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:29:24: error: 'center' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
29 |         case .center: .center
   |                        |- error: 'center' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
30 |         case .end:    .trailing
31 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:30:24: error: 'trailing' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
29 |         case .center: .center
30 |         case .end:    .trailing
   |                        |- error: 'trailing' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
31 |         }
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemProtocol.swift:21:44: error: 'Identifiable' is only available in macOS 10.15 or newer
19 | /// }
20 | /// ```
21 | public protocol BarItemProtocol: Hashable, Identifiable {
   |                 |                          `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
22 |
23 |     /// Icon to display in the item view.
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:19:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
17 |     let configuration: BadgeConfiguration
18 |
19 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
20 |         content
21 |             .offset(x: configuration.offsetX, y: configuration.offsetY)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 |             `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:26:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
24 |     // MARK: - Subviews
25 |
26 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
27 |     private var content: some View {
28 |         switch value {
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:43:36: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  |                 `- error: 'Text' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:43:50: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  |                               `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:21:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
17 |     let configuration: BadgeConfiguration
18 |
19 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
20 |         content
21 |             .offset(x: configuration.offsetX, y: configuration.offsetY)
   |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
22 |     }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'Circle' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'Circle' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:31:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
31 |                 .fill(configuration.backgroundColor)
   |                  |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                  `- note: add 'if #available' version check
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:32:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
   |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:23: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |                       |- error: 'Text' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:36:23: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
34 |             textBadge(Text("\(number)"))
35 |         case let .label(value):
36 |             textBadge(Text(value))
   |                       |- error: 'Text' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:36:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
34 |             textBadge(Text("\(number)"))
35 |         case let .label(value):
36 |             textBadge(Text(value))
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:27:36: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 |                  |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |                 |                  `- note: add 'if #available' version check
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:14: error: 'font' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:20: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |                    |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
   |                    `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:52: error: 'bold()' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |                                                    |- error: 'bold()' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:46:14: error: 'foregroundStyle' is only available in macOS 14.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
   |              |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:47:14: error: 'padding' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:48:14: error: 'padding' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:49:14: error: 'fixedSize()' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
   |              |- error: 'fixedSize()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:50:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
   |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
51 |             .clipShape(Capsule())
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:51:14: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
   |              |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
52 |     }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:51:24: error: 'Capsule' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
   |                        |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
52 |     }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:16:6: error: 'Environment' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
14 |
15 |     /// The unique coordinate space name passed from the parent layout.
16 |     @Environment(\.bkBarSpaceName) private var coordinateSpaceName
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
17 |
18 |     /// The icon to render, either a system symbol or a custom image asset.
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:24:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:37:24: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 |      `- error: 'Image' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:26:14: error: 'renderingMode' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
   |              |- error: 'renderingMode' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
27 |             .resizable()
28 |             .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:27:14: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
27 |             .resizable()
   |              |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
28 |             .aspectRatio(contentMode: .fit)
29 |             .capturePreference(
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:28:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
27 |             .resizable()
28 |             .aspectRatio(contentMode: .fit)
   |              |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
29 |             .capturePreference(
30 |                 key: BarIconFrameKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:33:29: error: 'frame(in:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
   :
31 |                 in: .named(coordinateSpaceName)
32 |             ) {
33 |                 [itemID: $0.frame(in: .named(coordinateSpaceName))]
   |                             |- error: 'frame(in:)' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
34 |             }
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:39:34: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
   |                                  |- error: 'Image' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
40 |         case let .custom(name):  Image(name)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:39:34: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
   |                                  |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                                  `- note: add 'if #available' version check
40 |         case let .custom(name):  Image(name)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:40:34: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
40 |         case let .custom(name):  Image(name)
   |                                  |- error: 'Image' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
41 |         }
42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:40:34: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
40 |         case let .custom(name):  Image(name)
   |                                  |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
41 |         }
42 |     }
[49/51] Compiling BarKit BarItemStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:18:19: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         |         `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:26:21: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         |           `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:20:24: error: 'top' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
   |                        |- error: 'top' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
21 |         case .center: .center
22 |         case .end:    .bottom
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:21:24: error: 'center' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
21 |         case .center: .center
   |                        |- error: 'center' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
22 |         case .end:    .bottom
23 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:22:24: error: 'bottom' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
21 |         case .center: .center
22 |         case .end:    .bottom
   |                        |- error: 'bottom' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
23 |         }
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:28:24: error: 'leading' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
   |                        |- error: 'leading' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
29 |         case .center: .center
30 |         case .end:    .trailing
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:29:24: error: 'center' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
29 |         case .center: .center
   |                        |- error: 'center' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
30 |         case .end:    .trailing
31 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:30:24: error: 'trailing' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
29 |         case .center: .center
30 |         case .end:    .trailing
   |                        |- error: 'trailing' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
31 |         }
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemProtocol.swift:21:44: error: 'Identifiable' is only available in macOS 10.15 or newer
19 | /// }
20 | /// ```
21 | public protocol BarItemProtocol: Hashable, Identifiable {
   |                 |                          `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
22 |
23 |     /// Icon to display in the item view.
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:19:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
17 |     let configuration: BadgeConfiguration
18 |
19 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
20 |         content
21 |             .offset(x: configuration.offsetX, y: configuration.offsetY)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 |             `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:26:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
24 |     // MARK: - Subviews
25 |
26 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
27 |     private var content: some View {
28 |         switch value {
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:43:36: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  |                 `- error: 'Text' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:43:50: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  |                               `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:21:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
17 |     let configuration: BadgeConfiguration
18 |
19 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
20 |         content
21 |             .offset(x: configuration.offsetX, y: configuration.offsetY)
   |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
22 |     }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'Circle' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'Circle' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:31:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
31 |                 .fill(configuration.backgroundColor)
   |                  |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                  `- note: add 'if #available' version check
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:32:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
   |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:23: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |                       |- error: 'Text' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:36:23: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
34 |             textBadge(Text("\(number)"))
35 |         case let .label(value):
36 |             textBadge(Text(value))
   |                       |- error: 'Text' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:36:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
34 |             textBadge(Text("\(number)"))
35 |         case let .label(value):
36 |             textBadge(Text(value))
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:27:36: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 |                  |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |                 |                  `- note: add 'if #available' version check
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:14: error: 'font' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:20: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |                    |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
   |                    `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:52: error: 'bold()' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |                                                    |- error: 'bold()' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:46:14: error: 'foregroundStyle' is only available in macOS 14.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
   |              |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:47:14: error: 'padding' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:48:14: error: 'padding' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:49:14: error: 'fixedSize()' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
   |              |- error: 'fixedSize()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:50:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
   |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
51 |             .clipShape(Capsule())
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:51:14: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
   |              |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
52 |     }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:51:24: error: 'Capsule' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
   |                        |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
52 |     }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:16:6: error: 'Environment' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
14 |
15 |     /// The unique coordinate space name passed from the parent layout.
16 |     @Environment(\.bkBarSpaceName) private var coordinateSpaceName
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
17 |
18 |     /// The icon to render, either a system symbol or a custom image asset.
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:24:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:37:24: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 |      `- error: 'Image' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:26:14: error: 'renderingMode' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
   |              |- error: 'renderingMode' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
27 |             .resizable()
28 |             .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:27:14: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
27 |             .resizable()
   |              |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
28 |             .aspectRatio(contentMode: .fit)
29 |             .capturePreference(
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:28:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
27 |             .resizable()
28 |             .aspectRatio(contentMode: .fit)
   |              |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
29 |             .capturePreference(
30 |                 key: BarIconFrameKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:33:29: error: 'frame(in:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
   :
31 |                 in: .named(coordinateSpaceName)
32 |             ) {
33 |                 [itemID: $0.frame(in: .named(coordinateSpaceName))]
   |                             |- error: 'frame(in:)' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
34 |             }
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:39:34: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
   |                                  |- error: 'Image' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
40 |         case let .custom(name):  Image(name)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:39:34: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
   |                                  |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                                  `- note: add 'if #available' version check
40 |         case let .custom(name):  Image(name)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:40:34: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
40 |         case let .custom(name):  Image(name)
   |                                  |- error: 'Image' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
41 |         }
42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:40:34: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
40 |         case let .custom(name):  Image(name)
   |                                  |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
41 |         }
42 |     }
[50/51] Compiling BarKit BadgeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:18:19: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         |         `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:26:21: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         |           `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:20:24: error: 'top' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
   |                        |- error: 'top' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
21 |         case .center: .center
22 |         case .end:    .bottom
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:21:24: error: 'center' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
21 |         case .center: .center
   |                        |- error: 'center' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
22 |         case .end:    .bottom
23 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:22:24: error: 'bottom' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
21 |         case .center: .center
22 |         case .end:    .bottom
   |                        |- error: 'bottom' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
23 |         }
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:28:24: error: 'leading' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
   |                        |- error: 'leading' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
29 |         case .center: .center
30 |         case .end:    .trailing
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:29:24: error: 'center' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
29 |         case .center: .center
   |                        |- error: 'center' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
30 |         case .end:    .trailing
31 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:30:24: error: 'trailing' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
29 |         case .center: .center
30 |         case .end:    .trailing
   |                        |- error: 'trailing' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
31 |         }
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemProtocol.swift:21:44: error: 'Identifiable' is only available in macOS 10.15 or newer
19 | /// }
20 | /// ```
21 | public protocol BarItemProtocol: Hashable, Identifiable {
   |                 |                          `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
22 |
23 |     /// Icon to display in the item view.
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:19:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
17 |     let configuration: BadgeConfiguration
18 |
19 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
20 |         content
21 |             .offset(x: configuration.offsetX, y: configuration.offsetY)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 |             `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:26:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
24 |     // MARK: - Subviews
25 |
26 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
27 |     private var content: some View {
28 |         switch value {
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:43:36: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  |                 `- error: 'Text' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:43:50: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  |                               `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:21:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
17 |     let configuration: BadgeConfiguration
18 |
19 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
20 |         content
21 |             .offset(x: configuration.offsetX, y: configuration.offsetY)
   |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
22 |     }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'Circle' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'Circle' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:31:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
31 |                 .fill(configuration.backgroundColor)
   |                  |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                  `- note: add 'if #available' version check
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:32:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
   |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:23: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |                       |- error: 'Text' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:36:23: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
34 |             textBadge(Text("\(number)"))
35 |         case let .label(value):
36 |             textBadge(Text(value))
   |                       |- error: 'Text' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:36:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
34 |             textBadge(Text("\(number)"))
35 |         case let .label(value):
36 |             textBadge(Text(value))
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:27:36: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 |                  |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |                 |                  `- note: add 'if #available' version check
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:14: error: 'font' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:20: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |                    |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
   |                    `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:52: error: 'bold()' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |                                                    |- error: 'bold()' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:46:14: error: 'foregroundStyle' is only available in macOS 14.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
   |              |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:47:14: error: 'padding' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:48:14: error: 'padding' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:49:14: error: 'fixedSize()' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
   |              |- error: 'fixedSize()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:50:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
   |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
51 |             .clipShape(Capsule())
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:51:14: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
   |              |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
52 |     }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:51:24: error: 'Capsule' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
   |                        |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
52 |     }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:16:6: error: 'Environment' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
14 |
15 |     /// The unique coordinate space name passed from the parent layout.
16 |     @Environment(\.bkBarSpaceName) private var coordinateSpaceName
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
17 |
18 |     /// The icon to render, either a system symbol or a custom image asset.
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:24:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:37:24: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 |      `- error: 'Image' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:26:14: error: 'renderingMode' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
   |              |- error: 'renderingMode' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
27 |             .resizable()
28 |             .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:27:14: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
27 |             .resizable()
   |              |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
28 |             .aspectRatio(contentMode: .fit)
29 |             .capturePreference(
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:28:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
27 |             .resizable()
28 |             .aspectRatio(contentMode: .fit)
   |              |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
29 |             .capturePreference(
30 |                 key: BarIconFrameKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:33:29: error: 'frame(in:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
   :
31 |                 in: .named(coordinateSpaceName)
32 |             ) {
33 |                 [itemID: $0.frame(in: .named(coordinateSpaceName))]
   |                             |- error: 'frame(in:)' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
34 |             }
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:39:34: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
   |                                  |- error: 'Image' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
40 |         case let .custom(name):  Image(name)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:39:34: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
   |                                  |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                                  `- note: add 'if #available' version check
40 |         case let .custom(name):  Image(name)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:40:34: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
40 |         case let .custom(name):  Image(name)
   |                                  |- error: 'Image' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
41 |         }
42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:40:34: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
40 |         case let .custom(name):  Image(name)
   |                                  |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
41 |         }
42 |     }
[51/51] Compiling BarKit BarIconView.swift
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:18:19: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         |         `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:26:21: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         |           `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:20:24: error: 'top' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
   |                        |- error: 'top' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
21 |         case .center: .center
22 |         case .end:    .bottom
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:21:24: error: 'center' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
21 |         case .center: .center
   |                        |- error: 'center' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
22 |         case .end:    .bottom
23 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:22:24: error: 'bottom' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
   |         `- note: add @available attribute to enclosing property
19 |         switch self {
20 |         case .start:  .top
21 |         case .center: .center
22 |         case .end:    .bottom
   |                        |- error: 'bottom' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
23 |         }
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:28:24: error: 'leading' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
   |                        |- error: 'leading' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
29 |         case .center: .center
30 |         case .end:    .trailing
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:29:24: error: 'center' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
29 |         case .center: .center
   |                        |- error: 'center' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
30 |         case .end:    .trailing
31 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemAlignment.swift:30:24: error: 'trailing' is only available in macOS 10.15 or newer
15 | }
16 |
17 | extension BarItemAlignment {
   | `- note: add @available attribute to enclosing extension
18 |     var vertical: VerticalAlignment {
19 |         switch self {
   :
24 |     }
25 |
26 |     var horizontal: HorizontalAlignment {
   |         `- note: add @available attribute to enclosing property
27 |         switch self {
28 |         case .start:  .leading
29 |         case .center: .center
30 |         case .end:    .trailing
   |                        |- error: 'trailing' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
31 |         }
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarModels/BarItemProtocol.swift:21:44: error: 'Identifiable' is only available in macOS 10.15 or newer
19 | /// }
20 | /// ```
21 | public protocol BarItemProtocol: Hashable, Identifiable {
   |                 |                          `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
22 |
23 |     /// Icon to display in the item view.
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:19:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
17 |     let configuration: BadgeConfiguration
18 |
19 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
20 |         content
21 |             .offset(x: configuration.offsetX, y: configuration.offsetY)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 |             `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:26:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
24 |     // MARK: - Subviews
25 |
26 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
27 |     private var content: some View {
28 |         switch value {
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:43:36: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  |                 `- error: 'Text' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:43:50: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  |                               `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:21:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
17 |     let configuration: BadgeConfiguration
18 |
19 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
20 |         content
21 |             .offset(x: configuration.offsetX, y: configuration.offsetY)
   |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
22 |     }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'Circle' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'Circle' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:31:18: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
31 |                 .fill(configuration.backgroundColor)
   |                  |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                  `- note: add 'if #available' version check
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:32:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
   |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
30 |             Circle()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 .fill(configuration.backgroundColor)
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:23: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |                       |- error: 'Text' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:34:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
32 |                 .frame(width: configuration.dotDiameter, height: configuration.dotDiameter)
33 |         case let .count(number):
34 |             textBadge(Text("\(number)"))
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |         case let .label(value):
36 |             textBadge(Text(value))
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:36:23: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
34 |             textBadge(Text("\(number)"))
35 |         case let .label(value):
36 |             textBadge(Text(value))
   |                       |- error: 'Text' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:36:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
   :
34 |             textBadge(Text("\(number)"))
35 |         case let .label(value):
36 |             textBadge(Text(value))
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:27:36: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
25 |
26 |     @ViewBuilder
27 |     private var content: some View {
   |                 |                  |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |                 |                  `- note: add 'if #available' version check
   |                 `- note: add @available attribute to enclosing property
28 |         switch value {
29 |         case .dot:
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:14: error: 'font' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:20: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |                    |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
   |                    `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:45:52: error: 'bold()' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   |                                                    |- error: 'bold()' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:46:14: error: 'foregroundStyle' is only available in macOS 14.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
   |              |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:47:14: error: 'padding' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:48:14: error: 'padding' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
46 |             .foregroundStyle(configuration.foregroundColor)
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:49:14: error: 'fixedSize()' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
47 |             .padding(.horizontal, configuration.horizontalPadding)
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
   |              |- error: 'fixedSize()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:50:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
48 |             .padding(.vertical, configuration.verticalPadding)
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
   |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
51 |             .clipShape(Capsule())
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:51:14: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
   |              |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
52 |     }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BadgeView.swift:51:24: error: 'Capsule' is only available in macOS 10.15 or newer
 9 |
10 | /// A badge overlay view displaying a dot, count, or label.
11 | struct BadgeView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     /// The content to display in the badge.
   :
41 |
42 |     /// Renders a styled text badge with background and padding.
43 |     private func textBadge(_ text: Text) -> some View {
   |                  `- note: add @available attribute to enclosing instance method
44 |         text
45 |             .font(.system(configuration.textStyle).bold())
   :
49 |             .fixedSize()
50 |             .background(configuration.backgroundColor)
51 |             .clipShape(Capsule())
   |                        |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
52 |     }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:16:6: error: 'Environment' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
14 |
15 |     /// The unique coordinate space name passed from the parent layout.
16 |     @Environment(\.bkBarSpaceName) private var coordinateSpaceName
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
17 |
18 |     /// The icon to render, either a system symbol or a custom image asset.
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:24:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:37:24: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 |      `- error: 'Image' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:26:14: error: 'renderingMode' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
   |              |- error: 'renderingMode' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
27 |             .resizable()
28 |             .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:27:14: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
27 |             .resizable()
   |              |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
28 |             .aspectRatio(contentMode: .fit)
29 |             .capturePreference(
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:28:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
27 |             .resizable()
28 |             .aspectRatio(contentMode: .fit)
   |              |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
29 |             .capturePreference(
30 |                 key: BarIconFrameKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:33:29: error: 'frame(in:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
22 |     let itemID: AnyHashable
23 |
24 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
25 |         image
26 |             .renderingMode(.template)
   :
31 |                 in: .named(coordinateSpaceName)
32 |             ) {
33 |                 [itemID: $0.frame(in: .named(coordinateSpaceName))]
   |                             |- error: 'frame(in:)' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
34 |             }
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:39:34: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
   |                                  |- error: 'Image' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
40 |         case let .custom(name):  Image(name)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:39:34: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
   |                                  |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                                  `- note: add 'if #available' version check
40 |         case let .custom(name):  Image(name)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:40:34: error: 'Image' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
40 |         case let .custom(name):  Image(name)
   |                                  |- error: 'Image' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
41 |         }
42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BarKit/BarViews/BarIconView.swift:40:34: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 9 |
10 | /// A helper view that renders a bar icon from either a system symbol or a custom asset.
11 | struct BarIconView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Environment
   :
35 |     }
36 |
37 |     private var image: Image {
   |                 `- note: add @available attribute to enclosing property
38 |         switch icon {
39 |         case let .system(name):  Image(systemName: name)
40 |         case let .custom(name):  Image(name)
   |                                  |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
41 |         }
42 |     }
BUILD FAILURE 6.1 macosSpm