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 HorizontalScrollPicker, reference main (3025f8), with Swift 6.1 for macOS (SPM) on 22 Nov 2025 23:07:09 UTC.

Build Command

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

Build Log

72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
   :
88 |     ) -> some View {
89 |         basicCellView
90 |             .layoutValue(key: FrameInLayout.self, value: frameBinding)
   |              |- error: 'layoutValue(key:value:)' is only available in macOS 13.0 or newer
   |              `- note: add 'if #available' version check
91 |     }
92 | }
[14/14] Compiling HorizontalScrollPicker ViewModel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:31:36: error: 'ScrollPosition' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 29 |
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
    |                                    `- error: 'ScrollPosition' is only available in macOS 15.0 or newer
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:31:36: error: 'init(idType:x:)' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 29 |
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
    |                                    `- error: 'init(idType:x:)' is only available in macOS 15.0 or newer
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:25:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 23 |
 24 |     // Scrollview geometry state
 25 |     @Published private(set) var leadingContentMargin: CGFloat = 0.0
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 26 |     @Published private(set) var trailingContentMargin: CGFloat = 0.0
 27 |     private(set) var scrollViewFrame: CGRect = .zero
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:26:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 24 |     // Scrollview geometry state
 25 |     @Published private(set) var leadingContentMargin: CGFloat = 0.0
 26 |     @Published private(set) var trailingContentMargin: CGFloat = 0.0
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 27 |     private(set) var scrollViewFrame: CGRect = .zero
 28 |     private(set) var scrollViewVisibleRect: CGRect = .zero
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 29 |
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:32:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
 32 |     @Published private(set) var selection: CellFrame
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:33:35: error: 'ScrollPhase' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
    |                                   `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
 34 |
 35 |     /// Used to debounce updates to the current selection when `updateScrollGeometry(_:)` is called
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:37:34: error: 'Task' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 35 |     /// Used to debounce updates to the current selection when `updateScrollGeometry(_:)` is called
 36 |     /// repeatedly.
 37 |     private var frameUpdateTask: Task<Void, Error>?
    |                                  `- error: 'Task' is only available in macOS 10.15 or newer
 38 |
 39 |     init(data: Data, id: KeyPath<Data.Element, ID>) {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:50:40: error: 'ScrollPhase' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 48 |     }
 49 |
 50 |     func updateScrollPhase(_ newPhase: ScrollPhase) {
    |          |                             `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 51 |         self.scrollPhase = newPhase
 52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:54:38: error: 'ScrollGeometry' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          |                           `- error: 'ScrollGeometry' is only available in macOS 15.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
<unknown>:0: error: cannot convert value of type 'KeyPath<ViewModel<Data, ID>, CGFloat>' to expected argument type 'ReferenceWritableKeyPath<ViewModel<Data, ID>, CGFloat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<ViewModel<Data, ID>, CGFloat>' to expected argument type 'ReferenceWritableKeyPath<ViewModel<Data, ID>, CGFloat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<ViewModel<Data, ID>, ScrollPosition>' to expected argument type 'ReferenceWritableKeyPath<ViewModel<Data, ID>, ScrollPosition>'
<unknown>:0: error: cannot convert value of type 'KeyPath<ViewModel<Data, ID>, ViewModel<Data, ID>.CellFrame>' to expected argument type 'ReferenceWritableKeyPath<ViewModel<Data, ID>, ViewModel<Data, ID>.CellFrame>'
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:10:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:41:9: error: setter for 'selection' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 37 |     private var frameUpdateTask: Task<Void, Error>?
 38 |
 39 |     init(data: Data, id: KeyPath<Data.Element, ID>) {
    |     `- note: add @available attribute to enclosing initializer
 40 |         self.pickerData = PickerData(data: data, id: id)
 41 |         self.selection = CellFrame(id: data.first![keyPath: id], frame: .zero)
    |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 42 |     }
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:56:26: error: 'cancel()' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    |                          |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 57 |         frameUpdateTask = nil
 58 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:78:13: error: setter for 'selection' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 76 |         if scrollPhase.isScrolling {
 77 |             // Change is due to scrolling action, so update current selection.
 78 |             selection = CellFrame(id: newSelectionId, frame: newSelectionFrame)
    |             |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 79 |         } else {
 80 |             // Change is due to something else, likely a frame update.
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:82:31: error: 'Task' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 80 |             // Change is due to something else, likely a frame update.
 81 |             // Block changing of current selection  by overriding to previous selection
 82 |             frameUpdateTask = Task {
    |                               |- error: 'Task' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 83 |                 try await Task.sleep(for: .seconds(0.1))
 84 |                 sendScrollerTo(selection: selection.id)
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:82:31: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 80 |             // Change is due to something else, likely a frame update.
 81 |             // Block changing of current selection  by overriding to previous selection
 82 |             frameUpdateTask = Task {
    |                               |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 83 |                 try await Task.sleep(for: .seconds(0.1))
 84 |                 sendScrollerTo(selection: selection.id)
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:83:27: error: 'Task' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 81 |             // Block changing of current selection  by overriding to previous selection
 82 |             frameUpdateTask = Task {
 83 |                 try await Task.sleep(for: .seconds(0.1))
    |                           |- error: 'Task' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 84 |                 sendScrollerTo(selection: selection.id)
 85 |             }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:83:32: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 81 |             // Block changing of current selection  by overriding to previous selection
 82 |             frameUpdateTask = Task {
 83 |                 try await Task.sleep(for: .seconds(0.1))
    |                                |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                `- note: add 'if #available' version check
 84 |                 sendScrollerTo(selection: selection.id)
 85 |             }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:83:44: error: 'seconds' is only available in macOS 13.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 81 |             // Block changing of current selection  by overriding to previous selection
 82 |             frameUpdateTask = Task {
 83 |                 try await Task.sleep(for: .seconds(0.1))
    |                                            |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                            `- note: add 'if #available' version check
 84 |                 sendScrollerTo(selection: selection.id)
 85 |             }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:96:9: error: setter for 'selection' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 87 |     }
 88 |
 89 |     func updateCellFrames(_ frames: [ID : CGRect]) {
    |          `- note: add @available attribute to enclosing instance method
 90 |         // Convert from dictionary to sorted tuples by frame order
 91 |         self.cellFrames = frames.sorted { $0.value.origin.x < $1.value.origin.x }
    :
 94 |         var newSelection = selection
 95 |         newSelection.frame = frames[selection.id, default: .zero]
 96 |         selection = newSelection
    |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 97 |     }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:112:17: error: setter for 'leadingContentMargin' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 97 |     }
 98 |
 99 |     func updateContentMargins() {
    |          `- note: add @available attribute to enclosing instance method
100 |         guard !cellFrames.isEmpty,
101 |               scrollViewFrame.width > 0.0
    :
110 |             let newMargin = scrollViewRadius - newFrameRadius
111 |             if (newMargin - leadingContentMargin).magnitude > 0.1 {
112 |                 leadingContentMargin = newMargin
    |                 |- error: setter for 'leadingContentMargin' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
113 |             }
114 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:120:17: error: setter for 'trailingContentMargin' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 97 |     }
 98 |
 99 |     func updateContentMargins() {
    |          `- note: add @available attribute to enclosing instance method
100 |         guard !cellFrames.isEmpty,
101 |               scrollViewFrame.width > 0.0
    :
118 |             let newMargin = scrollViewRadius - newFrameRadius
119 |             if (newMargin - trailingContentMargin).magnitude > 0.1 {
120 |                 trailingContentMargin = newMargin
    |                 |- error: setter for 'trailingContentMargin' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
121 |             }
122 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:135:9: error: setter for 'selection' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
129 |     ///
130 |     /// To animate the update, call this function inside a `withAnimation` closure.
131 |     func sendScrollerTo(selection: ID) {
    |          `- note: add @available attribute to enclosing instance method
132 |         // Update selection value before changing scrollView position --
133 |         // this prevents `frameUpdateTask` set in `updateScrollGeometry(_:)` from
134 |         // blocking the selection update.
135 |         self.selection = CellFrame(id: selection, frame: .zero)
    |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
136 |
137 |         guard let cellFrame = cellFrames.first(where: {$0.0 == selection })?.1 else {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:141:9: error: cannot pass as inout because setter for 'selection' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
129 |     ///
130 |     /// To animate the update, call this function inside a `withAnimation` closure.
131 |     func sendScrollerTo(selection: ID) {
    |          `- note: add @available attribute to enclosing instance method
132 |         // Update selection value before changing scrollView position --
133 |         // this prevents `frameUpdateTask` set in `updateScrollGeometry(_:)` from
    :
139 |         }
140 |
141 |         self.selection.frame = cellFrame
    |         |- error: cannot pass as inout because setter for 'selection' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
142 |
143 |         let centeredPoint = cellFrame.midX
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:145:9: error: cannot pass as inout because setter for 'positionState' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
129 |     ///
130 |     /// To animate the update, call this function inside a `withAnimation` closure.
131 |     func sendScrollerTo(selection: ID) {
    |          `- note: add @available attribute to enclosing instance method
132 |         // Update selection value before changing scrollView position --
133 |         // this prevents `frameUpdateTask` set in `updateScrollGeometry(_:)` from
    :
143 |         let centeredPoint = cellFrame.midX
144 |         let offset = centeredPoint - scrollViewFrame.width / 2.0 + leadingContentMargin
145 |         positionState.scrollTo(x: offset)
    |         |- error: cannot pass as inout because setter for 'positionState' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
146 |     }
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:145:23: error: 'scrollTo(x:)' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
129 |     ///
130 |     /// To animate the update, call this function inside a `withAnimation` closure.
131 |     func sendScrollerTo(selection: ID) {
    |          `- note: add @available attribute to enclosing instance method
132 |         // Update selection value before changing scrollView position --
133 |         // this prevents `frameUpdateTask` set in `updateScrollGeometry(_:)` from
    :
143 |         let centeredPoint = cellFrame.midX
144 |         let offset = centeredPoint - scrollViewFrame.width / 2.0 + leadingContentMargin
145 |         positionState.scrollTo(x: offset)
    |                       |- error: 'scrollTo(x:)' is only available in macOS 15.0 or newer
    |                       `- note: add 'if #available' version check
146 |     }
147 | }
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
[2/12] Compiling HorizontalScrollPicker PickerData.swift
[3/13] Compiling HorizontalScrollPicker ViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:31:36: error: 'ScrollPosition' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 29 |
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
    |                                    `- error: 'ScrollPosition' is only available in macOS 15.0 or newer
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:31:36: error: 'init(idType:x:)' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 29 |
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
    |                                    `- error: 'init(idType:x:)' is only available in macOS 15.0 or newer
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:25:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 23 |
 24 |     // Scrollview geometry state
 25 |     @Published private(set) var leadingContentMargin: CGFloat = 0.0
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 26 |     @Published private(set) var trailingContentMargin: CGFloat = 0.0
 27 |     private(set) var scrollViewFrame: CGRect = .zero
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:26:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 24 |     // Scrollview geometry state
 25 |     @Published private(set) var leadingContentMargin: CGFloat = 0.0
 26 |     @Published private(set) var trailingContentMargin: CGFloat = 0.0
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 27 |     private(set) var scrollViewFrame: CGRect = .zero
 28 |     private(set) var scrollViewVisibleRect: CGRect = .zero
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 29 |
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:32:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
 32 |     @Published private(set) var selection: CellFrame
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:33:35: error: 'ScrollPhase' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
    |                                   `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
 34 |
 35 |     /// Used to debounce updates to the current selection when `updateScrollGeometry(_:)` is called
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:37:34: error: 'Task' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 35 |     /// Used to debounce updates to the current selection when `updateScrollGeometry(_:)` is called
 36 |     /// repeatedly.
 37 |     private var frameUpdateTask: Task<Void, Error>?
    |                                  `- error: 'Task' is only available in macOS 10.15 or newer
 38 |
 39 |     init(data: Data, id: KeyPath<Data.Element, ID>) {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:50:40: error: 'ScrollPhase' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 48 |     }
 49 |
 50 |     func updateScrollPhase(_ newPhase: ScrollPhase) {
    |          |                             `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 51 |         self.scrollPhase = newPhase
 52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:54:38: error: 'ScrollGeometry' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          |                           `- error: 'ScrollGeometry' is only available in macOS 15.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
<unknown>:0: error: cannot convert value of type 'KeyPath<ViewModel<Data, ID>, CGFloat>' to expected argument type 'ReferenceWritableKeyPath<ViewModel<Data, ID>, CGFloat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<ViewModel<Data, ID>, CGFloat>' to expected argument type 'ReferenceWritableKeyPath<ViewModel<Data, ID>, CGFloat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<ViewModel<Data, ID>, ScrollPosition>' to expected argument type 'ReferenceWritableKeyPath<ViewModel<Data, ID>, ScrollPosition>'
<unknown>:0: error: cannot convert value of type 'KeyPath<ViewModel<Data, ID>, ViewModel<Data, ID>.CellFrame>' to expected argument type 'ReferenceWritableKeyPath<ViewModel<Data, ID>, ViewModel<Data, ID>.CellFrame>'
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:10:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:41:9: error: setter for 'selection' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 37 |     private var frameUpdateTask: Task<Void, Error>?
 38 |
 39 |     init(data: Data, id: KeyPath<Data.Element, ID>) {
    |     `- note: add @available attribute to enclosing initializer
 40 |         self.pickerData = PickerData(data: data, id: id)
 41 |         self.selection = CellFrame(id: data.first![keyPath: id], frame: .zero)
    |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 42 |     }
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:56:26: error: 'cancel()' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    |                          |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 57 |         frameUpdateTask = nil
 58 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:78:13: error: setter for 'selection' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 76 |         if scrollPhase.isScrolling {
 77 |             // Change is due to scrolling action, so update current selection.
 78 |             selection = CellFrame(id: newSelectionId, frame: newSelectionFrame)
    |             |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 79 |         } else {
 80 |             // Change is due to something else, likely a frame update.
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:82:31: error: 'Task' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 80 |             // Change is due to something else, likely a frame update.
 81 |             // Block changing of current selection  by overriding to previous selection
 82 |             frameUpdateTask = Task {
    |                               |- error: 'Task' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 83 |                 try await Task.sleep(for: .seconds(0.1))
 84 |                 sendScrollerTo(selection: selection.id)
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:82:31: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 80 |             // Change is due to something else, likely a frame update.
 81 |             // Block changing of current selection  by overriding to previous selection
 82 |             frameUpdateTask = Task {
    |                               |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 83 |                 try await Task.sleep(for: .seconds(0.1))
 84 |                 sendScrollerTo(selection: selection.id)
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:83:27: error: 'Task' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 81 |             // Block changing of current selection  by overriding to previous selection
 82 |             frameUpdateTask = Task {
 83 |                 try await Task.sleep(for: .seconds(0.1))
    |                           |- error: 'Task' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 84 |                 sendScrollerTo(selection: selection.id)
 85 |             }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:83:32: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 81 |             // Block changing of current selection  by overriding to previous selection
 82 |             frameUpdateTask = Task {
 83 |                 try await Task.sleep(for: .seconds(0.1))
    |                                |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                                `- note: add 'if #available' version check
 84 |                 sendScrollerTo(selection: selection.id)
 85 |             }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:83:44: error: 'seconds' is only available in macOS 13.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
    :
 81 |             // Block changing of current selection  by overriding to previous selection
 82 |             frameUpdateTask = Task {
 83 |                 try await Task.sleep(for: .seconds(0.1))
    |                                            |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                            `- note: add 'if #available' version check
 84 |                 sendScrollerTo(selection: selection.id)
 85 |             }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:96:9: error: setter for 'selection' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 87 |     }
 88 |
 89 |     func updateCellFrames(_ frames: [ID : CGRect]) {
    |          `- note: add @available attribute to enclosing instance method
 90 |         // Convert from dictionary to sorted tuples by frame order
 91 |         self.cellFrames = frames.sorted { $0.value.origin.x < $1.value.origin.x }
    :
 94 |         var newSelection = selection
 95 |         newSelection.frame = frames[selection.id, default: .zero]
 96 |         selection = newSelection
    |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 97 |     }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:112:17: error: setter for 'leadingContentMargin' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 97 |     }
 98 |
 99 |     func updateContentMargins() {
    |          `- note: add @available attribute to enclosing instance method
100 |         guard !cellFrames.isEmpty,
101 |               scrollViewFrame.width > 0.0
    :
110 |             let newMargin = scrollViewRadius - newFrameRadius
111 |             if (newMargin - leadingContentMargin).magnitude > 0.1 {
112 |                 leadingContentMargin = newMargin
    |                 |- error: setter for 'leadingContentMargin' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
113 |             }
114 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:120:17: error: setter for 'trailingContentMargin' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 97 |     }
 98 |
 99 |     func updateContentMargins() {
    |          `- note: add @available attribute to enclosing instance method
100 |         guard !cellFrames.isEmpty,
101 |               scrollViewFrame.width > 0.0
    :
118 |             let newMargin = scrollViewRadius - newFrameRadius
119 |             if (newMargin - trailingContentMargin).magnitude > 0.1 {
120 |                 trailingContentMargin = newMargin
    |                 |- error: setter for 'trailingContentMargin' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
121 |             }
122 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:135:9: error: setter for 'selection' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
129 |     ///
130 |     /// To animate the update, call this function inside a `withAnimation` closure.
131 |     func sendScrollerTo(selection: ID) {
    |          `- note: add @available attribute to enclosing instance method
132 |         // Update selection value before changing scrollView position --
133 |         // this prevents `frameUpdateTask` set in `updateScrollGeometry(_:)` from
134 |         // blocking the selection update.
135 |         self.selection = CellFrame(id: selection, frame: .zero)
    |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
136 |
137 |         guard let cellFrame = cellFrames.first(where: {$0.0 == selection })?.1 else {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:141:9: error: cannot pass as inout because setter for 'selection' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
129 |     ///
130 |     /// To animate the update, call this function inside a `withAnimation` closure.
131 |     func sendScrollerTo(selection: ID) {
    |          `- note: add @available attribute to enclosing instance method
132 |         // Update selection value before changing scrollView position --
133 |         // this prevents `frameUpdateTask` set in `updateScrollGeometry(_:)` from
    :
139 |         }
140 |
141 |         self.selection.frame = cellFrame
    |         |- error: cannot pass as inout because setter for 'selection' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
142 |
143 |         let centeredPoint = cellFrame.midX
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:145:9: error: cannot pass as inout because setter for 'positionState' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
129 |     ///
130 |     /// To animate the update, call this function inside a `withAnimation` closure.
131 |     func sendScrollerTo(selection: ID) {
    |          `- note: add @available attribute to enclosing instance method
132 |         // Update selection value before changing scrollView position --
133 |         // this prevents `frameUpdateTask` set in `updateScrollGeometry(_:)` from
    :
143 |         let centeredPoint = cellFrame.midX
144 |         let offset = centeredPoint - scrollViewFrame.width / 2.0 + leadingContentMargin
145 |         positionState.scrollTo(x: offset)
    |         |- error: cannot pass as inout because setter for 'positionState' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
146 |     }
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:145:23: error: 'scrollTo(x:)' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
129 |     ///
130 |     /// To animate the update, call this function inside a `withAnimation` closure.
131 |     func sendScrollerTo(selection: ID) {
    |          `- note: add @available attribute to enclosing instance method
132 |         // Update selection value before changing scrollView position --
133 |         // this prevents `frameUpdateTask` set in `updateScrollGeometry(_:)` from
    :
143 |         let centeredPoint = cellFrame.midX
144 |         let offset = centeredPoint - scrollViewFrame.width / 2.0 + leadingContentMargin
145 |         positionState.scrollTo(x: offset)
    |                       |- error: 'scrollTo(x:)' is only available in macOS 15.0 or newer
    |                       `- note: add 'if #available' version check
146 |     }
147 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/13] Emitting module HorizontalScrollPicker
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:11:29: error: 'Layout' is only available in macOS 13.0 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
   |                    |        `- error: 'Layout' is only available in macOS 13.0 or newer
   |                    `- note: add @available attribute to enclosing associated type
12 |     associatedtype CellView: View
13 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:12:30: error: 'View' is only available in macOS 10.15 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
12 |     associatedtype CellView: View
   |                    |         `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
13 |
14 |     /// <#Description#>
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:31:23: error: 'Binding' is only available in macOS 10.15 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
12 |     associatedtype CellView: View
   :
27 |     ///
28 |     /// - Returns: <#description#>
29 |     func configuredCellContent(
   |          `- note: add @available attribute to enclosing instance method
30 |         properties: PickerLayoutProperties,
31 |         frameBinding: Binding<CGRect>,
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
32 |         basicCellView: Subview
33 |     ) -> CellView
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:32:24: error: 'Subview' is only available in macOS 15.0 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
12 |     associatedtype CellView: View
   :
27 |     ///
28 |     /// - Returns: <#description#>
29 |     func configuredCellContent(
   |          `- note: add @available attribute to enclosing instance method
30 |         properties: PickerLayoutProperties,
31 |         frameBinding: Binding<CGRect>,
32 |         basicCellView: Subview
   |                        `- error: 'Subview' is only available in macOS 15.0 or newer
33 |     ) -> CellView
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:45:80: error: 'Layout' is only available in macOS 13.0 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
   |                 |                                                              `- error: 'Layout' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
46 |         HStackLayout(
47 |             alignment: properties.verticalAlignment,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:54:23: error: 'Binding' is only available in macOS 10.15 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
55 |         basicCellView: Subview
56 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:55:24: error: 'Subview' is only available in macOS 15.0 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
55 |         basicCellView: Subview
   |                        `- error: 'Subview' is only available in macOS 15.0 or newer
56 |     ) -> some View {
57 |         basicCellView
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:56:15: error: 'View' is only available in macOS 10.15 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
55 |         basicCellView: Subview
56 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
57 |         basicCellView
58 |             .onGeometryChange(for: CGRect.self) { geo in
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:75:80: error: 'Layout' is only available in macOS 13.0 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
   |                 |                                                              `- error: 'Layout' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
76 |         HorizontalScrollerLayout(
77 |             parentViewWidth: properties.scrollViewWidth,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:86:23: error: 'Binding' is only available in macOS 10.15 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
87 |         basicCellView: Subview
88 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:87:24: error: 'Subview' is only available in macOS 15.0 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
87 |         basicCellView: Subview
   |                        `- error: 'Subview' is only available in macOS 15.0 or newer
88 |     ) -> some View {
89 |         basicCellView
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:88:15: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
87 |         basicCellView: Subview
88 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
89 |         basicCellView
90 |             .layoutValue(key: FrameInLayout.self, value: frameBinding)
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerLayoutProperties.swift:11:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct PickerLayoutProperties: Sendable {
   |               `- note: add @available attribute to enclosing struct
10 |     public var coordinateSpaceName: UUID
11 |     public var verticalAlignment: VerticalAlignment
   |                                   `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
12 |     public var horizontalSpacing: CGFloat?
13 |     public var scrollViewWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:13:35: error: 'Animation' is only available in macOS 10.15 or newer
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
11 |     struct PositionTarget: Sendable {
   |            `- note: add @available attribute to enclosing struct
12 |         var targetId: ID
13 |         var behavior: (animation: Animation, completion: (@Sendable () -> Void)?)?
   |                                   `- error: 'Animation' is only available in macOS 10.15 or newer
14 |     }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
14 |     }
15 |
16 |     @State var value: ID
   |      `- error: 'State' is only available in macOS 10.15 or newer
17 |     var positionTargets: AsyncStream<PositionTarget>
18 |     private var continuation: AsyncStream<PositionTarget>.Continuation
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:17:26: error: 'AsyncStream' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
15 |
16 |     @State var value: ID
17 |     var positionTargets: AsyncStream<PositionTarget>
   |                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
18 |     private var continuation: AsyncStream<PositionTarget>.Continuation
19 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:18:31: error: 'AsyncStream' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
16 |     @State var value: ID
17 |     var positionTargets: AsyncStream<PositionTarget>
18 |     private var continuation: AsyncStream<PositionTarget>.Continuation
   |                               `- error: 'AsyncStream' is only available in macOS 10.15 or newer
19 |
20 |     public init(wrappedValue : ID) {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:29:32: error: 'Binding' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
27 |     }
28 |
29 |     public var projectedValue: Binding<ID> {
   |                |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
30 |         Binding {
31 |             value
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:47:20: error: 'Animation' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
43 |     }
44 |
45 |     public func scrollToSelection(
   |                 `- note: add @available attribute to enclosing instance method
46 |         _ newSelection: ID,
47 |         animation: Animation = .default,
   |                    `- error: 'Animation' is only available in macOS 10.15 or newer
48 |         completion: (@Sendable () -> Void)? = nil
49 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:47:33: error: 'default' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
43 |     }
44 |
45 |     public func scrollToSelection(
   |                 `- note: add @available attribute to enclosing instance method
46 |         _ newSelection: ID,
47 |         animation: Animation = .default,
   |                                 `- error: 'default' is only available in macOS 10.15 or newer
48 |         completion: (@Sendable () -> Void)? = nil
49 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:22:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 20 |
 21 |     // Initializer Properties
 22 |     var verticalAlignment: VerticalAlignment
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 23 |     var spacing: CGFloat?
 24 |     var selection: PickerSelection<ID>
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:26:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 24 |     var selection: PickerSelection<ID>
 25 |     var layoutStyle = CustomLayoutStyle()
 26 |     @ViewBuilder var cells: (Cell) -> CellContent
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 27 |
 28 |     // State Properties
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:29:6: error: 'State' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 27 |
 28 |     // State Properties
 29 |     @State private var coordinateSpace = UUID()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 30 |     @StateObject private var viewModel: ViewModel<Data, ID>
 31 |     @State private var cellFrames: [ID : CGRect] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:30:6: error: 'StateObject' is only available in macOS 11.0 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 28 |     // State Properties
 29 |     @State private var coordinateSpace = UUID()
 30 |     @StateObject private var viewModel: ViewModel<Data, ID>
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 31 |     @State private var cellFrames: [ID : CGRect] = [:]
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:31:6: error: 'State' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 29 |     @State private var coordinateSpace = UUID()
 30 |     @StateObject private var viewModel: ViewModel<Data, ID>
 31 |     @State private var cellFrames: [ID : CGRect] = [:]
    |      `- error: 'State' is only available in macOS 10.15 or newer
 32 |
 33 |     /// Creates a `HorizontalScrollPicker` that generates subviews for each option, using a provided
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:47:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 42 |     ///   - selection: A `PickerSelection` variable that binds to the currently-selected option.
 43 |     ///   - cellContent: The content builder used to create a view for each option in `data`.
 44 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 45 |         _ data: Data,
 46 |         id: KeyPath<Data.Element, ID>,
 47 |         verticalAlignment: VerticalAlignment = .center,
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 48 |         spacing: CGFloat? = nil,
 49 |         selection: PickerSelection<ID>,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:47:49: error: 'center' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 42 |     ///   - selection: A `PickerSelection` variable that binds to the currently-selected option.
 43 |     ///   - cellContent: The content builder used to create a view for each option in `data`.
 44 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 45 |         _ data: Data,
 46 |         id: KeyPath<Data.Element, ID>,
 47 |         verticalAlignment: VerticalAlignment = .center,
    |                                                 `- error: 'center' is only available in macOS 10.15 or newer
 48 |         spacing: CGFloat? = nil,
 49 |         selection: PickerSelection<ID>,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:60:27: error: 'View' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 58 |     }
 59 |
 60 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 61 |         HorizontalScrollPickerContent(
 62 |             viewModel: viewModel,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:17:20: error: 'View' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
 16 |       ID: Hashable & Sendable,
 17 |       CellContent: View
    |                    `- error: 'View' is only available in macOS 10.15 or newer
 18 | {
 19 |     public typealias Cell = CellData<Data.Element, ID>
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:89:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 72 | }
 73 |
 74 | extension HorizontalScrollPicker where Data.Element: Identifiable, Data.Element.ID == ID {
    | `- note: add @available attribute to enclosing extension
 75 |     /// Creates a `HorizontalScrollPicker` that generates subviews for each option, using each
 76 |     /// option's `id` to identify it.
    :
 85 |     ///   which `Layout` to use in setting up the scroller.
 86 |     ///   - cellContent: The content builder used to create a view for each option in `data`.
 87 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 88 |         _ data: Data,
 89 |         verticalAlignment: VerticalAlignment,
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 90 |         spacing: CGFloat? = nil,
 91 |         selection: PickerSelection<ID>,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:74:54: error: 'Identifiable' is only available in macOS 10.15 or newer
 72 | }
 73 |
 74 | extension HorizontalScrollPicker where Data.Element: Identifiable, Data.Element.ID == ID {
    | |                                                    `- error: 'Identifiable' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
 75 |     /// Creates a `HorizontalScrollPicker` that generates subviews for each option, using each
 76 |     /// option's `id` to identify it.
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/CenterAlignedScrollBehavior.swift:17:15: error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
  9 | // MARK: - Convenience Static Initializer
 10 |
 11 | extension ScrollTargetBehavior {
    | `- note: add @available attribute to enclosing extension
 12 |     static func centerAligned<ID>(
    |                 `- note: add @available attribute to enclosing static method
 13 |         cellFrames: [ID : CGRect],
 14 |         scrollViewWidth: CGFloat,
 15 |         leadingInset: CGFloat,
 16 |         trailingInset: CGFloat
 17 |     ) -> some ScrollTargetBehavior
    |               `- error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
 18 |     where Self == CenterAlignedScrollBehavior<ID>
 19 |     {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/CenterAlignedScrollBehavior.swift:11:11: error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
  9 | // MARK: - Convenience Static Initializer
 10 |
 11 | extension ScrollTargetBehavior {
    | |         `- error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
    | `- note: add @available attribute to enclosing extension
 12 |     static func centerAligned<ID>(
 13 |         cellFrames: [ID : CGRect],
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/CenterAlignedScrollBehavior.swift:37:39: error: 'ScrollTarget' is only available in macOS 14.0 or newer
 29 | // MARK: - CenterAlignedScrollBehavior
 30 |
 31 | struct CenterAlignedScrollBehavior<ID: Hashable>: ScrollTargetBehavior {
    |        `- note: add @available attribute to enclosing generic struct
 32 |     var cellFrames: [ID : CGRect]
 33 |     var scrollViewWidth: CGFloat
    :
 35 |     var trailingInset: CGFloat
 36 |
 37 |     func updateTarget(_ target: inout ScrollTarget, context: TargetContext) {
    |          |                            `- error: 'ScrollTarget' is only available in macOS 14.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 38 |         guard !cellFrames.isEmpty else { return }
 39 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/GeometryData.swift:13:23: error: 'ScrollPhase' is only available in macOS 15.0 or newer
 7 | import SwiftUI
 8 |
 9 | struct GeometryData: Equatable, Sendable {
   |        `- note: add @available attribute to enclosing struct
10 |     var leadingContentMargin: CGFloat = 0.0
11 |     var trailingContentMargin: CGFloat = 0.0
12 |
13 |     var scrollPhase = ScrollPhase.idle
   |                       `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
14 |
15 |     var scrollViewFrame: CGRect = .zero
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/GeometryData.swift:19:25: error: 'ScrollGeometry' is only available in macOS 15.0 or newer
 7 | import SwiftUI
 8 |
 9 | struct GeometryData: Equatable, Sendable {
   |        `- note: add @available attribute to enclosing struct
10 |     var leadingContentMargin: CGFloat = 0.0
11 |     var trailingContentMargin: CGFloat = 0.0
   :
17 |
18 |     // ScrollGeometry Values
19 |     var scrollGeometry: ScrollGeometry
   |                         `- error: 'ScrollGeometry' is only available in macOS 15.0 or newer
20 |
21 |     /// amount that the scrollView is scrolled within its frame from its origin.
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/GeometryData.swift:51:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | struct GeometryData: Equatable, Sendable {
   |        `- note: add @available attribute to enclosing struct
10 |     var leadingContentMargin: CGFloat = 0.0
11 |     var trailingContentMargin: CGFloat = 0.0
   :
49 |
50 |     /// Edge insets of the scrollView, set with the contentInset modifier
51 |     var scrollContentInset: EdgeInsets {
   |         |                   `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
52 |         scrollGeometry.contentInsets
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:21:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 19 |     typealias Cell = CellData<Data.Element, ID>
 20 |
 21 |     @ObservedObject var viewModel: ViewModel<Data, ID>
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 22 |     @Binding var cellFrames: [ID : CGRect]
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:22:6: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 20 |
 21 |     @ObservedObject var viewModel: ViewModel<Data, ID>
 22 |     @Binding var cellFrames: [ID : CGRect]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 23 |
 24 |     var verticalAlignment: VerticalAlignment
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:24:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 22 |     @Binding var cellFrames: [ID : CGRect]
 23 |
 24 |     var verticalAlignment: VerticalAlignment
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 25 |     var spacing: CGFloat?
 26 |     var selection: PickerSelection<ID>
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:29:28: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 27 |     var coordinateSpace: UUID
 28 |     var layoutStyle: Style
 29 |     var debugGeometryData: Binding<GeometryData>?
    |                            `- error: 'Binding' is only available in macOS 10.15 or newer
 30 |
 31 |     @ViewBuilder var basicCell: (Cell) -> CellContent
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:31:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 29 |     var debugGeometryData: Binding<GeometryData>?
 30 |
 31 |     @ViewBuilder var basicCell: (Cell) -> CellContent
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 32 |
 33 |     init(
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:35:21: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 31 |     @ViewBuilder var basicCell: (Cell) -> CellContent
 32 |
 33 |     init(
    |     `- note: add @available attribute to enclosing initializer
 34 |         viewModel: ViewModel<Data, ID>,
 35 |         cellFrames: Binding<[ID : CGRect]>,
    |                     `- error: 'Binding' is only available in macOS 10.15 or newer
 36 |         verticalAlignment: VerticalAlignment,
 37 |         spacing: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:36:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 31 |     @ViewBuilder var basicCell: (Cell) -> CellContent
 32 |
 33 |     init(
    |     `- note: add @available attribute to enclosing initializer
 34 |         viewModel: ViewModel<Data, ID>,
 35 |         cellFrames: Binding<[ID : CGRect]>,
 36 |         verticalAlignment: VerticalAlignment,
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 37 |         spacing: CGFloat? = nil,
 38 |         selection: PickerSelection<ID>,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:41:20: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 31 |     @ViewBuilder var basicCell: (Cell) -> CellContent
 32 |
 33 |     init(
    |     `- note: add @available attribute to enclosing initializer
 34 |         viewModel: ViewModel<Data, ID>,
 35 |         cellFrames: Binding<[ID : CGRect]>,
    :
 39 |         coordinateSpace: UUID,
 40 |         layoutStyle: Style,
 41 |         debugData: Binding<GeometryData>? = nil,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 42 |         basicCell: @escaping (Cell) -> CellContent
 43 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:55:20: error: 'View' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 53 |     }
 54 |
 55 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 56 |         let props = makeProperties()
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
 15 |       ID: Hashable & Sendable,
 16 |       CellContent: View,
    |                    `- error: 'View' is only available in macOS 10.15 or newer
 17 |       Style: HorizontalScrollerStyle
 18 | {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:150:36: error: 'Binding' is only available in macOS 10.15 or newer
137 | // MARK: - Internal Content Helper Functions
138 |
139 | extension HorizontalScrollPickerContent {
    | `- note: add @available attribute to enclosing extension
140 |     func makeProperties() -> PickerLayoutProperties {
141 |         PickerLayoutProperties(
    :
148 |     }
149 |
150 |     func frameBinding(cell: ID) -> Binding<CGRect> {
    |          |                         `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
151 |         Binding {
152 |             cellFrames[cell, default: .zero]
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:159:74: error: 'View' is only available in macOS 10.15 or newer
137 | // MARK: - Internal Content Helper Functions
138 |
139 | extension HorizontalScrollPickerContent {
    | `- note: add @available attribute to enclosing extension
140 |     func makeProperties() -> PickerLayoutProperties {
141 |         PickerLayoutProperties(
    :
157 |
158 |     @ViewBuilder
159 |     func configuredCellViews(properties: PickerLayoutProperties) -> some View {
    |          |                                                               `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
160 |         let cellDatas = viewModel.pickerData.generateCells()
161 |         let basicCells = ForEach(cellDatas, id: \.id) { aCell in
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:158:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
137 | // MARK: - Internal Content Helper Functions
138 |
139 | extension HorizontalScrollPickerContent {
    | `- note: add @available attribute to enclosing extension
140 |     func makeProperties() -> PickerLayoutProperties {
141 |         PickerLayoutProperties(
    :
156 |     }
157 |
158 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
159 |     func configuredCellViews(properties: PickerLayoutProperties) -> some View {
    |          `- note: add @available attribute to enclosing instance method
160 |         let cellDatas = viewModel.pickerData.generateCells()
161 |         let basicCells = ForEach(cellDatas, id: \.id) { aCell in
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:13:49: error: 'center' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct HorizontalScrollerLayout {
    |        `- note: add @available attribute to enclosing struct
 11 |     var parentViewWidth: CGFloat
 12 |     var visibleRect: CGRect
 13 |     var verticalAlignment: VerticalAlignment = .center
    |                                                 `- error: 'center' is only available in macOS 10.15 or newer
 14 |     var spacing: CGFloat? = nil
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:13:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct HorizontalScrollerLayout {
    |        `- note: add @available attribute to enclosing struct
 11 |     var parentViewWidth: CGFloat
 12 |     var visibleRect: CGRect
 13 |     var verticalAlignment: VerticalAlignment = .center
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 14 |     var spacing: CGFloat? = nil
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:28:30: error: 'Binding' is only available in macOS 10.15 or newer
 25 | // MARK: - FrameInLayout LayoutValueKey
 26 |
 27 | struct FrameInLayout: LayoutValueKey {
    |        `- note: add @available attribute to enclosing struct
 28 |     static let defaultValue: Binding<CGRect>? = nil
    |                |             `- error: 'Binding' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:34:34: error: 'LayoutProperties' is only available in macOS 13.0 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
    |                |                 `- error: 'LayoutProperties' is only available in macOS 13.0 or newer
    |                `- note: add @available attribute to enclosing static property
 35 |         var result = LayoutProperties()
 36 |         result.stackOrientation = .horizontal
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:50:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 47 |     }
 48 |
 49 |     func sizeThatFits(
    |          `- note: add @available attribute to enclosing instance method
 50 |         proposal: ProposedViewSize,
    |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 51 |         subviews: Subviews,
 52 |         cache: inout CacheData
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:67:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 63 |     }
 64 |
 65 |     func placeSubviews(
    |          `- note: add @available attribute to enclosing instance method
 66 |         in bounds: CGRect,
 67 |         proposal: ProposedViewSize,
    |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 68 |         subviews: Subviews,
 69 |         cache: inout CacheData
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:90:37: error: 'LayoutSubview' is only available in macOS 13.0 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 88 |
 89 |     /// Always uses .topLeading for placement position
 90 |     func frameForSubview(_ subview: LayoutSubview, proposedSize: ProposedViewSize, xOffset: CGFloat, boundsHeight: CGFloat) -> CGRect {
    |          |                          `- error: 'LayoutSubview' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 91 |         let viewSize = subview.sizeThatFits(proposedSize)
 92 |         let viewHeight = viewSize.height
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:90:66: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 88 |
 89 |     /// Always uses .topLeading for placement position
 90 |     func frameForSubview(_ subview: LayoutSubview, proposedSize: ProposedViewSize, xOffset: CGFloat, boundsHeight: CGFloat) -> CGRect {
    |          |                                                       `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 91 |         let viewSize = subview.sizeThatFits(proposedSize)
 92 |         let viewHeight = viewSize.height
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:113:50: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
106 | // MARK: - Computations
107 |
108 | extension HorizontalScrollerLayout {
    | `- note: add @available attribute to enclosing extension
109 |     var maximumCellWidthRatio: CGFloat {
110 |         0.66
111 |     }
112 |
113 |     func negotiatedProposal(with parentProposal: ProposedViewSize?) -> ProposedViewSize {
    |          |                                       `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
114 |         let maxWidth = parentViewWidth * maximumCellWidthRatio
115 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:113:72: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
106 | // MARK: - Computations
107 |
108 | extension HorizontalScrollerLayout {
    | `- note: add @available attribute to enclosing extension
109 |     var maximumCellWidthRatio: CGFloat {
110 |         0.66
111 |     }
112 |
113 |     func negotiatedProposal(with parentProposal: ProposedViewSize?) -> ProposedViewSize {
    |          |                                                             `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
114 |         let maxWidth = parentViewWidth * maximumCellWidthRatio
115 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:145:37: error: 'LayoutSubviews' is only available in macOS 13.0 or newer
106 | // MARK: - Computations
107 |
108 | extension HorizontalScrollerLayout {
    | `- note: add @available attribute to enclosing extension
109 |     var maximumCellWidthRatio: CGFloat {
110 |         0.66
    :
143 |     /// The spacing after each subview. The final element in the result is always 0.0, since the final cell should
144 |     /// have zero spacing (use trailing margins instead for this)
145 |     func interCellSpacing(subviews: LayoutSubviews) -> [CGFloat] {
    |          |                          `- error: 'LayoutSubviews' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
146 |         if let spacing {
147 |             return Array(repeating: spacing, count: subviews.count)
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:31:36: error: 'ScrollPosition' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 29 |
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
    |                                    `- error: 'ScrollPosition' is only available in macOS 15.0 or newer
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:31:36: error: 'init(idType:x:)' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 29 |
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
    |                                    `- error: 'init(idType:x:)' is only available in macOS 15.0 or newer
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:25:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 23 |
 24 |     // Scrollview geometry state
 25 |     @Published private(set) var leadingContentMargin: CGFloat = 0.0
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 26 |     @Published private(set) var trailingContentMargin: CGFloat = 0.0
 27 |     private(set) var scrollViewFrame: CGRect = .zero
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:26:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 24 |     // Scrollview geometry state
 25 |     @Published private(set) var leadingContentMargin: CGFloat = 0.0
 26 |     @Published private(set) var trailingContentMargin: CGFloat = 0.0
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 27 |     private(set) var scrollViewFrame: CGRect = .zero
 28 |     private(set) var scrollViewVisibleRect: CGRect = .zero
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 29 |
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:32:6: error: 'Published' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
 32 |     @Published private(set) var selection: CellFrame
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:33:35: error: 'ScrollPhase' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
    |                                   `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
 34 |
 35 |     /// Used to debounce updates to the current selection when `updateScrollGeometry(_:)` is called
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:37:34: error: 'Task' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 35 |     /// Used to debounce updates to the current selection when `updateScrollGeometry(_:)` is called
 36 |     /// repeatedly.
 37 |     private var frameUpdateTask: Task<Void, Error>?
    |                                  `- error: 'Task' is only available in macOS 10.15 or newer
 38 |
 39 |     init(data: Data, id: KeyPath<Data.Element, ID>) {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:50:40: error: 'ScrollPhase' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 48 |     }
 49 |
 50 |     func updateScrollPhase(_ newPhase: ScrollPhase) {
    |          |                             `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 51 |         self.scrollPhase = newPhase
 52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:54:38: error: 'ScrollGeometry' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 52 |     }
 53 |
 54 |     func updateScrollGeometry(_ geo: ScrollGeometry) {
    |          |                           `- error: 'ScrollGeometry' is only available in macOS 15.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 55 |         // debounce selection update using frameUpdateTask
 56 |         frameUpdateTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:10:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
[5/13] Compiling HorizontalScrollPicker CenterAlignedScrollBehavior.swift
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/CenterAlignedScrollBehavior.swift:17:15: error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
  9 | // MARK: - Convenience Static Initializer
 10 |
 11 | extension ScrollTargetBehavior {
    | `- note: add @available attribute to enclosing extension
 12 |     static func centerAligned<ID>(
    |                 `- note: add @available attribute to enclosing static method
 13 |         cellFrames: [ID : CGRect],
 14 |         scrollViewWidth: CGFloat,
 15 |         leadingInset: CGFloat,
 16 |         trailingInset: CGFloat
 17 |     ) -> some ScrollTargetBehavior
    |               `- error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
 18 |     where Self == CenterAlignedScrollBehavior<ID>
 19 |     {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/CenterAlignedScrollBehavior.swift:11:11: error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
  9 | // MARK: - Convenience Static Initializer
 10 |
 11 | extension ScrollTargetBehavior {
    | |         `- error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
    | `- note: add @available attribute to enclosing extension
 12 |     static func centerAligned<ID>(
 13 |         cellFrames: [ID : CGRect],
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/CenterAlignedScrollBehavior.swift:37:39: error: 'ScrollTarget' is only available in macOS 14.0 or newer
 29 | // MARK: - CenterAlignedScrollBehavior
 30 |
 31 | struct CenterAlignedScrollBehavior<ID: Hashable>: ScrollTargetBehavior {
    |        `- note: add @available attribute to enclosing generic struct
 32 |     var cellFrames: [ID : CGRect]
 33 |     var scrollViewWidth: CGFloat
    :
 35 |     var trailingInset: CGFloat
 36 |
 37 |     func updateTarget(_ target: inout ScrollTarget, context: TargetContext) {
    |          |                            `- error: 'ScrollTarget' is only available in macOS 14.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 38 |         guard !cellFrames.isEmpty else { return }
 39 |
[6/13] Compiling HorizontalScrollPicker GeometryData.swift
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/GeometryData.swift:13:23: error: 'ScrollPhase' is only available in macOS 15.0 or newer
 7 | import SwiftUI
 8 |
 9 | struct GeometryData: Equatable, Sendable {
   |        `- note: add @available attribute to enclosing struct
10 |     var leadingContentMargin: CGFloat = 0.0
11 |     var trailingContentMargin: CGFloat = 0.0
12 |
13 |     var scrollPhase = ScrollPhase.idle
   |                       `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
14 |
15 |     var scrollViewFrame: CGRect = .zero
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/GeometryData.swift:19:25: error: 'ScrollGeometry' is only available in macOS 15.0 or newer
 7 | import SwiftUI
 8 |
 9 | struct GeometryData: Equatable, Sendable {
   |        `- note: add @available attribute to enclosing struct
10 |     var leadingContentMargin: CGFloat = 0.0
11 |     var trailingContentMargin: CGFloat = 0.0
   :
17 |
18 |     // ScrollGeometry Values
19 |     var scrollGeometry: ScrollGeometry
   |                         `- error: 'ScrollGeometry' is only available in macOS 15.0 or newer
20 |
21 |     /// amount that the scrollView is scrolled within its frame from its origin.
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/GeometryData.swift:51:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | struct GeometryData: Equatable, Sendable {
   |        `- note: add @available attribute to enclosing struct
10 |     var leadingContentMargin: CGFloat = 0.0
11 |     var trailingContentMargin: CGFloat = 0.0
   :
49 |
50 |     /// Edge insets of the scrollView, set with the contentInset modifier
51 |     var scrollContentInset: EdgeInsets {
   |         |                   `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
52 |         scrollGeometry.contentInsets
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/GeometryData.swift:56:32: error: 'init(contentOffset:contentSize:contentInsets:containerSize:)' is only available in macOS 15.0 or newer
 7 | import SwiftUI
 8 |
 9 | struct GeometryData: Equatable, Sendable {
   |        `- note: add @available attribute to enclosing struct
10 |     var leadingContentMargin: CGFloat = 0.0
11 |     var trailingContentMargin: CGFloat = 0.0
   :
53 |     }
54 |
55 |     init() {
   |     `- note: add @available attribute to enclosing initializer
56 |         self.scrollGeometry = .init(
   |                                |- error: 'init(contentOffset:contentSize:contentInsets:containerSize:)' is only available in macOS 15.0 or newer
   |                                `- note: add 'if #available' version check
57 |             contentOffset: .zero,
58 |             contentSize: .zero,
[7/13] Compiling HorizontalScrollPicker PickerSelection.swift
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:13:35: error: 'Animation' is only available in macOS 10.15 or newer
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
11 |     struct PositionTarget: Sendable {
   |            `- note: add @available attribute to enclosing struct
12 |         var targetId: ID
13 |         var behavior: (animation: Animation, completion: (@Sendable () -> Void)?)?
   |                                   `- error: 'Animation' is only available in macOS 10.15 or newer
14 |     }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
14 |     }
15 |
16 |     @State var value: ID
   |      `- error: 'State' is only available in macOS 10.15 or newer
17 |     var positionTargets: AsyncStream<PositionTarget>
18 |     private var continuation: AsyncStream<PositionTarget>.Continuation
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:17:26: error: 'AsyncStream' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
15 |
16 |     @State var value: ID
17 |     var positionTargets: AsyncStream<PositionTarget>
   |                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
18 |     private var continuation: AsyncStream<PositionTarget>.Continuation
19 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:18:31: error: 'AsyncStream' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
16 |     @State var value: ID
17 |     var positionTargets: AsyncStream<PositionTarget>
18 |     private var continuation: AsyncStream<PositionTarget>.Continuation
   |                               `- error: 'AsyncStream' is only available in macOS 10.15 or newer
19 |
20 |     public init(wrappedValue : ID) {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:29:32: error: 'Binding' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
27 |     }
28 |
29 |     public var projectedValue: Binding<ID> {
   |                |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
30 |         Binding {
31 |             value
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:47:20: error: 'Animation' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
43 |     }
44 |
45 |     public func scrollToSelection(
   |                 `- note: add @available attribute to enclosing instance method
46 |         _ newSelection: ID,
47 |         animation: Animation = .default,
   |                    `- error: 'Animation' is only available in macOS 10.15 or newer
48 |         completion: (@Sendable () -> Void)? = nil
49 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:47:33: error: 'default' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
43 |     }
44 |
45 |     public func scrollToSelection(
   |                 `- note: add @available attribute to enclosing instance method
46 |         _ newSelection: ID,
47 |         animation: Animation = .default,
   |                                 `- error: 'default' is only available in macOS 10.15 or newer
48 |         completion: (@Sendable () -> Void)? = nil
49 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:22:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
18 |     private var continuation: AsyncStream<PositionTarget>.Continuation
19 |
20 |     public init(wrappedValue : ID) {
   |            `- note: add @available attribute to enclosing initializer
21 |         self._value = .init(wrappedValue: wrappedValue)
22 |         (self.positionTargets, self.continuation) = AsyncStream.makeStream()
   |                                                     |- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |                                                     `- note: add 'if #available' version check
23 |     }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:22:65: error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
18 |     private var continuation: AsyncStream<PositionTarget>.Continuation
19 |
20 |     public init(wrappedValue : ID) {
   |            `- note: add @available attribute to enclosing initializer
21 |         self._value = .init(wrappedValue: wrappedValue)
22 |         (self.positionTargets, self.continuation) = AsyncStream.makeStream()
   |                                                                 |- error: 'makeStream(of:bufferingPolicy:)' is only available in macOS 10.15 or newer
   |                                                                 `- note: add 'if #available' version check
23 |     }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:30:9: error: 'Binding' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
27 |     }
28 |
29 |     public var projectedValue: Binding<ID> {
   |                `- note: add @available attribute to enclosing property
30 |         Binding {
   |         |- error: 'Binding' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
31 |             value
32 |         } set: { newVal, transaction in
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:34:44: error: 'animation' is only available in macOS 10.15 or newer
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
27 |     }
28 |
29 |     public var projectedValue: Binding<ID> {
   |                `- note: add @available attribute to enclosing property
30 |         Binding {
31 |             value
32 |         } set: { newVal, transaction in
33 |             var target = PositionTarget(targetId: newVal)
34 |             if let animation = transaction.animation {
   |                                            |- error: 'animation' is only available in macOS 10.15 or newer
   |                                            `- note: add 'if #available' version check
35 |                 target.behavior = (animation, nil)
36 |             }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:31:13: warning: capture of 'self' with non-sendable type 'PickerSelection<ID>' in a '@Sendable' closure
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: consider making generic struct 'PickerSelection' conform to the 'Sendable' protocol
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
29 |     public var projectedValue: Binding<ID> {
30 |         Binding {
31 |             value
   |             `- warning: capture of 'self' with non-sendable type 'PickerSelection<ID>' in a '@Sendable' closure
32 |         } set: { newVal, transaction in
33 |             var target = PositionTarget(targetId: newVal)
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerSelection.swift:37:13: warning: capture of 'self' with non-sendable type 'PickerSelection<ID>' in a '@Sendable' closure
 8 |
 9 | @propertyWrapper
10 | public struct PickerSelection<ID: Hashable & Sendable>: DynamicProperty {
   |               `- note: consider making generic struct 'PickerSelection' conform to the 'Sendable' protocol
11 |     struct PositionTarget: Sendable {
12 |         var targetId: ID
   :
35 |                 target.behavior = (animation, nil)
36 |             }
37 |             continuation.yield(target)
   |             `- warning: capture of 'self' with non-sendable type 'PickerSelection<ID>' in a '@Sendable' closure
38 |         }
39 |     }
[8/13] Compiling HorizontalScrollPicker HorizontalScrollPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:22:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 20 |
 21 |     // Initializer Properties
 22 |     var verticalAlignment: VerticalAlignment
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 23 |     var spacing: CGFloat?
 24 |     var selection: PickerSelection<ID>
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:26:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 24 |     var selection: PickerSelection<ID>
 25 |     var layoutStyle = CustomLayoutStyle()
 26 |     @ViewBuilder var cells: (Cell) -> CellContent
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 27 |
 28 |     // State Properties
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:29:6: error: 'State' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 27 |
 28 |     // State Properties
 29 |     @State private var coordinateSpace = UUID()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 30 |     @StateObject private var viewModel: ViewModel<Data, ID>
 31 |     @State private var cellFrames: [ID : CGRect] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:30:6: error: 'StateObject' is only available in macOS 11.0 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 28 |     // State Properties
 29 |     @State private var coordinateSpace = UUID()
 30 |     @StateObject private var viewModel: ViewModel<Data, ID>
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 31 |     @State private var cellFrames: [ID : CGRect] = [:]
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:31:6: error: 'State' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 29 |     @State private var coordinateSpace = UUID()
 30 |     @StateObject private var viewModel: ViewModel<Data, ID>
 31 |     @State private var cellFrames: [ID : CGRect] = [:]
    |      `- error: 'State' is only available in macOS 10.15 or newer
 32 |
 33 |     /// Creates a `HorizontalScrollPicker` that generates subviews for each option, using a provided
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:47:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 42 |     ///   - selection: A `PickerSelection` variable that binds to the currently-selected option.
 43 |     ///   - cellContent: The content builder used to create a view for each option in `data`.
 44 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 45 |         _ data: Data,
 46 |         id: KeyPath<Data.Element, ID>,
 47 |         verticalAlignment: VerticalAlignment = .center,
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 48 |         spacing: CGFloat? = nil,
 49 |         selection: PickerSelection<ID>,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:47:49: error: 'center' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 42 |     ///   - selection: A `PickerSelection` variable that binds to the currently-selected option.
 43 |     ///   - cellContent: The content builder used to create a view for each option in `data`.
 44 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 45 |         _ data: Data,
 46 |         id: KeyPath<Data.Element, ID>,
 47 |         verticalAlignment: VerticalAlignment = .center,
    |                                                 `- error: 'center' is only available in macOS 10.15 or newer
 48 |         spacing: CGFloat? = nil,
 49 |         selection: PickerSelection<ID>,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:60:27: error: 'View' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 58 |     }
 59 |
 60 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 61 |         HorizontalScrollPickerContent(
 62 |             viewModel: viewModel,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:17:20: error: 'View' is only available in macOS 10.15 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
 16 |       ID: Hashable & Sendable,
 17 |       CellContent: View
    |                    `- error: 'View' is only available in macOS 10.15 or newer
 18 | {
 19 |     public typealias Cell = CellData<Data.Element, ID>
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:89:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 72 | }
 73 |
 74 | extension HorizontalScrollPicker where Data.Element: Identifiable, Data.Element.ID == ID {
    | `- note: add @available attribute to enclosing extension
 75 |     /// Creates a `HorizontalScrollPicker` that generates subviews for each option, using each
 76 |     /// option's `id` to identify it.
    :
 85 |     ///   which `Layout` to use in setting up the scroller.
 86 |     ///   - cellContent: The content builder used to create a view for each option in `data`.
 87 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 88 |         _ data: Data,
 89 |         verticalAlignment: VerticalAlignment,
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 90 |         spacing: CGFloat? = nil,
 91 |         selection: PickerSelection<ID>,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:74:54: error: 'Identifiable' is only available in macOS 10.15 or newer
 72 | }
 73 |
 74 | extension HorizontalScrollPicker where Data.Element: Identifiable, Data.Element.ID == ID {
    | |                                                    `- error: 'Identifiable' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
 75 |     /// Creates a `HorizontalScrollPicker` that generates subviews for each option, using each
 76 |     /// option's `id` to identify it.
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/HorizontalScrollPicker.swift:52:27: error: 'StateObject' is only available in macOS 11.0 or newer
 11 | // HorizontalScrollPickerContent -- separate type, used internally
 12 |
 13 | public struct HorizontalScrollPicker<Data, ID, CellContent>: View
    |               `- note: add @available attribute to enclosing generic struct
 14 | where Data: RandomAccessCollection,
 15 |       Data.Index: Hashable,
    :
 42 |     ///   - selection: A `PickerSelection` variable that binds to the currently-selected option.
 43 |     ///   - cellContent: The content builder used to create a view for each option in `data`.
 44 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 45 |         _ data: Data,
 46 |         id: KeyPath<Data.Element, ID>,
    :
 50 |         cellContent: @escaping (Cell) -> CellContent
 51 |     ) {
 52 |         self._viewModel = StateObject(wrappedValue: ViewModel(data: data, id: id))
    |                           |- error: 'StateObject' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
 53 |
 54 |         self.verticalAlignment = verticalAlignment
[9/13] Compiling HorizontalScrollPicker HorizontalScrollerLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:13:49: error: 'center' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct HorizontalScrollerLayout {
    |        `- note: add @available attribute to enclosing struct
 11 |     var parentViewWidth: CGFloat
 12 |     var visibleRect: CGRect
 13 |     var verticalAlignment: VerticalAlignment = .center
    |                                                 `- error: 'center' is only available in macOS 10.15 or newer
 14 |     var spacing: CGFloat? = nil
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:13:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct HorizontalScrollerLayout {
    |        `- note: add @available attribute to enclosing struct
 11 |     var parentViewWidth: CGFloat
 12 |     var visibleRect: CGRect
 13 |     var verticalAlignment: VerticalAlignment = .center
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 14 |     var spacing: CGFloat? = nil
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:28:30: error: 'Binding' is only available in macOS 10.15 or newer
 25 | // MARK: - FrameInLayout LayoutValueKey
 26 |
 27 | struct FrameInLayout: LayoutValueKey {
    |        `- note: add @available attribute to enclosing struct
 28 |     static let defaultValue: Binding<CGRect>? = nil
    |                |             `- error: 'Binding' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:34:34: error: 'LayoutProperties' is only available in macOS 13.0 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
    |                |                 `- error: 'LayoutProperties' is only available in macOS 13.0 or newer
    |                `- note: add @available attribute to enclosing static property
 35 |         var result = LayoutProperties()
 36 |         result.stackOrientation = .horizontal
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:50:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 47 |     }
 48 |
 49 |     func sizeThatFits(
    |          `- note: add @available attribute to enclosing instance method
 50 |         proposal: ProposedViewSize,
    |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 51 |         subviews: Subviews,
 52 |         cache: inout CacheData
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:67:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 63 |     }
 64 |
 65 |     func placeSubviews(
    |          `- note: add @available attribute to enclosing instance method
 66 |         in bounds: CGRect,
 67 |         proposal: ProposedViewSize,
    |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 68 |         subviews: Subviews,
 69 |         cache: inout CacheData
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:90:37: error: 'LayoutSubview' is only available in macOS 13.0 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 88 |
 89 |     /// Always uses .topLeading for placement position
 90 |     func frameForSubview(_ subview: LayoutSubview, proposedSize: ProposedViewSize, xOffset: CGFloat, boundsHeight: CGFloat) -> CGRect {
    |          |                          `- error: 'LayoutSubview' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 91 |         let viewSize = subview.sizeThatFits(proposedSize)
 92 |         let viewHeight = viewSize.height
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:90:66: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 88 |
 89 |     /// Always uses .topLeading for placement position
 90 |     func frameForSubview(_ subview: LayoutSubview, proposedSize: ProposedViewSize, xOffset: CGFloat, boundsHeight: CGFloat) -> CGRect {
    |          |                                                       `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 91 |         let viewSize = subview.sizeThatFits(proposedSize)
 92 |         let viewHeight = viewSize.height
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:113:50: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
106 | // MARK: - Computations
107 |
108 | extension HorizontalScrollerLayout {
    | `- note: add @available attribute to enclosing extension
109 |     var maximumCellWidthRatio: CGFloat {
110 |         0.66
111 |     }
112 |
113 |     func negotiatedProposal(with parentProposal: ProposedViewSize?) -> ProposedViewSize {
    |          |                                       `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
114 |         let maxWidth = parentViewWidth * maximumCellWidthRatio
115 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:113:72: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
106 | // MARK: - Computations
107 |
108 | extension HorizontalScrollerLayout {
    | `- note: add @available attribute to enclosing extension
109 |     var maximumCellWidthRatio: CGFloat {
110 |         0.66
111 |     }
112 |
113 |     func negotiatedProposal(with parentProposal: ProposedViewSize?) -> ProposedViewSize {
    |          |                                                             `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
114 |         let maxWidth = parentViewWidth * maximumCellWidthRatio
115 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:145:37: error: 'LayoutSubviews' is only available in macOS 13.0 or newer
106 | // MARK: - Computations
107 |
108 | extension HorizontalScrollerLayout {
    | `- note: add @available attribute to enclosing extension
109 |     var maximumCellWidthRatio: CGFloat {
110 |         0.66
    :
143 |     /// The spacing after each subview. The final element in the result is always 0.0, since the final cell should
144 |     /// have zero spacing (use trailing margins instead for this)
145 |     func interCellSpacing(subviews: LayoutSubviews) -> [CGFloat] {
    |          |                          `- error: 'LayoutSubviews' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
146 |         if let spacing {
147 |             return Array(repeating: spacing, count: subviews.count)
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:35:22: error: 'LayoutProperties' is only available in macOS 13.0 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
    |                `- note: add @available attribute to enclosing static property
 35 |         var result = LayoutProperties()
    |                      |- error: 'LayoutProperties' is only available in macOS 13.0 or newer
    |                      `- note: add 'if #available' version check
 36 |         result.stackOrientation = .horizontal
 37 |         return result
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:95:15: error: 'top' is only available in macOS 10.15 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 88 |
 89 |     /// Always uses .topLeading for placement position
 90 |     func frameForSubview(_ subview: LayoutSubview, proposedSize: ProposedViewSize, xOffset: CGFloat, boundsHeight: CGFloat) -> CGRect {
    |          `- note: add @available attribute to enclosing instance method
 91 |         let viewSize = subview.sizeThatFits(proposedSize)
 92 |         let viewHeight = viewSize.height
 93 |
 94 |         let ptY: CGFloat = switch verticalAlignment {
 95 |         case .top: 0
    |               |- error: 'top' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
 96 |         case .center: (boundsHeight - viewHeight) / 2.0
 97 |         default: boundsHeight - viewHeight
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:96:15: error: 'center' is only available in macOS 10.15 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 88 |
 89 |     /// Always uses .topLeading for placement position
 90 |     func frameForSubview(_ subview: LayoutSubview, proposedSize: ProposedViewSize, xOffset: CGFloat, boundsHeight: CGFloat) -> CGRect {
    |          `- note: add @available attribute to enclosing instance method
 91 |         let viewSize = subview.sizeThatFits(proposedSize)
 92 |         let viewHeight = viewSize.height
    :
 94 |         let ptY: CGFloat = switch verticalAlignment {
 95 |         case .top: 0
 96 |         case .center: (boundsHeight - viewHeight) / 2.0
    |               |- error: 'center' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
 97 |         default: boundsHeight - viewHeight
 98 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:95:15: error: 'top' is only available in macOS 10.15 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 88 |
 89 |     /// Always uses .topLeading for placement position
 90 |     func frameForSubview(_ subview: LayoutSubview, proposedSize: ProposedViewSize, xOffset: CGFloat, boundsHeight: CGFloat) -> CGRect {
    |          `- note: add @available attribute to enclosing instance method
 91 |         let viewSize = subview.sizeThatFits(proposedSize)
 92 |         let viewHeight = viewSize.height
 93 |
 94 |         let ptY: CGFloat = switch verticalAlignment {
 95 |         case .top: 0
    |               |- error: 'top' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
 96 |         case .center: (boundsHeight - viewHeight) / 2.0
 97 |         default: boundsHeight - viewHeight
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:96:15: error: 'center' is only available in macOS 10.15 or newer
 31 | // MARK: - Layout Conformance
 32 |
 33 | extension HorizontalScrollerLayout: Layout {
    | `- note: add @available attribute to enclosing extension
 34 |     static var layoutProperties: LayoutProperties {
 35 |         var result = LayoutProperties()
    :
 88 |
 89 |     /// Always uses .topLeading for placement position
 90 |     func frameForSubview(_ subview: LayoutSubview, proposedSize: ProposedViewSize, xOffset: CGFloat, boundsHeight: CGFloat) -> CGRect {
    |          `- note: add @available attribute to enclosing instance method
 91 |         let viewSize = subview.sizeThatFits(proposedSize)
 92 |         let viewHeight = viewSize.height
    :
 94 |         let ptY: CGFloat = switch verticalAlignment {
 95 |         case .top: 0
 96 |         case .center: (boundsHeight - viewHeight) / 2.0
    |               |- error: 'center' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
 97 |         default: boundsHeight - viewHeight
 98 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:127:20: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
106 | // MARK: - Computations
107 |
108 | extension HorizontalScrollerLayout {
    | `- note: add @available attribute to enclosing extension
109 |     var maximumCellWidthRatio: CGFloat {
110 |         0.66
111 |     }
112 |
113 |     func negotiatedProposal(with parentProposal: ProposedViewSize?) -> ProposedViewSize {
    |          `- note: add @available attribute to enclosing instance method
114 |         let maxWidth = parentViewWidth * maximumCellWidthRatio
115 |
    :
125 |             // width proposal should be proposed or maxWidth, whichever is less
126 |             let width = min(maxWidth, parentProposal.width ?? maxWidth)
127 |             return ProposedViewSize(width: width, height: height)
    |                    |- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |                    `- note: add 'if #available' version check
128 |
129 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:131:20: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
106 | // MARK: - Computations
107 |
108 | extension HorizontalScrollerLayout {
    | `- note: add @available attribute to enclosing extension
109 |     var maximumCellWidthRatio: CGFloat {
110 |         0.66
111 |     }
112 |
113 |     func negotiatedProposal(with parentProposal: ProposedViewSize?) -> ProposedViewSize {
    |          `- note: add @available attribute to enclosing instance method
114 |         let maxWidth = parentViewWidth * maximumCellWidthRatio
115 |
    :
129 |         } else {
130 |             // no superproposal, so just use parentViewWidth maximum
131 |             return ProposedViewSize(width: maxWidth, height: nil)
    |                    |- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
    |                    `- note: add 'if #available' version check
132 |         }
133 |     }
[10/13] Compiling HorizontalScrollPicker HorizontalScrollPickerContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:21:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 19 |     typealias Cell = CellData<Data.Element, ID>
 20 |
 21 |     @ObservedObject var viewModel: ViewModel<Data, ID>
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 22 |     @Binding var cellFrames: [ID : CGRect]
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:22:6: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 20 |
 21 |     @ObservedObject var viewModel: ViewModel<Data, ID>
 22 |     @Binding var cellFrames: [ID : CGRect]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 23 |
 24 |     var verticalAlignment: VerticalAlignment
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:24:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 22 |     @Binding var cellFrames: [ID : CGRect]
 23 |
 24 |     var verticalAlignment: VerticalAlignment
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 25 |     var spacing: CGFloat?
 26 |     var selection: PickerSelection<ID>
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:29:28: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 27 |     var coordinateSpace: UUID
 28 |     var layoutStyle: Style
 29 |     var debugGeometryData: Binding<GeometryData>?
    |                            `- error: 'Binding' is only available in macOS 10.15 or newer
 30 |
 31 |     @ViewBuilder var basicCell: (Cell) -> CellContent
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:31:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 29 |     var debugGeometryData: Binding<GeometryData>?
 30 |
 31 |     @ViewBuilder var basicCell: (Cell) -> CellContent
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 32 |
 33 |     init(
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:35:21: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 31 |     @ViewBuilder var basicCell: (Cell) -> CellContent
 32 |
 33 |     init(
    |     `- note: add @available attribute to enclosing initializer
 34 |         viewModel: ViewModel<Data, ID>,
 35 |         cellFrames: Binding<[ID : CGRect]>,
    |                     `- error: 'Binding' is only available in macOS 10.15 or newer
 36 |         verticalAlignment: VerticalAlignment,
 37 |         spacing: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:36:28: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 31 |     @ViewBuilder var basicCell: (Cell) -> CellContent
 32 |
 33 |     init(
    |     `- note: add @available attribute to enclosing initializer
 34 |         viewModel: ViewModel<Data, ID>,
 35 |         cellFrames: Binding<[ID : CGRect]>,
 36 |         verticalAlignment: VerticalAlignment,
    |                            `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 37 |         spacing: CGFloat? = nil,
 38 |         selection: PickerSelection<ID>,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:41:20: error: 'Binding' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 31 |     @ViewBuilder var basicCell: (Cell) -> CellContent
 32 |
 33 |     init(
    |     `- note: add @available attribute to enclosing initializer
 34 |         viewModel: ViewModel<Data, ID>,
 35 |         cellFrames: Binding<[ID : CGRect]>,
    :
 39 |         coordinateSpace: UUID,
 40 |         layoutStyle: Style,
 41 |         debugData: Binding<GeometryData>? = nil,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 42 |         basicCell: @escaping (Cell) -> CellContent
 43 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:55:20: error: 'View' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 53 |     }
 54 |
 55 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 56 |         let props = makeProperties()
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
 15 |       ID: Hashable & Sendable,
 16 |       CellContent: View,
    |                    `- error: 'View' is only available in macOS 10.15 or newer
 17 |       Style: HorizontalScrollerStyle
 18 | {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/GeometryData.swift:13:23: error: 'ScrollPhase' is only available in macOS 15.0 or newer
 7 | import SwiftUI
 8 |
 9 | struct GeometryData: Equatable, Sendable {
   |        `- note: add @available attribute to enclosing struct
10 |     var leadingContentMargin: CGFloat = 0.0
11 |     var trailingContentMargin: CGFloat = 0.0
12 |
13 |     var scrollPhase = ScrollPhase.idle
   |                       `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
14 |
15 |     var scrollViewFrame: CGRect = .zero
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:150:36: error: 'Binding' is only available in macOS 10.15 or newer
137 | // MARK: - Internal Content Helper Functions
138 |
139 | extension HorizontalScrollPickerContent {
    | `- note: add @available attribute to enclosing extension
140 |     func makeProperties() -> PickerLayoutProperties {
141 |         PickerLayoutProperties(
    :
148 |     }
149 |
150 |     func frameBinding(cell: ID) -> Binding<CGRect> {
    |          |                         `- error: 'Binding' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
151 |         Binding {
152 |             cellFrames[cell, default: .zero]
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:159:74: error: 'View' is only available in macOS 10.15 or newer
137 | // MARK: - Internal Content Helper Functions
138 |
139 | extension HorizontalScrollPickerContent {
    | `- note: add @available attribute to enclosing extension
140 |     func makeProperties() -> PickerLayoutProperties {
141 |         PickerLayoutProperties(
    :
157 |
158 |     @ViewBuilder
159 |     func configuredCellViews(properties: PickerLayoutProperties) -> some View {
    |          |                                                               `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
160 |         let cellDatas = viewModel.pickerData.generateCells()
161 |         let basicCells = ForEach(cellDatas, id: \.id) { aCell in
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:158:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
137 | // MARK: - Internal Content Helper Functions
138 |
139 | extension HorizontalScrollPickerContent {
    | `- note: add @available attribute to enclosing extension
140 |     func makeProperties() -> PickerLayoutProperties {
141 |         PickerLayoutProperties(
    :
156 |     }
157 |
158 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
159 |     func configuredCellViews(properties: PickerLayoutProperties) -> some View {
    |          `- note: add @available attribute to enclosing instance method
160 |         let cellDatas = viewModel.pickerData.generateCells()
161 |         let basicCells = ForEach(cellDatas, id: \.id) { aCell in
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:48:27: error: 'ObservedObject' is only available in macOS 10.15 or newer
 10 | // MARK: - Internal Content View
 11 |
 12 | struct HorizontalScrollPickerContent<Data, ID, CellContent, Style>: View
    |        `- note: add @available attribute to enclosing generic struct
 13 | where Data: RandomAccessCollection,
 14 |       Data.Index: Hashable,
    :
 31 |     @ViewBuilder var basicCell: (Cell) -> CellContent
 32 |
 33 |     init(
    |     `- note: add @available attribute to enclosing initializer
 34 |         viewModel: ViewModel<Data, ID>,
 35 |         cellFrames: Binding<[ID : CGRect]>,
    :
 46 |         self.selection = selection
 47 |         self.coordinateSpace = coordinateSpace
 48 |         self._viewModel = ObservedObject(wrappedValue: viewModel)
    |                           |- error: 'ObservedObject' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 49 |         self._cellFrames = cellFrames
 50 |         self.debugGeometryData = debugData
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:31:36: error: 'ScrollPosition' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 29 |
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
    |                                    `- error: 'ScrollPosition' is only available in macOS 15.0 or newer
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/ViewModel.swift:31:36: error: 'init(idType:x:)' is only available in macOS 15.0 or newer
  8 |
  9 | @MainActor
 10 | final class ViewModel<Data, ID>: ObservableObject
    |             `- note: add @available attribute to enclosing generic class
 11 | where Data: RandomAccessCollection,
 12 |       ID: Hashable & Sendable,
    :
 29 |
 30 |     // Selection state
 31 |     @Published var positionState = ScrollPosition(x: 0.0)
    |                                    `- error: 'init(idType:x:)' is only available in macOS 15.0 or newer
 32 |     @Published private(set) var selection: CellFrame
 33 |     private(set) var scrollPhase: ScrollPhase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:66:36: error: cannot assign to property: '$viewModel' is immutable
 64 |         }
 65 |         // ScrollView Behavior
 66 |         .scrollPosition($viewModel.positionState)
    |                                    `- error: cannot assign to property: '$viewModel' is immutable
 67 |         .scrollTargetBehavior(
 68 |             .centerAligned(
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:151:9: error: 'Binding' is only available in macOS 10.15 or newer
137 | // MARK: - Internal Content Helper Functions
138 |
139 | extension HorizontalScrollPickerContent {
    | `- note: add @available attribute to enclosing extension
140 |     func makeProperties() -> PickerLayoutProperties {
141 |         PickerLayoutProperties(
    :
148 |     }
149 |
150 |     func frameBinding(cell: ID) -> Binding<CGRect> {
    |          `- note: add @available attribute to enclosing instance method
151 |         Binding {
    |         |- error: 'Binding' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
152 |             cellFrames[cell, default: .zero]
153 |         } set: {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:154:13: error: cannot pass as inout because setter for 'cellFrames' is only available in macOS 10.15 or newer
137 | // MARK: - Internal Content Helper Functions
138 |
139 | extension HorizontalScrollPickerContent {
    | `- note: add @available attribute to enclosing extension
140 |     func makeProperties() -> PickerLayoutProperties {
141 |         PickerLayoutProperties(
    :
148 |     }
149 |
150 |     func frameBinding(cell: ID) -> Binding<CGRect> {
    |          `- note: add @available attribute to enclosing instance method
151 |         Binding {
152 |             cellFrames[cell, default: .zero]
153 |         } set: {
154 |             cellFrames[cell] = $0
    |             |- error: cannot pass as inout because setter for 'cellFrames' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
155 |         }
156 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:161:26: error: ambiguous use of 'init(_:id:content:)'
159 |     func configuredCellViews(properties: PickerLayoutProperties) -> some View {
160 |         let cellDatas = viewModel.pickerData.generateCells()
161 |         let basicCells = ForEach(cellDatas, id: \.id) { aCell in
    |                          `- error: ambiguous use of 'init(_:id:content:)'
162 |             basicCell(aCell)
163 |         }
SwiftUICore.ForEach.init:2:8: note: found this candidate in module 'SwiftUICore'
1 | generic struct ForEach {
2 | public init(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> Content)}
  |        `- note: found this candidate in module 'SwiftUICore'
3 |
SwiftUI.ForEach.init:2:8: note: found this candidate in module 'SwiftUI'
1 | generic struct ForEach {
2 | public init(_ data: Data, id: KeyPath<Data.Element, ID>, @AccessibilityRotorContentBuilder content: @escaping (Data.Element) -> Content)}
  |        `- note: found this candidate in module 'SwiftUI'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollPickerContent.swift:179:13: error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
137 | // MARK: - Internal Content Helper Functions
138 |
139 | extension HorizontalScrollPickerContent {
    | `- note: add @available attribute to enclosing extension
140 |     func makeProperties() -> PickerLayoutProperties {
141 |         PickerLayoutProperties(
    :
175 |     }
176 |
177 |     func scrollToTarget(_ target: PickerSelection<ID>.PositionTarget) {
    |          `- note: add @available attribute to enclosing instance method
178 |         if let (animation, completion) = target.behavior {
179 |             withAnimation(animation) {
    |             |- error: 'withAnimation(_:completionCriteria:_:completion:)' is only available in macOS 14.0 or newer
    |             `- note: add 'if #available' version check
180 |                 viewModel.sendScrollerTo(selection: target.targetId)
181 |             } completion: {
[11/13] Compiling HorizontalScrollPicker PickerLayoutProperties.swift
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/PickerLayoutProperties.swift:11:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct PickerLayoutProperties: Sendable {
   |               `- note: add @available attribute to enclosing struct
10 |     public var coordinateSpaceName: UUID
11 |     public var verticalAlignment: VerticalAlignment
   |                                   `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
12 |     public var horizontalSpacing: CGFloat?
13 |     public var scrollViewWidth: CGFloat
[12/13] Compiling HorizontalScrollPicker CellData.swift
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:11:29: error: 'Layout' is only available in macOS 13.0 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
   |                    |        `- error: 'Layout' is only available in macOS 13.0 or newer
   |                    `- note: add @available attribute to enclosing associated type
12 |     associatedtype CellView: View
13 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:12:30: error: 'View' is only available in macOS 10.15 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
12 |     associatedtype CellView: View
   |                    |         `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
13 |
14 |     /// <#Description#>
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:31:23: error: 'Binding' is only available in macOS 10.15 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
12 |     associatedtype CellView: View
   :
27 |     ///
28 |     /// - Returns: <#description#>
29 |     func configuredCellContent(
   |          `- note: add @available attribute to enclosing instance method
30 |         properties: PickerLayoutProperties,
31 |         frameBinding: Binding<CGRect>,
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
32 |         basicCellView: Subview
33 |     ) -> CellView
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:32:24: error: 'Subview' is only available in macOS 15.0 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
12 |     associatedtype CellView: View
   :
27 |     ///
28 |     /// - Returns: <#description#>
29 |     func configuredCellContent(
   |          `- note: add @available attribute to enclosing instance method
30 |         properties: PickerLayoutProperties,
31 |         frameBinding: Binding<CGRect>,
32 |         basicCellView: Subview
   |                        `- error: 'Subview' is only available in macOS 15.0 or newer
33 |     ) -> CellView
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:45:80: error: 'Layout' is only available in macOS 13.0 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
   |                 |                                                              `- error: 'Layout' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
46 |         HStackLayout(
47 |             alignment: properties.verticalAlignment,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:54:23: error: 'Binding' is only available in macOS 10.15 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
55 |         basicCellView: Subview
56 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:55:24: error: 'Subview' is only available in macOS 15.0 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
55 |         basicCellView: Subview
   |                        `- error: 'Subview' is only available in macOS 15.0 or newer
56 |     ) -> some View {
57 |         basicCellView
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:56:15: error: 'View' is only available in macOS 10.15 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
55 |         basicCellView: Subview
56 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
57 |         basicCellView
58 |             .onGeometryChange(for: CGRect.self) { geo in
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:75:80: error: 'Layout' is only available in macOS 13.0 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
   |                 |                                                              `- error: 'Layout' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
76 |         HorizontalScrollerLayout(
77 |             parentViewWidth: properties.scrollViewWidth,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:86:23: error: 'Binding' is only available in macOS 10.15 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
87 |         basicCellView: Subview
88 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:87:24: error: 'Subview' is only available in macOS 15.0 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
87 |         basicCellView: Subview
   |                        `- error: 'Subview' is only available in macOS 15.0 or newer
88 |     ) -> some View {
89 |         basicCellView
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:88:15: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
87 |         basicCellView: Subview
88 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
89 |         basicCellView
90 |             .layoutValue(key: FrameInLayout.self, value: frameBinding)
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:46:9: error: 'HStackLayout' is only available in macOS 13.0 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
   |                 `- note: add @available attribute to enclosing instance method
46 |         HStackLayout(
   |         |- error: 'HStackLayout' is only available in macOS 13.0 or newer
   |         `- note: add 'if #available' version check
47 |             alignment: properties.verticalAlignment,
48 |             spacing: properties.horizontalSpacing
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:58:14: error: 'onGeometryChange(for:of:action:)' is only available in macOS 13.0 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
   :
56 |     ) -> some View {
57 |         basicCellView
58 |             .onGeometryChange(for: CGRect.self) { geo in
   |              |- error: 'onGeometryChange(for:of:action:)' is only available in macOS 13.0 or newer
   |              `- note: add 'if #available' version check
59 |                 geo.frame(in: .named(properties.coordinateSpaceName))
60 |             } action: { newVal in
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:59:21: error: 'frame(in:)' is only available in macOS 10.15 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
   :
57 |         basicCellView
58 |             .onGeometryChange(for: CGRect.self) { geo in
59 |                 geo.frame(in: .named(properties.coordinateSpaceName))
   |                     |- error: 'frame(in:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
60 |             } action: { newVal in
61 |                 frameBinding.wrappedValue = newVal
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:13:49: error: 'center' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct HorizontalScrollerLayout {
    |        `- note: add @available attribute to enclosing struct
 11 |     var parentViewWidth: CGFloat
 12 |     var visibleRect: CGRect
 13 |     var verticalAlignment: VerticalAlignment = .center
    |                                                 `- error: 'center' is only available in macOS 10.15 or newer
 14 |     var spacing: CGFloat? = nil
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:90:14: error: 'layoutValue(key:value:)' is only available in macOS 13.0 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
   :
88 |     ) -> some View {
89 |         basicCellView
90 |             .layoutValue(key: FrameInLayout.self, value: frameBinding)
   |              |- error: 'layoutValue(key:value:)' is only available in macOS 13.0 or newer
   |              `- note: add 'if #available' version check
91 |     }
92 | }
[13/13] Compiling HorizontalScrollPicker HorizontalScrollerStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:11:29: error: 'Layout' is only available in macOS 13.0 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
   |                    |        `- error: 'Layout' is only available in macOS 13.0 or newer
   |                    `- note: add @available attribute to enclosing associated type
12 |     associatedtype CellView: View
13 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:12:30: error: 'View' is only available in macOS 10.15 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
12 |     associatedtype CellView: View
   |                    |         `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
13 |
14 |     /// <#Description#>
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:31:23: error: 'Binding' is only available in macOS 10.15 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
12 |     associatedtype CellView: View
   :
27 |     ///
28 |     /// - Returns: <#description#>
29 |     func configuredCellContent(
   |          `- note: add @available attribute to enclosing instance method
30 |         properties: PickerLayoutProperties,
31 |         frameBinding: Binding<CGRect>,
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
32 |         basicCellView: Subview
33 |     ) -> CellView
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:32:24: error: 'Subview' is only available in macOS 15.0 or newer
 8 |
 9 | /// <#Description#>
10 | public protocol HorizontalScrollerStyle {
   |                 `- note: add @available attribute to enclosing protocol
11 |     associatedtype Content: Layout
12 |     associatedtype CellView: View
   :
27 |     ///
28 |     /// - Returns: <#description#>
29 |     func configuredCellContent(
   |          `- note: add @available attribute to enclosing instance method
30 |         properties: PickerLayoutProperties,
31 |         frameBinding: Binding<CGRect>,
32 |         basicCellView: Subview
   |                        `- error: 'Subview' is only available in macOS 15.0 or newer
33 |     ) -> CellView
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:45:80: error: 'Layout' is only available in macOS 13.0 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
   |                 |                                                              `- error: 'Layout' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
46 |         HStackLayout(
47 |             alignment: properties.verticalAlignment,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:54:23: error: 'Binding' is only available in macOS 10.15 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
55 |         basicCellView: Subview
56 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:55:24: error: 'Subview' is only available in macOS 15.0 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
55 |         basicCellView: Subview
   |                        `- error: 'Subview' is only available in macOS 15.0 or newer
56 |     ) -> some View {
57 |         basicCellView
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:56:15: error: 'View' is only available in macOS 10.15 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
55 |         basicCellView: Subview
56 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
57 |         basicCellView
58 |             .onGeometryChange(for: CGRect.self) { geo in
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:75:80: error: 'Layout' is only available in macOS 13.0 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
   |                 |                                                              `- error: 'Layout' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
76 |         HorizontalScrollerLayout(
77 |             parentViewWidth: properties.scrollViewWidth,
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:86:23: error: 'Binding' is only available in macOS 10.15 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
   |                       `- error: 'Binding' is only available in macOS 10.15 or newer
87 |         basicCellView: Subview
88 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:87:24: error: 'Subview' is only available in macOS 15.0 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
87 |         basicCellView: Subview
   |                        `- error: 'Subview' is only available in macOS 15.0 or newer
88 |     ) -> some View {
89 |         basicCellView
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:88:15: error: 'View' is only available in macOS 10.15 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
87 |         basicCellView: Subview
88 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
89 |         basicCellView
90 |             .layoutValue(key: FrameInLayout.self, value: frameBinding)
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:46:9: error: 'HStackLayout' is only available in macOS 13.0 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
   |                 `- note: add @available attribute to enclosing instance method
46 |         HStackLayout(
   |         |- error: 'HStackLayout' is only available in macOS 13.0 or newer
   |         `- note: add 'if #available' version check
47 |             alignment: properties.verticalAlignment,
48 |             spacing: properties.horizontalSpacing
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:58:14: error: 'onGeometryChange(for:of:action:)' is only available in macOS 13.0 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
   :
56 |     ) -> some View {
57 |         basicCellView
58 |             .onGeometryChange(for: CGRect.self) { geo in
   |              |- error: 'onGeometryChange(for:of:action:)' is only available in macOS 13.0 or newer
   |              `- note: add 'if #available' version check
59 |                 geo.frame(in: .named(properties.coordinateSpaceName))
60 |             } action: { newVal in
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:59:21: error: 'frame(in:)' is only available in macOS 10.15 or newer
42 | }
43 |
44 | public struct HStackStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
45 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
46 |         HStackLayout(
   :
50 |     }
51 |
52 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
53 |         properties: PickerLayoutProperties,
54 |         frameBinding: Binding<CGRect>,
   :
57 |         basicCellView
58 |             .onGeometryChange(for: CGRect.self) { geo in
59 |                 geo.frame(in: .named(properties.coordinateSpaceName))
   |                     |- error: 'frame(in:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
60 |             } action: { newVal in
61 |                 frameBinding.wrappedValue = newVal
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Internal/HorizontalScrollerLayout.swift:13:49: error: 'center' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct HorizontalScrollerLayout {
    |        `- note: add @available attribute to enclosing struct
 11 |     var parentViewWidth: CGFloat
 12 |     var visibleRect: CGRect
 13 |     var verticalAlignment: VerticalAlignment = .center
    |                                                 `- error: 'center' is only available in macOS 10.15 or newer
 14 |     var spacing: CGFloat? = nil
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/HorizontalScrollPicker/Data Types/HorizontalScrollerStyle.swift:90:14: error: 'layoutValue(key:value:)' is only available in macOS 13.0 or newer
72 | }
73 |
74 | public struct CustomLayoutStyle: HorizontalScrollerStyle {
   |               `- note: add @available attribute to enclosing struct
75 |     public func configuredLayout(_ properties: PickerLayoutProperties) -> some Layout {
76 |         HorizontalScrollerLayout(
   :
82 |     }
83 |
84 |     public func configuredCellContent(
   |                 `- note: add @available attribute to enclosing instance method
85 |         properties: PickerLayoutProperties,
86 |         frameBinding: Binding<CGRect>,
   :
88 |     ) -> some View {
89 |         basicCellView
90 |             .layoutValue(key: FrameInLayout.self, value: frameBinding)
   |              |- error: 'layoutValue(key:value:)' is only available in macOS 13.0 or newer
   |              `- note: add 'if #available' version check
91 |     }
92 | }
BUILD FAILURE 6.1 macosSpm