The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build CustomizableSegmentedControl, reference 1.2.1 (b3ee37), with Swift 6.1 for macOS (SPM) on 1 May 2025 12:23:08 UTC.

Build Command

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

Build Log

    |          |                                             `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
246 |             blendMode(mode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:243:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
244 |     func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
246 |             blendMode(mode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:24: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          |             `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:254:20: error: 'Alignment' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
    |                    `- error: 'Alignment' is only available in macOS 10.15 or newer
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:255:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
256 |     ) -> some View {
257 |         if #available(iOS 15.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:256:15: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
257 |         if #available(iOS 15.0, *) {
258 |             background(alignment: alignment, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:252:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
250 |     }
251 |
252 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:254:33: error: 'center' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
    |                                 `- error: 'center' is only available in macOS 10.15 or newer
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:21: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          |          `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:266:20: error: 'Alignment' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
    |                    `- error: 'Alignment' is only available in macOS 10.15 or newer
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:267:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
268 |     ) -> some View {
269 |         if #available(iOS 15.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:268:15: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
269 |         if #available(iOS 15.0, *) {
270 |             overlay(alignment: alignment, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:264:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
262 |     }
263 |
264 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:266:33: error: 'center' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
    |                                 `- error: 'center' is only available in macOS 10.15 or newer
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:19: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         |         `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:20:27: error: 'BlendMode' is only available in macOS 10.15 or newer
 9 |
10 | /// Style of segment content
11 | public enum CustomizableSegmentedControlContentStyle {
   |             `- note: add @available attribute to enclosing enum
12 |     /// Default style. You configure color for all states of content.
13 |     case `default`
   :
18 |     ///   - highestLevelOverlayBlendMode: Blend mode applies to highest level overlay. Default is overlay..
19 |     case blendMode(
20 |         contentBlendMode: BlendMode = .difference,
   |                           `- error: 'BlendMode' is only available in macOS 10.15 or newer
21 |         firstLevelOverlayBlendMode: BlendMode = .hue,
22 |         highestLevelOverlayBlendMode: BlendMode = .overlay
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:21:37: error: 'BlendMode' is only available in macOS 10.15 or newer
 9 |
10 | /// Style of segment content
11 | public enum CustomizableSegmentedControlContentStyle {
   |             `- note: add @available attribute to enclosing enum
12 |     /// Default style. You configure color for all states of content.
13 |     case `default`
   :
19 |     case blendMode(
20 |         contentBlendMode: BlendMode = .difference,
21 |         firstLevelOverlayBlendMode: BlendMode = .hue,
   |                                     `- error: 'BlendMode' is only available in macOS 10.15 or newer
22 |         highestLevelOverlayBlendMode: BlendMode = .overlay
23 |     )
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:22:39: error: 'BlendMode' is only available in macOS 10.15 or newer
 9 |
10 | /// Style of segment content
11 | public enum CustomizableSegmentedControlContentStyle {
   |             `- note: add @available attribute to enclosing enum
12 |     /// Default style. You configure color for all states of content.
13 |     case `default`
   :
20 |         contentBlendMode: BlendMode = .difference,
21 |         firstLevelOverlayBlendMode: BlendMode = .hue,
22 |         highestLevelOverlayBlendMode: BlendMode = .overlay
   |                                       `- error: 'BlendMode' is only available in macOS 10.15 or newer
23 |     )
24 | }
[6/6] Compiling CustomizableSegmentedControl CustomizableSegmentedControl+EnvironmentValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | private struct SegmentedControlInsetsKey: EnvironmentKey {
 11 |     static var defaultValue: EdgeInsets = .init(top: 0, leading: 0, bottom: 0, trailing: 0)
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 | }
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:11:30: error: 'EdgeInsets' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | private struct SegmentedControlInsetsKey: EnvironmentKey {
    |                `- note: add @available attribute to enclosing struct
 11 |     static var defaultValue: EdgeInsets = .init(top: 0, leading: 0, bottom: 0, trailing: 0)
    |                |             `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 12 | }
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | private struct SegmentedControlInterSegmentSpacingKey: EnvironmentKey {
 15 |     static var defaultValue: CGFloat = .zero
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | }
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 | private struct SegmentedControlContentStyleKey: EnvironmentKey {
 19 |     static var defaultValue: CustomizableSegmentedControlContentStyle = .default
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 | }
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 | private struct SegmentedControlSlidingAnimationKey: EnvironmentKey {
 23 |     static var defaultValue: Animation = .default
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:30: error: 'Animation' is only available in macOS 10.15 or newer
 20 | }
 21 |
 22 | private struct SegmentedControlSlidingAnimationKey: EnvironmentKey {
    |                `- note: add @available attribute to enclosing struct
 23 |     static var defaultValue: Animation = .default
    |                |             `- error: 'Animation' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:43: error: 'default' is only available in macOS 10.15 or newer
 20 | }
 21 |
 22 | private struct SegmentedControlSlidingAnimationKey: EnvironmentKey {
    |                `- note: add @available attribute to enclosing struct
 23 |     static var defaultValue: Animation = .default
    |                |                          `- error: 'default' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:28:33: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 24 | }
 25 |
 26 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
 27 |
 28 |     var segmentedControlInsets: EdgeInsets {
    |         |                       `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 29 |         get { self[SegmentedControlInsetsKey.self] }
 30 |         set { self[SegmentedControlInsetsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:43:43: error: 'Animation' is only available in macOS 10.15 or newer
 24 | }
 25 |
 26 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
 27 |
 28 |     var segmentedControlInsets: EdgeInsets {
    :
 41 |     }
 42 |
 43 |     var segmentedControlSlidingAnimation: Animation {
    |         |                                 `- error: 'Animation' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 44 |         get { self[SegmentedControlSlidingAnimationKey.self] }
 45 |         set { self[SegmentedControlSlidingAnimationKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:26:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 24 | }
 25 |
 26 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
 27 |
 28 |     var segmentedControlInsets: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:27: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    |          |                `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 53 |         environment(\.segmentedControlInsets, insets)
 54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:47: error: 'View' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    |          |                                    `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 53 |         environment(\.segmentedControlInsets, insets)
 54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:56:121: error: 'View' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    :
 54 |     }
 55 |
 56 |     func insets(top: CGFloat? = nil, leading: CGFloat? = nil, bottom: CGFloat? = nil, trailing: CGFloat? = nil) -> some View {
    |          |                                                                                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 57 |         environment(\.segmentedControlInsets, .init(
 58 |             top: top ?? segmentedControlInsets.top,
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:26: error: 'Edge' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    :
 63 |     }
 64 |
 65 |     func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
    |          |               `- error: 'Edge' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 66 |         switch edges {
 67 |             case .vertical:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:77: error: 'View' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    :
 63 |     }
 64 |
 65 |     func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
    |          |                                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 66 |         switch edges {
 67 |             case .vertical:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:96:65: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    |          |                                                      `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 97 |         environment(\.segmentedControlInterSegmentSpacing, interSegmentSpacing)
 98 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:100:98: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
 98 |     }
 99 |
100 |     func segmentedControlContentStyle(_ style: CustomizableSegmentedControlContentStyle) -> some View {
    |          |                                                                                       `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
101 |         environment(\.segmentedControlContentStyle, style)
102 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:56: error: 'Animation' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
102 |     }
103 |
104 |     func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
    |          |                                             `- error: 'Animation' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
105 |         environment(\.segmentedControlSlidingAnimation, animation)
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:75: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
102 |     }
103 |
104 |     func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
    |          |                                                                `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
105 |         environment(\.segmentedControlSlidingAnimation, animation)
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:18: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:53:9: error: 'environment' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 53 |         environment(\.segmentedControlInsets, insets)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 54 |     }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:57:9: error: 'environment' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    :
 54 |     }
 55 |
 56 |     func insets(top: CGFloat? = nil, leading: CGFloat? = nil, bottom: CGFloat? = nil, trailing: CGFloat? = nil) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 57 |         environment(\.segmentedControlInsets, .init(
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 58 |             top: top ?? segmentedControlInsets.top,
 59 |             leading: leading ?? segmentedControlInsets.leading,
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:97:9: error: 'environment' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 97 |         environment(\.segmentedControlInterSegmentSpacing, interSegmentSpacing)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 98 |     }
 99 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:101:9: error: 'environment' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
 98 |     }
 99 |
100 |     func segmentedControlContentStyle(_ style: CustomizableSegmentedControlContentStyle) -> some View {
    |          `- note: add @available attribute to enclosing instance method
101 |         environment(\.segmentedControlContentStyle, style)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
102 |     }
103 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:105:9: error: 'environment' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
102 |     }
103 |
104 |     func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
    |          `- note: add @available attribute to enclosing instance method
105 |         environment(\.segmentedControlSlidingAnimation, animation)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
106 |     }
107 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module CustomizableSegmentedControl
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:11:30: error: 'EdgeInsets' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | private struct SegmentedControlInsetsKey: EnvironmentKey {
    |                `- note: add @available attribute to enclosing struct
 11 |     static var defaultValue: EdgeInsets = .init(top: 0, leading: 0, bottom: 0, trailing: 0)
    |                |             `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 12 | }
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:30: error: 'Animation' is only available in macOS 10.15 or newer
 20 | }
 21 |
 22 | private struct SegmentedControlSlidingAnimationKey: EnvironmentKey {
    |                `- note: add @available attribute to enclosing struct
 23 |     static var defaultValue: Animation = .default
    |                |             `- error: 'Animation' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:43: error: 'default' is only available in macOS 10.15 or newer
 20 | }
 21 |
 22 | private struct SegmentedControlSlidingAnimationKey: EnvironmentKey {
    |                `- note: add @available attribute to enclosing struct
 23 |     static var defaultValue: Animation = .default
    |                |                          `- error: 'default' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:28:33: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 24 | }
 25 |
 26 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
 27 |
 28 |     var segmentedControlInsets: EdgeInsets {
    |         |                       `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 29 |         get { self[SegmentedControlInsetsKey.self] }
 30 |         set { self[SegmentedControlInsetsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:43:43: error: 'Animation' is only available in macOS 10.15 or newer
 24 | }
 25 |
 26 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
 27 |
 28 |     var segmentedControlInsets: EdgeInsets {
    :
 41 |     }
 42 |
 43 |     var segmentedControlSlidingAnimation: Animation {
    |         |                                 `- error: 'Animation' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 44 |         get { self[SegmentedControlSlidingAnimationKey.self] }
 45 |         set { self[SegmentedControlSlidingAnimationKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:26:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 24 | }
 25 |
 26 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
 27 |
 28 |     var segmentedControlInsets: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:27: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    |          |                `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 53 |         environment(\.segmentedControlInsets, insets)
 54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:47: error: 'View' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    |          |                                    `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 53 |         environment(\.segmentedControlInsets, insets)
 54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:56:121: error: 'View' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    :
 54 |     }
 55 |
 56 |     func insets(top: CGFloat? = nil, leading: CGFloat? = nil, bottom: CGFloat? = nil, trailing: CGFloat? = nil) -> some View {
    |          |                                                                                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 57 |         environment(\.segmentedControlInsets, .init(
 58 |             top: top ?? segmentedControlInsets.top,
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:26: error: 'Edge' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    :
 63 |     }
 64 |
 65 |     func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
    |          |               `- error: 'Edge' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 66 |         switch edges {
 67 |             case .vertical:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:77: error: 'View' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    :
 63 |     }
 64 |
 65 |     func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
    |          |                                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 66 |         switch edges {
 67 |             case .vertical:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:96:65: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    |          |                                                      `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 97 |         environment(\.segmentedControlInterSegmentSpacing, interSegmentSpacing)
 98 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:100:98: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
 98 |     }
 99 |
100 |     func segmentedControlContentStyle(_ style: CustomizableSegmentedControlContentStyle) -> some View {
    |          |                                                                                       `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
101 |         environment(\.segmentedControlContentStyle, style)
102 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:56: error: 'Animation' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
102 |     }
103 |
104 |     func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
    |          |                                             `- error: 'Animation' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
105 |         environment(\.segmentedControlSlidingAnimation, animation)
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:75: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
102 |     }
103 |
104 |     func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
    |          |                                                                `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
105 |         environment(\.segmentedControlSlidingAnimation, animation)
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:18: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:9:6: error: 'Environment' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
  8 |
  9 |     @Environment(\.segmentedControlInsets) var segmentedControlInsets
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 10 |     @Environment(\.segmentedControlInterSegmentSpacing) var interSegmentSpacing
 11 |     @Environment(\.segmentedControlSlidingAnimation) var slidingAnimation
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:10:6: error: 'Environment' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
  8 |
  9 |     @Environment(\.segmentedControlInsets) var segmentedControlInsets
 10 |     @Environment(\.segmentedControlInterSegmentSpacing) var interSegmentSpacing
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 11 |     @Environment(\.segmentedControlSlidingAnimation) var slidingAnimation
 12 |     @Environment(\.segmentedControlContentStyle) var contentStyle
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
  9 |     @Environment(\.segmentedControlInsets) var segmentedControlInsets
 10 |     @Environment(\.segmentedControlInterSegmentSpacing) var interSegmentSpacing
 11 |     @Environment(\.segmentedControlSlidingAnimation) var slidingAnimation
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 12 |     @Environment(\.segmentedControlContentStyle) var contentStyle
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 10 |     @Environment(\.segmentedControlInterSegmentSpacing) var interSegmentSpacing
 11 |     @Environment(\.segmentedControlSlidingAnimation) var slidingAnimation
 12 |     @Environment(\.segmentedControlContentStyle) var contentStyle
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 13 |
 14 |     @Binding private var selection: Option
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 12 |     @Environment(\.segmentedControlContentStyle) var contentStyle
 13 |
 14 |     @Binding private var selection: Option
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 15 |     private let options: [Option]
 16 |     private let selectionView: () -> SelectionView
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 17 |     private let segmentContent: (_ option: Option, _ isSelected: Bool, _ isPressed: Bool) -> SegmentContent
 18 |
 19 |     @State private var optionIsPressed: [Option.ID: Bool] = [:]
    |      `- error: 'State' is only available in macOS 10.15 or newer
 20 |
 21 |     private var segmentAccessibilityValueCompletion: (Int, Int) -> String = { index, count in
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:25:6: error: 'Namespace' is only available in macOS 11.0 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 23 |     }
 24 |
 25 |     @Namespace private var namespaceID
    |      `- error: 'Namespace' is only available in macOS 11.0 or newer
 26 |     private let buttonBackgroundID: String = "buttonOverlayID"
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:41:20: error: 'Binding' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 38 |     ///   - selectionView: Selected option background.
 39 |     ///   - segmentContent: Content of segment. Returns related option and isPressed parameters.
 40 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 41 |         selection: Binding<Option>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 42 |         options: [Option],
 43 |         selectionView: @escaping () -> SelectionView,
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:44:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 38 |     ///   - selectionView: Selected option background.
 39 |     ///   - segmentContent: Content of segment. Returns related option and isPressed parameters.
 40 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 41 |         selection: Binding<Option>,
 42 |         options: [Option],
 43 |         selectionView: @escaping () -> SelectionView,
 44 |         @ViewBuilder segmentContent: @escaping (_ option: Option, _ isSelected: Bool, _ isPressed: Bool) -> SegmentContent
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 45 |     ) {
 46 |         self._selection = selection
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:27: error: 'View' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 52 |     // MARK: - UI
 53 |
 54 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 55 |         HStack(spacing: interSegmentSpacing) {
 56 |             ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:63: error: 'Identifiable' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               |                                               `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:92: error: 'View' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:114: error: 'View' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               |                                                                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:90:24: error: 'Animation' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 88 |         let selectionView: SegmentSelectionView
 89 |         let isSelected: Bool
 90 |         let animation: Animation
    |                        `- error: 'Animation' is only available in macOS 10.15 or newer
 91 |         let contentBlendMode: BlendMode?
 92 |         let firstLevelOverlayBlendMode: BlendMode?
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:91:31: error: 'BlendMode' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 89 |         let isSelected: Bool
 90 |         let animation: Animation
 91 |         let contentBlendMode: BlendMode?
    |                               `- error: 'BlendMode' is only available in macOS 10.15 or newer
 92 |         let firstLevelOverlayBlendMode: BlendMode?
 93 |         let highestLevelOverlayBlendMode: BlendMode?
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:92:41: error: 'BlendMode' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 90 |         let animation: Animation
 91 |         let contentBlendMode: BlendMode?
 92 |         let firstLevelOverlayBlendMode: BlendMode?
    |                                         `- error: 'BlendMode' is only available in macOS 10.15 or newer
 93 |         let highestLevelOverlayBlendMode: BlendMode?
 94 |         @Binding var isPressed: Bool?
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:93:43: error: 'BlendMode' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 91 |         let contentBlendMode: BlendMode?
 92 |         let firstLevelOverlayBlendMode: BlendMode?
 93 |         let highestLevelOverlayBlendMode: BlendMode?
    |                                           `- error: 'BlendMode' is only available in macOS 10.15 or newer
 94 |         @Binding var isPressed: Bool?
 95 |         let backgroundID: String
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:94:10: error: 'Binding' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        |- note: add @available attribute to enclosing generic struct
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 92 |         let firstLevelOverlayBlendMode: BlendMode?
 93 |         let highestLevelOverlayBlendMode: BlendMode?
 94 |         @Binding var isPressed: Bool?
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
 95 |         let backgroundID: String
 96 |         let namespaceID: Namespace.ID
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:96:26: error: 'Namespace' is only available in macOS 11.0 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 94 |         @Binding var isPressed: Bool?
 95 |         let backgroundID: String
 96 |         let namespaceID: Namespace.ID
    |                          `- error: 'Namespace' is only available in macOS 11.0 or newer
 97 |         let accessibiltyValue: String
 98 |         let action: () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:24: error: 'View' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             |          `- error: 'View' is only available in macOS 10.15 or newer
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:54: error: 'View' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        |                             `- error: 'View' is only available in macOS 10.15 or newer
    |                        |- note: add @available attribute to enclosing generic struct
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:69: error: 'View' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        |                                            `- error: 'View' is only available in macOS 10.15 or newer
    |                        |- note: add @available attribute to enclosing generic struct
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:155:20: error: 'Binding' is only available in macOS 10.15 or newer
140 | // MARK: - CustomizableSegmentedControl + Custom Inits
141 |
142 | extension CustomizableSegmentedControl {
    | `- note: add @available attribute to enclosing extension
143 |
144 |     /// - parameters:
    :
152 |     ///   - selectionView: Selected option background.
153 |     ///   - segmentContent: Content of segment. Returns related option and isPressed parameter.s
154 |     public init(
    |            `- note: add @available attribute to enclosing initializer
155 |         selection: Binding<Option>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
156 |         options: [Option],
157 |         selectionView: SelectionView,
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:158:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
140 | // MARK: - CustomizableSegmentedControl + Custom Inits
141 |
142 | extension CustomizableSegmentedControl {
    | `- note: add @available attribute to enclosing extension
143 |
144 |     /// - parameters:
    :
152 |     ///   - selectionView: Selected option background.
153 |     ///   - segmentContent: Content of segment. Returns related option and isPressed parameter.s
154 |     public init(
    |            `- note: add @available attribute to enclosing initializer
155 |         selection: Binding<Option>,
156 |         options: [Option],
157 |         selectionView: SelectionView,
158 |         @ViewBuilder segmentContent: @escaping (_ option: Option, _ isSelected: Bool, _ isPressed: Bool) -> SegmentContent
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
159 |     ) {
160 |         self.init(
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:176:10: error: 'Binding' is only available in macOS 10.15 or newer
172 | extension CustomizableSegmentedControl.Segment {
173 |
174 |     private struct SegmentButtonStyle: ButtonStyle {
    |                    |- note: add @available attribute to enclosing struct
    |                    `- note: add @available attribute to enclosing struct
175 |
176 |         @Binding var isPressed: Bool?
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
177 |
178 |         func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:178:61: error: 'View' is only available in macOS 10.15 or newer
172 | extension CustomizableSegmentedControl.Segment {
173 |
174 |     private struct SegmentButtonStyle: ButtonStyle {
    |                    `- note: add @available attribute to enclosing struct
175 |
176 |         @Binding var isPressed: Bool?
177 |
178 |         func makeBody(configuration: Configuration) -> some View {
    |              |                                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
179 |             configuration.label
180 |                 .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:194:27: error: 'BlendMode' is only available in macOS 10.15 or newer
190 | // MARK: - CustomizableSegmentedControlContentStyle + Properties
191 |
192 | private extension CustomizableSegmentedControlContentStyle {
    |         `- note: add @available attribute to enclosing extension
193 |
194 |     var contentBlendMode: BlendMode? {
    |         |                 `- error: 'BlendMode' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
195 |         switch self {
196 |             case .default:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:203:37: error: 'BlendMode' is only available in macOS 10.15 or newer
190 | // MARK: - CustomizableSegmentedControlContentStyle + Properties
191 |
192 | private extension CustomizableSegmentedControlContentStyle {
    |         `- note: add @available attribute to enclosing extension
193 |
194 |     var contentBlendMode: BlendMode? {
    :
201 |     }
202 |
203 |     var firstLevelOverlayBlendMode: BlendMode? {
    |         |                           `- error: 'BlendMode' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
204 |         switch self {
205 |             case .default:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:212:39: error: 'BlendMode' is only available in macOS 10.15 or newer
190 | // MARK: - CustomizableSegmentedControlContentStyle + Properties
191 |
192 | private extension CustomizableSegmentedControlContentStyle {
    |         `- note: add @available attribute to enclosing extension
193 |
194 |     var contentBlendMode: BlendMode? {
    :
210 |     }
211 |
212 |     var highestLevelOverlayBlendMode: BlendMode? {
    |         |                             `- error: 'BlendMode' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
213 |         switch self {
214 |             case .default:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:36: error: 'BlendMode' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
244 |     func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
    |          |                         `- error: 'BlendMode' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
246 |             blendMode(mode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:56: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
244 |     func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
    |          |                                             `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
246 |             blendMode(mode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:243:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
244 |     func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
246 |             blendMode(mode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:24: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          |             `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:254:20: error: 'Alignment' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
    |                    `- error: 'Alignment' is only available in macOS 10.15 or newer
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:255:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
256 |     ) -> some View {
257 |         if #available(iOS 15.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:256:15: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
257 |         if #available(iOS 15.0, *) {
258 |             background(alignment: alignment, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:252:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
250 |     }
251 |
252 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:254:33: error: 'center' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
    |                                 `- error: 'center' is only available in macOS 10.15 or newer
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:21: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          |          `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:266:20: error: 'Alignment' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
    |                    `- error: 'Alignment' is only available in macOS 10.15 or newer
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:267:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
268 |     ) -> some View {
269 |         if #available(iOS 15.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:268:15: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
269 |         if #available(iOS 15.0, *) {
270 |             overlay(alignment: alignment, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:264:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
262 |     }
263 |
264 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:266:33: error: 'center' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
    |                                 `- error: 'center' is only available in macOS 10.15 or newer
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:19: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         |         `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:20:27: error: 'BlendMode' is only available in macOS 10.15 or newer
 9 |
10 | /// Style of segment content
11 | public enum CustomizableSegmentedControlContentStyle {
   |             `- note: add @available attribute to enclosing enum
12 |     /// Default style. You configure color for all states of content.
13 |     case `default`
   :
18 |     ///   - highestLevelOverlayBlendMode: Blend mode applies to highest level overlay. Default is overlay..
19 |     case blendMode(
20 |         contentBlendMode: BlendMode = .difference,
   |                           `- error: 'BlendMode' is only available in macOS 10.15 or newer
21 |         firstLevelOverlayBlendMode: BlendMode = .hue,
22 |         highestLevelOverlayBlendMode: BlendMode = .overlay
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:21:37: error: 'BlendMode' is only available in macOS 10.15 or newer
 9 |
10 | /// Style of segment content
11 | public enum CustomizableSegmentedControlContentStyle {
   |             `- note: add @available attribute to enclosing enum
12 |     /// Default style. You configure color for all states of content.
13 |     case `default`
   :
19 |     case blendMode(
20 |         contentBlendMode: BlendMode = .difference,
21 |         firstLevelOverlayBlendMode: BlendMode = .hue,
   |                                     `- error: 'BlendMode' is only available in macOS 10.15 or newer
22 |         highestLevelOverlayBlendMode: BlendMode = .overlay
23 |     )
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:22:39: error: 'BlendMode' is only available in macOS 10.15 or newer
 9 |
10 | /// Style of segment content
11 | public enum CustomizableSegmentedControlContentStyle {
   |             `- note: add @available attribute to enclosing enum
12 |     /// Default style. You configure color for all states of content.
13 |     case `default`
   :
20 |         contentBlendMode: BlendMode = .difference,
21 |         firstLevelOverlayBlendMode: BlendMode = .hue,
22 |         highestLevelOverlayBlendMode: BlendMode = .overlay
   |                                       `- error: 'BlendMode' is only available in macOS 10.15 or newer
23 |     )
24 | }
[3/5] Compiling CustomizableSegmentedControl CustomizableSegmentedControl+EnvironmentValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:11:30: error: 'EdgeInsets' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | private struct SegmentedControlInsetsKey: EnvironmentKey {
    |                `- note: add @available attribute to enclosing struct
 11 |     static var defaultValue: EdgeInsets = .init(top: 0, leading: 0, bottom: 0, trailing: 0)
    |                |             `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 12 | }
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:30: error: 'Animation' is only available in macOS 10.15 or newer
 20 | }
 21 |
 22 | private struct SegmentedControlSlidingAnimationKey: EnvironmentKey {
    |                `- note: add @available attribute to enclosing struct
 23 |     static var defaultValue: Animation = .default
    |                |             `- error: 'Animation' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:23:43: error: 'default' is only available in macOS 10.15 or newer
 20 | }
 21 |
 22 | private struct SegmentedControlSlidingAnimationKey: EnvironmentKey {
    |                `- note: add @available attribute to enclosing struct
 23 |     static var defaultValue: Animation = .default
    |                |                          `- error: 'default' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:28:33: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 24 | }
 25 |
 26 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
 27 |
 28 |     var segmentedControlInsets: EdgeInsets {
    |         |                       `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 29 |         get { self[SegmentedControlInsetsKey.self] }
 30 |         set { self[SegmentedControlInsetsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:43:43: error: 'Animation' is only available in macOS 10.15 or newer
 24 | }
 25 |
 26 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
 27 |
 28 |     var segmentedControlInsets: EdgeInsets {
    :
 41 |     }
 42 |
 43 |     var segmentedControlSlidingAnimation: Animation {
    |         |                                 `- error: 'Animation' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 44 |         get { self[SegmentedControlSlidingAnimationKey.self] }
 45 |         set { self[SegmentedControlSlidingAnimationKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:26:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 24 | }
 25 |
 26 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
 27 |
 28 |     var segmentedControlInsets: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:27: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    |          |                `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 53 |         environment(\.segmentedControlInsets, insets)
 54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:52:47: error: 'View' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    |          |                                    `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 53 |         environment(\.segmentedControlInsets, insets)
 54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:56:121: error: 'View' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    :
 54 |     }
 55 |
 56 |     func insets(top: CGFloat? = nil, leading: CGFloat? = nil, bottom: CGFloat? = nil, trailing: CGFloat? = nil) -> some View {
    |          |                                                                                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 57 |         environment(\.segmentedControlInsets, .init(
 58 |             top: top ?? segmentedControlInsets.top,
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:26: error: 'Edge' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    :
 63 |     }
 64 |
 65 |     func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
    |          |               `- error: 'Edge' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 66 |         switch edges {
 67 |             case .vertical:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:65:77: error: 'View' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    :
 63 |     }
 64 |
 65 |     func insets(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View {
    |          |                                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 66 |         switch edges {
 67 |             case .vertical:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:96:65: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    |          |                                                      `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 97 |         environment(\.segmentedControlInterSegmentSpacing, interSegmentSpacing)
 98 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:100:98: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
 98 |     }
 99 |
100 |     func segmentedControlContentStyle(_ style: CustomizableSegmentedControlContentStyle) -> some View {
    |          |                                                                                       `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
101 |         environment(\.segmentedControlContentStyle, style)
102 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:56: error: 'Animation' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
102 |     }
103 |
104 |     func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
    |          |                                             `- error: 'Animation' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
105 |         environment(\.segmentedControlSlidingAnimation, animation)
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:104:75: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
102 |     }
103 |
104 |     func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
    |          |                                                                `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
105 |         environment(\.segmentedControlSlidingAnimation, animation)
106 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:94:18: error: 'View' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:53:9: error: 'environment' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 53 |         environment(\.segmentedControlInsets, insets)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 54 |     }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:57:9: error: 'environment' is only available in macOS 10.15 or newer
 48 | }
 49 |
 50 | public extension CustomizableSegmentedControl {
    |        `- note: add @available attribute to enclosing extension
 51 |
 52 |     func insets(_ insets: EdgeInsets) -> some View {
    :
 54 |     }
 55 |
 56 |     func insets(top: CGFloat? = nil, leading: CGFloat? = nil, bottom: CGFloat? = nil, trailing: CGFloat? = nil) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 57 |         environment(\.segmentedControlInsets, .init(
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 58 |             top: top ?? segmentedControlInsets.top,
 59 |             leading: leading ?? segmentedControlInsets.leading,
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:97:9: error: 'environment' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 97 |         environment(\.segmentedControlInterSegmentSpacing, interSegmentSpacing)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 98 |     }
 99 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:101:9: error: 'environment' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
 98 |     }
 99 |
100 |     func segmentedControlContentStyle(_ style: CustomizableSegmentedControlContentStyle) -> some View {
    |          `- note: add @available attribute to enclosing instance method
101 |         environment(\.segmentedControlContentStyle, style)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
102 |     }
103 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl+EnvironmentValues.swift:105:9: error: 'environment' is only available in macOS 10.15 or newer
 92 | }
 93 |
 94 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 95 |
 96 |     func segmentedControl(interSegmentSpacing: CGFloat) -> some View {
    :
102 |     }
103 |
104 |     func segmentedControlSlidingAnimation(_ animation: Animation) -> some View {
    |          `- note: add @available attribute to enclosing instance method
105 |         environment(\.segmentedControlSlidingAnimation, animation)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
106 |     }
107 |
[4/5] Compiling CustomizableSegmentedControl CustomizableSegmentedControlContentStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:20:27: error: 'BlendMode' is only available in macOS 10.15 or newer
 9 |
10 | /// Style of segment content
11 | public enum CustomizableSegmentedControlContentStyle {
   |             `- note: add @available attribute to enclosing enum
12 |     /// Default style. You configure color for all states of content.
13 |     case `default`
   :
18 |     ///   - highestLevelOverlayBlendMode: Blend mode applies to highest level overlay. Default is overlay..
19 |     case blendMode(
20 |         contentBlendMode: BlendMode = .difference,
   |                           `- error: 'BlendMode' is only available in macOS 10.15 or newer
21 |         firstLevelOverlayBlendMode: BlendMode = .hue,
22 |         highestLevelOverlayBlendMode: BlendMode = .overlay
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:21:37: error: 'BlendMode' is only available in macOS 10.15 or newer
 9 |
10 | /// Style of segment content
11 | public enum CustomizableSegmentedControlContentStyle {
   |             `- note: add @available attribute to enclosing enum
12 |     /// Default style. You configure color for all states of content.
13 |     case `default`
   :
19 |     case blendMode(
20 |         contentBlendMode: BlendMode = .difference,
21 |         firstLevelOverlayBlendMode: BlendMode = .hue,
   |                                     `- error: 'BlendMode' is only available in macOS 10.15 or newer
22 |         highestLevelOverlayBlendMode: BlendMode = .overlay
23 |     )
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControlContentStyle.swift:22:39: error: 'BlendMode' is only available in macOS 10.15 or newer
 9 |
10 | /// Style of segment content
11 | public enum CustomizableSegmentedControlContentStyle {
   |             `- note: add @available attribute to enclosing enum
12 |     /// Default style. You configure color for all states of content.
13 |     case `default`
   :
20 |         contentBlendMode: BlendMode = .difference,
21 |         firstLevelOverlayBlendMode: BlendMode = .hue,
22 |         highestLevelOverlayBlendMode: BlendMode = .overlay
   |                                       `- error: 'BlendMode' is only available in macOS 10.15 or newer
23 |     )
24 | }
[5/5] Compiling CustomizableSegmentedControl CustomizableSegmentedControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:9:6: error: 'Environment' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
  8 |
  9 |     @Environment(\.segmentedControlInsets) var segmentedControlInsets
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 10 |     @Environment(\.segmentedControlInterSegmentSpacing) var interSegmentSpacing
 11 |     @Environment(\.segmentedControlSlidingAnimation) var slidingAnimation
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:10:6: error: 'Environment' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
  8 |
  9 |     @Environment(\.segmentedControlInsets) var segmentedControlInsets
 10 |     @Environment(\.segmentedControlInterSegmentSpacing) var interSegmentSpacing
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 11 |     @Environment(\.segmentedControlSlidingAnimation) var slidingAnimation
 12 |     @Environment(\.segmentedControlContentStyle) var contentStyle
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
  9 |     @Environment(\.segmentedControlInsets) var segmentedControlInsets
 10 |     @Environment(\.segmentedControlInterSegmentSpacing) var interSegmentSpacing
 11 |     @Environment(\.segmentedControlSlidingAnimation) var slidingAnimation
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 12 |     @Environment(\.segmentedControlContentStyle) var contentStyle
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 10 |     @Environment(\.segmentedControlInterSegmentSpacing) var interSegmentSpacing
 11 |     @Environment(\.segmentedControlSlidingAnimation) var slidingAnimation
 12 |     @Environment(\.segmentedControlContentStyle) var contentStyle
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 13 |
 14 |     @Binding private var selection: Option
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 12 |     @Environment(\.segmentedControlContentStyle) var contentStyle
 13 |
 14 |     @Binding private var selection: Option
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 15 |     private let options: [Option]
 16 |     private let selectionView: () -> SelectionView
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 17 |     private let segmentContent: (_ option: Option, _ isSelected: Bool, _ isPressed: Bool) -> SegmentContent
 18 |
 19 |     @State private var optionIsPressed: [Option.ID: Bool] = [:]
    |      `- error: 'State' is only available in macOS 10.15 or newer
 20 |
 21 |     private var segmentAccessibilityValueCompletion: (Int, Int) -> String = { index, count in
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:25:6: error: 'Namespace' is only available in macOS 11.0 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 23 |     }
 24 |
 25 |     @Namespace private var namespaceID
    |      `- error: 'Namespace' is only available in macOS 11.0 or newer
 26 |     private let buttonBackgroundID: String = "buttonOverlayID"
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:41:20: error: 'Binding' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 38 |     ///   - selectionView: Selected option background.
 39 |     ///   - segmentContent: Content of segment. Returns related option and isPressed parameters.
 40 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 41 |         selection: Binding<Option>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 42 |         options: [Option],
 43 |         selectionView: @escaping () -> SelectionView,
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:44:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 38 |     ///   - selectionView: Selected option background.
 39 |     ///   - segmentContent: Content of segment. Returns related option and isPressed parameters.
 40 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 41 |         selection: Binding<Option>,
 42 |         options: [Option],
 43 |         selectionView: @escaping () -> SelectionView,
 44 |         @ViewBuilder segmentContent: @escaping (_ option: Option, _ isSelected: Bool, _ isPressed: Bool) -> SegmentContent
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 45 |     ) {
 46 |         self._selection = selection
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:54:27: error: 'View' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 52 |     // MARK: - UI
 53 |
 54 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 55 |         HStack(spacing: interSegmentSpacing) {
 56 |             ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:63: error: 'Identifiable' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               |                                               `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:92: error: 'View' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:5:114: error: 'View' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               |                                                                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:90:24: error: 'Animation' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 88 |         let selectionView: SegmentSelectionView
 89 |         let isSelected: Bool
 90 |         let animation: Animation
    |                        `- error: 'Animation' is only available in macOS 10.15 or newer
 91 |         let contentBlendMode: BlendMode?
 92 |         let firstLevelOverlayBlendMode: BlendMode?
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:91:31: error: 'BlendMode' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 89 |         let isSelected: Bool
 90 |         let animation: Animation
 91 |         let contentBlendMode: BlendMode?
    |                               `- error: 'BlendMode' is only available in macOS 10.15 or newer
 92 |         let firstLevelOverlayBlendMode: BlendMode?
 93 |         let highestLevelOverlayBlendMode: BlendMode?
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:92:41: error: 'BlendMode' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 90 |         let animation: Animation
 91 |         let contentBlendMode: BlendMode?
 92 |         let firstLevelOverlayBlendMode: BlendMode?
    |                                         `- error: 'BlendMode' is only available in macOS 10.15 or newer
 93 |         let highestLevelOverlayBlendMode: BlendMode?
 94 |         @Binding var isPressed: Bool?
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:93:43: error: 'BlendMode' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 91 |         let contentBlendMode: BlendMode?
 92 |         let firstLevelOverlayBlendMode: BlendMode?
 93 |         let highestLevelOverlayBlendMode: BlendMode?
    |                                           `- error: 'BlendMode' is only available in macOS 10.15 or newer
 94 |         @Binding var isPressed: Bool?
 95 |         let backgroundID: String
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:94:10: error: 'Binding' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        |- note: add @available attribute to enclosing generic struct
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 92 |         let firstLevelOverlayBlendMode: BlendMode?
 93 |         let highestLevelOverlayBlendMode: BlendMode?
 94 |         @Binding var isPressed: Bool?
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
 95 |         let backgroundID: String
 96 |         let namespaceID: Namespace.ID
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:96:26: error: 'Namespace' is only available in macOS 11.0 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
 94 |         @Binding var isPressed: Bool?
 95 |         let backgroundID: String
 96 |         let namespaceID: Namespace.ID
    |                          `- error: 'Namespace' is only available in macOS 11.0 or newer
 97 |         let accessibiltyValue: String
 98 |         let action: () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:24: error: 'View' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             |          `- error: 'View' is only available in macOS 10.15 or newer
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:54: error: 'View' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        |                             `- error: 'View' is only available in macOS 10.15 or newer
    |                        |- note: add @available attribute to enclosing generic struct
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:83:69: error: 'View' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        |                                            `- error: 'View' is only available in macOS 10.15 or newer
    |                        |- note: add @available attribute to enclosing generic struct
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:155:20: error: 'Binding' is only available in macOS 10.15 or newer
140 | // MARK: - CustomizableSegmentedControl + Custom Inits
141 |
142 | extension CustomizableSegmentedControl {
    | `- note: add @available attribute to enclosing extension
143 |
144 |     /// - parameters:
    :
152 |     ///   - selectionView: Selected option background.
153 |     ///   - segmentContent: Content of segment. Returns related option and isPressed parameter.s
154 |     public init(
    |            `- note: add @available attribute to enclosing initializer
155 |         selection: Binding<Option>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
156 |         options: [Option],
157 |         selectionView: SelectionView,
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:158:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
140 | // MARK: - CustomizableSegmentedControl + Custom Inits
141 |
142 | extension CustomizableSegmentedControl {
    | `- note: add @available attribute to enclosing extension
143 |
144 |     /// - parameters:
    :
152 |     ///   - selectionView: Selected option background.
153 |     ///   - segmentContent: Content of segment. Returns related option and isPressed parameter.s
154 |     public init(
    |            `- note: add @available attribute to enclosing initializer
155 |         selection: Binding<Option>,
156 |         options: [Option],
157 |         selectionView: SelectionView,
158 |         @ViewBuilder segmentContent: @escaping (_ option: Option, _ isSelected: Bool, _ isPressed: Bool) -> SegmentContent
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
159 |     ) {
160 |         self.init(
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:176:10: error: 'Binding' is only available in macOS 10.15 or newer
172 | extension CustomizableSegmentedControl.Segment {
173 |
174 |     private struct SegmentButtonStyle: ButtonStyle {
    |                    |- note: add @available attribute to enclosing struct
    |                    `- note: add @available attribute to enclosing struct
175 |
176 |         @Binding var isPressed: Bool?
    |          `- error: 'Binding' is only available in macOS 10.15 or newer
177 |
178 |         func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:178:61: error: 'View' is only available in macOS 10.15 or newer
172 | extension CustomizableSegmentedControl.Segment {
173 |
174 |     private struct SegmentButtonStyle: ButtonStyle {
    |                    `- note: add @available attribute to enclosing struct
175 |
176 |         @Binding var isPressed: Bool?
177 |
178 |         func makeBody(configuration: Configuration) -> some View {
    |              |                                              `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing instance method
179 |             configuration.label
180 |                 .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:194:27: error: 'BlendMode' is only available in macOS 10.15 or newer
190 | // MARK: - CustomizableSegmentedControlContentStyle + Properties
191 |
192 | private extension CustomizableSegmentedControlContentStyle {
    |         `- note: add @available attribute to enclosing extension
193 |
194 |     var contentBlendMode: BlendMode? {
    |         |                 `- error: 'BlendMode' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
195 |         switch self {
196 |             case .default:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:203:37: error: 'BlendMode' is only available in macOS 10.15 or newer
190 | // MARK: - CustomizableSegmentedControlContentStyle + Properties
191 |
192 | private extension CustomizableSegmentedControlContentStyle {
    |         `- note: add @available attribute to enclosing extension
193 |
194 |     var contentBlendMode: BlendMode? {
    :
201 |     }
202 |
203 |     var firstLevelOverlayBlendMode: BlendMode? {
    |         |                           `- error: 'BlendMode' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
204 |         switch self {
205 |             case .default:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:212:39: error: 'BlendMode' is only available in macOS 10.15 or newer
190 | // MARK: - CustomizableSegmentedControlContentStyle + Properties
191 |
192 | private extension CustomizableSegmentedControlContentStyle {
    |         `- note: add @available attribute to enclosing extension
193 |
194 |     var contentBlendMode: BlendMode? {
    :
210 |     }
211 |
212 |     var highestLevelOverlayBlendMode: BlendMode? {
    |         |                             `- error: 'BlendMode' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
213 |         switch self {
214 |             case .default:
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:36: error: 'BlendMode' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
244 |     func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
    |          |                         `- error: 'BlendMode' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
246 |             blendMode(mode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:56: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
244 |     func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
    |          |                                             `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
246 |             blendMode(mode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:243:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
244 |     func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
246 |             blendMode(mode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:253:24: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          |             `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:254:20: error: 'Alignment' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
    |                    `- error: 'Alignment' is only available in macOS 10.15 or newer
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:255:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
256 |     ) -> some View {
257 |         if #available(iOS 15.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:256:15: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
257 |         if #available(iOS 15.0, *) {
258 |             background(alignment: alignment, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:252:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
250 |     }
251 |
252 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:254:33: error: 'center' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
    |                                 `- error: 'center' is only available in macOS 10.15 or newer
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:265:21: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          |          `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:266:20: error: 'Alignment' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
    |                    `- error: 'Alignment' is only available in macOS 10.15 or newer
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:267:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
268 |     ) -> some View {
269 |         if #available(iOS 15.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:268:15: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
269 |         if #available(iOS 15.0, *) {
270 |             overlay(alignment: alignment, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:264:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
262 |     }
263 |
264 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:266:33: error: 'center' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
    |                                 `- error: 'center' is only available in macOS 10.15 or newer
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:241:19: error: 'View' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         |         `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:55:9: error: 'HStack' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 52 |     // MARK: - UI
 53 |
 54 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 55 |         HStack(spacing: interSegmentSpacing) {
    |         |- error: 'HStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 56 |             ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
 57 |                 Segment(
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:55:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 52 |     // MARK: - UI
 53 |
 54 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 55 |         HStack(spacing: interSegmentSpacing) {
    |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 56 |             ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
 57 |                 Segment(
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:56:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 52 |     // MARK: - UI
 53 |
 54 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 55 |         HStack(spacing: interSegmentSpacing) {
 56 |             ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
    |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 57 |                 Segment(
 58 |                     content: segmentContent(option, option.id == selection.id, optionIsPressed[option.id, default: false]),
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:56:13: error: 'ForEach' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 52 |     // MARK: - UI
 53 |
 54 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 55 |         HStack(spacing: interSegmentSpacing) {
 56 |             ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
    |             |- error: 'ForEach' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 57 |                 Segment(
 58 |                     content: segmentContent(option, option.id == selection.id, optionIsPressed[option.id, default: false]),
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:56:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 52 |     // MARK: - UI
 53 |
 54 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 55 |         HStack(spacing: interSegmentSpacing) {
 56 |             ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
    |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 57 |                 Segment(
 58 |                     content: segmentContent(option, option.id == selection.id, optionIsPressed[option.id, default: false]),
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:69:31: error: setter for 'selection' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 52 |     // MARK: - UI
 53 |
 54 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 55 |         HStack(spacing: interSegmentSpacing) {
 56 |             ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
    :
 67 |                     namespaceID: namespaceID,
 68 |                     accessibiltyValue: segmentAccessibilityValueCompletion(index + 1, options.count),
 69 |                     action: { selection = option }
    |                               |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 70 |                 )
 71 |                 .zIndex(selection == option ? 0 : 1)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:71:18: error: 'zIndex' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 52 |     // MARK: - UI
 53 |
 54 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 55 |         HStack(spacing: interSegmentSpacing) {
 56 |             ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
    :
 69 |                     action: { selection = option }
 70 |                 )
 71 |                 .zIndex(selection == option ? 0 : 1)
    |                  |- error: 'zIndex' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 72 |             }
 73 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:55:46: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 52 |     // MARK: - UI
 53 |
 54 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 55 |         HStack(spacing: interSegmentSpacing) {
    |                                              |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                              `- note: add 'if #available' version check
 56 |             ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
 57 |                 Segment(
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:74:10: error: 'padding' is only available in macOS 10.15 or newer
  3 | // MARK: - Segmented Control
  4 |
  5 | public struct CustomizableSegmentedControl<Option: Hashable & Identifiable, SelectionView: View, SegmentContent: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |
  7 |     // MARK: - Properties
    :
 52 |     // MARK: - UI
 53 |
 54 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 55 |         HStack(spacing: interSegmentSpacing) {
 56 |             ForEach(Array(zip(options.indices, options)), id: \.1.id) { index, option in
    :
 72 |             }
 73 |         }
 74 |         .padding(segmentedControlInsets)
    |          |- error: 'padding' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 75 |     }
 76 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:103:13: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
    |             |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
104 |                 content
105 |                     .blendModeIfNotNil(contentBlendMode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:103:13: error: 'Button' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
    |             |- error: 'Button' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
104 |                 content
105 |                     .blendModeIfNotNil(contentBlendMode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:106:22: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
105 |                     .blendModeIfNotNil(contentBlendMode)
106 |                     .overlay {
    |                      |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                      `- note: add 'if #available' version check
107 |                         if let firstLevelOverlayBlendMode {
108 |                             content
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:108:29: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
106 |                     .overlay {
107 |                         if let firstLevelOverlayBlendMode {
108 |                             content
    |                             |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
109 |                                 .blendMode(firstLevelOverlayBlendMode)
110 |                                 .accessibilityHidden(true)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:109:34: error: 'blendMode' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
107 |                         if let firstLevelOverlayBlendMode {
108 |                             content
109 |                                 .blendMode(firstLevelOverlayBlendMode)
    |                                  |- error: 'blendMode' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
110 |                                 .accessibilityHidden(true)
111 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:110:34: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
108 |                             content
109 |                                 .blendMode(firstLevelOverlayBlendMode)
110 |                                 .accessibilityHidden(true)
    |                                  |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
    |                                  `- note: add 'if #available' version check
111 |                         }
112 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:107:59: error: 'buildIf' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
105 |                     .blendModeIfNotNil(contentBlendMode)
106 |                     .overlay {
107 |                         if let firstLevelOverlayBlendMode {
    |                                                           |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
108 |                             content
109 |                                 .blendMode(firstLevelOverlayBlendMode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:107:59: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
105 |                     .blendModeIfNotNil(contentBlendMode)
106 |                     .overlay {
107 |                         if let firstLevelOverlayBlendMode {
    |                                                           |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                           `- note: add 'if #available' version check
108 |                             content
109 |                                 .blendMode(firstLevelOverlayBlendMode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:111:25: error: 'buildIf' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
109 |                                 .blendMode(firstLevelOverlayBlendMode)
110 |                                 .accessibilityHidden(true)
111 |                         }
    |                         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
112 |                     }
113 |                     .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:106:30: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
105 |                     .blendModeIfNotNil(contentBlendMode)
106 |                     .overlay {
    |                              |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                              `- note: add 'if #available' version check
107 |                         if let firstLevelOverlayBlendMode {
108 |                             content
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:113:22: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
111 |                         }
112 |                     }
113 |                     .overlay {
    |                      |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                      `- note: add 'if #available' version check
114 |                         if let highestLevelOverlayBlendMode {
115 |                             content
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:115:29: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
113 |                     .overlay {
114 |                         if let highestLevelOverlayBlendMode {
115 |                             content
    |                             |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
116 |                                 .blendMode(highestLevelOverlayBlendMode)
117 |                                 .accessibilityHidden(true)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:116:34: error: 'blendMode' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
114 |                         if let highestLevelOverlayBlendMode {
115 |                             content
116 |                                 .blendMode(highestLevelOverlayBlendMode)
    |                                  |- error: 'blendMode' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
117 |                                 .accessibilityHidden(true)
118 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:117:34: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
115 |                             content
116 |                                 .blendMode(highestLevelOverlayBlendMode)
117 |                                 .accessibilityHidden(true)
    |                                  |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
    |                                  `- note: add 'if #available' version check
118 |                         }
119 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:114:61: error: 'buildIf' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
112 |                     }
113 |                     .overlay {
114 |                         if let highestLevelOverlayBlendMode {
    |                                                             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                             `- note: add 'if #available' version check
115 |                             content
116 |                                 .blendMode(highestLevelOverlayBlendMode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:114:61: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
112 |                     }
113 |                     .overlay {
114 |                         if let highestLevelOverlayBlendMode {
    |                                                             |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                             `- note: add 'if #available' version check
115 |                             content
116 |                                 .blendMode(highestLevelOverlayBlendMode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:118:25: error: 'buildIf' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
116 |                                 .blendMode(highestLevelOverlayBlendMode)
117 |                                 .accessibilityHidden(true)
118 |                         }
    |                         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
119 |                     }
120 |                     .background {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:113:30: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
111 |                         }
112 |                     }
113 |                     .overlay {
    |                              |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                              `- note: add 'if #available' version check
114 |                         if let highestLevelOverlayBlendMode {
115 |                             content
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:120:22: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
118 |                         }
119 |                     }
120 |                     .background {
    |                      |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                      `- note: add 'if #available' version check
121 |                         if isSelected {
122 |                             selectionView
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:123:34: error: 'transition' is only available in macOS 14.0 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
121 |                         if isSelected {
122 |                             selectionView
123 |                                 .transition(.offset())
    |                                  |- error: 'transition' is only available in macOS 14.0 or newer
    |                                  `- note: add 'if #available' version check
124 |                                 .matchedGeometryEffect(id: backgroundID, in: namespaceID)
125 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:123:46: error: 'offset(x:y:)' is only available in macOS 14.0 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
121 |                         if isSelected {
122 |                             selectionView
123 |                                 .transition(.offset())
    |                                              |- error: 'offset(x:y:)' is only available in macOS 14.0 or newer
    |                                              `- note: add 'if #available' version check
124 |                                 .matchedGeometryEffect(id: backgroundID, in: namespaceID)
125 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:124:34: error: 'matchedGeometryEffect(id:in:properties:anchor:isSource:)' is only available in macOS 11.0 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
122 |                             selectionView
123 |                                 .transition(.offset())
124 |                                 .matchedGeometryEffect(id: backgroundID, in: namespaceID)
    |                                  |- error: 'matchedGeometryEffect(id:in:properties:anchor:isSource:)' is only available in macOS 11.0 or newer
    |                                  `- note: add 'if #available' version check
125 |                         }
126 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:121:39: error: 'buildIf' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
119 |                     }
120 |                     .background {
121 |                         if isSelected {
    |                                       |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                       `- note: add 'if #available' version check
122 |                             selectionView
123 |                                 .transition(.offset())
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:125:25: error: 'buildIf' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
123 |                                 .transition(.offset())
124 |                                 .matchedGeometryEffect(id: backgroundID, in: namespaceID)
125 |                         }
    |                         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
126 |                     }
127 |                     .animation(animation, value: isSelected)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:120:33: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
118 |                         }
119 |                     }
120 |                     .background {
    |                                 |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
121 |                         if isSelected {
122 |                             selectionView
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:127:22: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
125 |                         }
126 |                     }
127 |                     .animation(animation, value: isSelected)
    |                      |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
128 |             }
129 |             .buttonStyle(SegmentButtonStyle(isPressed: $isPressed))
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:129:14: error: 'buttonStyle' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
127 |                     .animation(animation, value: isSelected)
128 |             }
129 |             .buttonStyle(SegmentButtonStyle(isPressed: $isPressed))
    |              |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
130 |             .accessibilityElement(children: .combine)
131 |             .accessibilityAddTraits(isSelected ? .isSelected : [])
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:130:14: error: 'accessibilityElement(children:)' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
128 |             }
129 |             .buttonStyle(SegmentButtonStyle(isPressed: $isPressed))
130 |             .accessibilityElement(children: .combine)
    |              |- error: 'accessibilityElement(children:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
131 |             .accessibilityAddTraits(isSelected ? .isSelected : [])
132 |             .accessibilityRemoveTraits(isSelected ? [] : .isSelected)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:130:46: error: 'combine' is only available in macOS 10.15 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
128 |             }
129 |             .buttonStyle(SegmentButtonStyle(isPressed: $isPressed))
130 |             .accessibilityElement(children: .combine)
    |                                              |- error: 'combine' is only available in macOS 10.15 or newer
    |                                              `- note: add 'if #available' version check
131 |             .accessibilityAddTraits(isSelected ? .isSelected : [])
132 |             .accessibilityRemoveTraits(isSelected ? [] : .isSelected)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:131:14: error: 'accessibilityAddTraits' is only available in macOS 11.0 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
129 |             .buttonStyle(SegmentButtonStyle(isPressed: $isPressed))
130 |             .accessibilityElement(children: .combine)
131 |             .accessibilityAddTraits(isSelected ? .isSelected : [])
    |              |- error: 'accessibilityAddTraits' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
132 |             .accessibilityRemoveTraits(isSelected ? [] : .isSelected)
133 |             .accessibilityValue(accessibiltyValue)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:132:14: error: 'accessibilityRemoveTraits' is only available in macOS 11.0 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
130 |             .accessibilityElement(children: .combine)
131 |             .accessibilityAddTraits(isSelected ? .isSelected : [])
132 |             .accessibilityRemoveTraits(isSelected ? [] : .isSelected)
    |              |- error: 'accessibilityRemoveTraits' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
133 |             .accessibilityValue(accessibiltyValue)
134 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:133:14: error: 'accessibilityValue' is only available in macOS 11.0 or newer
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
    :
131 |             .accessibilityAddTraits(isSelected ? .isSelected : [])
132 |             .accessibilityRemoveTraits(isSelected ? [] : .isSelected)
133 |             .accessibilityValue(accessibiltyValue)
    |              |- error: 'accessibilityValue' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
134 |         }
135 |
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:102:29: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 81 | extension CustomizableSegmentedControl {
 82 |
 83 |     fileprivate struct Segment<SegmentSelectionView: View, Content: View>: View {
    |                        `- note: add @available attribute to enclosing generic struct
 84 |
 85 |         // MARK: - Properties
    :
100 |         // MARK: - UI
101 |
102 |         var body: some View {
    |             |               |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             |               `- note: add 'if #available' version check
    |             `- note: add @available attribute to enclosing property
103 |             Button(action: action) {
104 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:180:18: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
172 | extension CustomizableSegmentedControl.Segment {
173 |
174 |     private struct SegmentButtonStyle: ButtonStyle {
    |                    `- note: add @available attribute to enclosing struct
175 |
176 |         @Binding var isPressed: Bool?
177 |
178 |         func makeBody(configuration: Configuration) -> some View {
    |              `- note: add @available attribute to enclosing instance method
179 |             configuration.label
180 |                 .contentShape(Rectangle())
    |                  |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
181 |                 .onChange(of: configuration.isPressed) { newValue in
182 |                     isPressed = newValue
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:180:31: error: 'Rectangle' is only available in macOS 10.15 or newer
172 | extension CustomizableSegmentedControl.Segment {
173 |
174 |     private struct SegmentButtonStyle: ButtonStyle {
    |                    `- note: add @available attribute to enclosing struct
175 |
176 |         @Binding var isPressed: Bool?
177 |
178 |         func makeBody(configuration: Configuration) -> some View {
    |              `- note: add @available attribute to enclosing instance method
179 |             configuration.label
180 |                 .contentShape(Rectangle())
    |                               |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
181 |                 .onChange(of: configuration.isPressed) { newValue in
182 |                     isPressed = newValue
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:181:18: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
172 | extension CustomizableSegmentedControl.Segment {
173 |
174 |     private struct SegmentButtonStyle: ButtonStyle {
    |                    `- note: add @available attribute to enclosing struct
175 |
176 |         @Binding var isPressed: Bool?
177 |
178 |         func makeBody(configuration: Configuration) -> some View {
    |              `- note: add @available attribute to enclosing instance method
179 |             configuration.label
180 |                 .contentShape(Rectangle())
181 |                 .onChange(of: configuration.isPressed) { newValue in
    |                  |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
182 |                     isPressed = newValue
183 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:182:21: error: setter for 'isPressed' is only available in macOS 10.15 or newer
172 | extension CustomizableSegmentedControl.Segment {
173 |
174 |     private struct SegmentButtonStyle: ButtonStyle {
    |                    `- note: add @available attribute to enclosing struct
175 |
176 |         @Binding var isPressed: Bool?
177 |
178 |         func makeBody(configuration: Configuration) -> some View {
    |              `- note: add @available attribute to enclosing instance method
179 |             configuration.label
180 |                 .contentShape(Rectangle())
181 |                 .onChange(of: configuration.isPressed) { newValue in
182 |                     isPressed = newValue
    |                     |- error: setter for 'isPressed' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
183 |                 }
184 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:246:13: error: 'blendMode' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
244 |     func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
246 |             blendMode(mode)
    |             |- error: 'blendMode' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
247 |         } else {
248 |             self
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:245:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
244 |     func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
246 |             blendMode(mode)
247 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:247:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
244 |     func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
246 |             blendMode(mode)
247 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
248 |             self
249 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:244:61: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
244 |     func blendModeIfNotNil(_ mode: BlendMode?) -> some View {
    |          |                                                  |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |          |                                                  `- note: add 'if #available' version check
    |          `- note: add @available attribute to enclosing instance method
245 |         if let mode {
246 |             blendMode(mode)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:257:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
257 |         if #available(iOS 15.0, *) {
    |            `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
258 |             background(alignment: alignment, content: content)
259 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:258:13: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
257 |         if #available(iOS 15.0, *) {
258 |             background(alignment: alignment, content: content)
    |             |- error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
    |             `- note: add 'if #available' version check
259 |         } else {
260 |             background(content(), alignment: alignment)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:257:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
257 |         if #available(iOS 15.0, *) {
    |                                    |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
    |                                    `- note: add 'if #available' version check
258 |             background(alignment: alignment, content: content)
259 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:257:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
257 |         if #available(iOS 15.0, *) {
    |                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
258 |             background(alignment: alignment, content: content)
259 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:259:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
    :
257 |         if #available(iOS 15.0, *) {
258 |             background(alignment: alignment, content: content)
259 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
260 |             background(content(), alignment: alignment)
261 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:256:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
251 |
252 |     @ViewBuilder
253 |     func background<T: View>(
    |          `- note: add @available attribute to enclosing instance method
254 |         alignment: Alignment = .center,
255 |         @ViewBuilder _ content: () -> T
256 |     ) -> some View {
    |                    |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
257 |         if #available(iOS 15.0, *) {
258 |             background(alignment: alignment, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:269:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
269 |         if #available(iOS 15.0, *) {
    |            `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
270 |             overlay(alignment: alignment, content: content)
271 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:270:13: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
269 |         if #available(iOS 15.0, *) {
270 |             overlay(alignment: alignment, content: content)
    |             |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
    |             `- note: add 'if #available' version check
271 |         } else {
272 |             overlay(content(), alignment: alignment)
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:269:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
269 |         if #available(iOS 15.0, *) {
    |                                    |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
    |                                    `- note: add 'if #available' version check
270 |             overlay(alignment: alignment, content: content)
271 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:269:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
269 |         if #available(iOS 15.0, *) {
    |                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
270 |             overlay(alignment: alignment, content: content)
271 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:271:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
    :
269 |         if #available(iOS 15.0, *) {
270 |             overlay(alignment: alignment, content: content)
271 |         } else {
    |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
272 |             overlay(content(), alignment: alignment)
273 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CustomizableSegmentedControl/CustomizableSegmentedControl.swift:268:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
239 | // MARK: - View + Extensions
240 |
241 | private extension View {
    |         `- note: add @available attribute to enclosing extension
242 |
243 |     @ViewBuilder
    :
263 |
264 |     @ViewBuilder
265 |     func overlay<T: View>(
    |          `- note: add @available attribute to enclosing instance method
266 |         alignment: Alignment = .center,
267 |         @ViewBuilder _ content: () -> T
268 |     ) -> some View {
    |                    |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
269 |         if #available(iOS 15.0, *) {
270 |             overlay(alignment: alignment, content: content)
BUILD FAILURE 6.1 macosSpm