The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MultiSelectPicker, reference main (ec9d91), with Swift 6.0 for macOS (SPM) on 2 Aug 2025 01:42:12 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yusuphjoluwasen/MultiSelectPicker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yusuphjoluwasen/MultiSelectPicker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ec9d918 Update README.md (#33)
Cloned https://github.com/yusuphjoluwasen/MultiSelectPicker.git
Revision (git rev-parse @):
ec9d91812f8e68c236fac3b0f8048bb45f80d4eb
SUCCESS checkout https://github.com/yusuphjoluwasen/MultiSelectPicker.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yusuphjoluwasen/MultiSelectPicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Assets.xcassets
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/9] Compiling MultiSelectPicker resource_bundle_accessor.swift
[5/9] Compiling MultiSelectPicker MultiSelectPickerViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
14 |     @Published var selectedOptions: Set<FormOption>
15 |     @Published var selectedIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published var selectedIDs: Set<String>
16 |     @Published var searchText: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
15 |     @Published var selectedIDs: Set<String>
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |     @Published var searchText: String = ""
17 |
<unknown>:0: error: cannot convert value of type 'KeyPath<MultiSelectPickerViewModel, [FormOption]>' to expected argument type 'ReferenceWritableKeyPath<MultiSelectPickerViewModel, [FormOption]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<MultiSelectPickerViewModel, Set<FormOption>>' to expected argument type 'ReferenceWritableKeyPath<MultiSelectPickerViewModel, Set<FormOption>>'
<unknown>:0: error: cannot convert value of type 'KeyPath<MultiSelectPickerViewModel, Set<String>>' to expected argument type 'ReferenceWritableKeyPath<MultiSelectPickerViewModel, Set<String>>'
<unknown>:0: error: cannot convert value of type 'KeyPath<MultiSelectPickerViewModel, String>' to expected argument type 'ReferenceWritableKeyPath<MultiSelectPickerViewModel, String>'
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
15 |     @Published var selectedIDs: Set<String>
16 |     @Published var searchText: String = ""
   |      `- error: 'Published' is only available in macOS 10.15 or newer
17 |
18 |     public init(options: [FormOption], preSelected: [FormOption] = []) {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:19:9: error: setter for 'allOptions' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
   :
16 |     @Published var searchText: String = ""
17 |
18 |     public init(options: [FormOption], preSelected: [FormOption] = []) {
   |            `- note: add @available attribute to enclosing initializer
19 |         self.allOptions = options
   |         |- error: setter for 'allOptions' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
20 |         let preSelectedIDs = Set(preSelected.map { $0.id })
21 |         let selected = options.filter { preSelectedIDs.contains($0.id) }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:23:9: error: setter for 'selectedOptions' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
   :
16 |     @Published var searchText: String = ""
17 |
18 |     public init(options: [FormOption], preSelected: [FormOption] = []) {
   |            `- note: add @available attribute to enclosing initializer
19 |         self.allOptions = options
20 |         let preSelectedIDs = Set(preSelected.map { $0.id })
21 |         let selected = options.filter { preSelectedIDs.contains($0.id) }
22 |
23 |         self.selectedOptions = Set(selected)
   |         |- error: setter for 'selectedOptions' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         self.selectedIDs = preSelectedIDs
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:24:9: error: setter for 'selectedIDs' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
   :
16 |     @Published var searchText: String = ""
17 |
18 |     public init(options: [FormOption], preSelected: [FormOption] = []) {
   |            `- note: add @available attribute to enclosing initializer
19 |         self.allOptions = options
20 |         let preSelectedIDs = Set(preSelected.map { $0.id })
   :
22 |
23 |         self.selectedOptions = Set(selected)
24 |         self.selectedIDs = preSelectedIDs
   |         |- error: setter for 'selectedIDs' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |     }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:36:13: error: cannot pass as inout because setter for 'selectedOptions' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
   :
32 |     }
33 |
34 |     public func toggleSelection(_ option: FormOption) {
   |                 `- note: add @available attribute to enclosing instance method
35 |         if selectedOptions.contains(option) {
36 |             selectedOptions.remove(option)
   |             |- error: cannot pass as inout because setter for 'selectedOptions' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
37 |             selectedIDs.remove(option.id)
38 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:37:13: error: cannot pass as inout because setter for 'selectedIDs' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
   :
32 |     }
33 |
34 |     public func toggleSelection(_ option: FormOption) {
   |                 `- note: add @available attribute to enclosing instance method
35 |         if selectedOptions.contains(option) {
36 |             selectedOptions.remove(option)
37 |             selectedIDs.remove(option.id)
   |             |- error: cannot pass as inout because setter for 'selectedIDs' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
38 |         } else {
39 |             selectedOptions.insert(option)
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:39:13: error: cannot pass as inout because setter for 'selectedOptions' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
   :
32 |     }
33 |
34 |     public func toggleSelection(_ option: FormOption) {
   |                 `- note: add @available attribute to enclosing instance method
35 |         if selectedOptions.contains(option) {
36 |             selectedOptions.remove(option)
37 |             selectedIDs.remove(option.id)
38 |         } else {
39 |             selectedOptions.insert(option)
   |             |- error: cannot pass as inout because setter for 'selectedOptions' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
40 |             selectedIDs.insert(option.id)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:40:13: error: cannot pass as inout because setter for 'selectedIDs' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
   :
32 |     }
33 |
34 |     public func toggleSelection(_ option: FormOption) {
   |                 `- note: add @available attribute to enclosing instance method
35 |         if selectedOptions.contains(option) {
36 |             selectedOptions.remove(option)
   :
38 |         } else {
39 |             selectedOptions.insert(option)
40 |             selectedIDs.insert(option.id)
   |             |- error: cannot pass as inout because setter for 'selectedIDs' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
41 |         }
42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:45:9: error: cannot pass as inout because setter for 'selectedOptions' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
   :
42 |     }
43 |
44 |     public func clearSelection() {
   |                 `- note: add @available attribute to enclosing instance method
45 |         selectedOptions.removeAll()
   |         |- error: cannot pass as inout because setter for 'selectedOptions' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
46 |         selectedIDs.removeAll()
47 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:46:9: error: cannot pass as inout because setter for 'selectedIDs' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
   :
42 |     }
43 |
44 |     public func clearSelection() {
   |                 `- note: add @available attribute to enclosing instance method
45 |         selectedOptions.removeAll()
46 |         selectedIDs.removeAll()
   |         |- error: cannot pass as inout because setter for 'selectedIDs' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |     }
48 |
[6/9] Compiling MultiSelectPicker FormOption.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Compiling MultiSelectPicker OptionSelectionSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:15:6: error: 'Binding' is only available in macOS 10.15 or newer
10 | /// A modal sheet view presenting a list of selectable options.
11 | @available(iOS 16.0, *)
12 | struct OptionsSelectionSheet: View {
   |        `- note: add @available attribute to enclosing struct
13 |     var allOptions: [FormOption]
14 |     var title: String
15 |     @Binding var selectedIDs: Set<String>
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
16 |     @Binding var searchText: String
17 |     var onToggle: (FormOption) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
10 | /// A modal sheet view presenting a list of selectable options.
11 | @available(iOS 16.0, *)
12 | struct OptionsSelectionSheet: View {
   |        `- note: add @available attribute to enclosing struct
13 |     var allOptions: [FormOption]
14 |     var title: String
15 |     @Binding var selectedIDs: Set<String>
16 |     @Binding var searchText: String
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
17 |     var onToggle: (FormOption) -> Void
18 |     var onClear: () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:21:20: error: 'View' is only available in macOS 10.15 or newer
10 | /// A modal sheet view presenting a list of selectable options.
11 | @available(iOS 16.0, *)
12 | struct OptionsSelectionSheet: View {
   |        `- note: add @available attribute to enclosing struct
13 |     var allOptions: [FormOption]
14 |     var title: String
   :
19 |     var onDone: () -> Void
20 |
21 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
22 |         NavigationStack {
23 |             List {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:64:20: error: 'View' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:36:14: error: ambiguous use of 'toolbar(content:)'
34 |             .navigationTitle(title)
35 |             .navigationBarTitleDisplayMode(.inline)
36 |             .toolbar {
   |              `- error: ambiguous use of 'toolbar(content:)'
37 |                 ToolbarItem(placement: .navigationBarLeading) {
38 |                     if !selectedIDs.isEmpty {
SwiftUI.View:3:29: note: found this candidate in module 'SwiftUI'
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | extension View {
3 |     nonisolated public func toolbar<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View
  |                             `- note: found this candidate in module 'SwiftUI'
4 |
5 |     nonisolated public func toolbar<Content>(@ToolbarContentBuilder content: () -> Content) -> some View where Content : ToolbarContent
  |                             `- note: found this candidate in module 'SwiftUI'
6 |
7 |     nonisolated public func toolbar<Content>(id: String, @ToolbarContentBuilder content: () -> Content) -> some View where Content : CustomizableToolbarContent
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:65:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
   |         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
66 |             HStack {
67 |                 Text(option.label)
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:65:9: error: 'Button' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
   |         |- error: 'Button' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
66 |             HStack {
67 |                 Text(option.label)
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:66:13: error: 'HStack' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   |             |- error: 'HStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
67 |                 Text(option.label)
68 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:67:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
67 |                 Text(option.label)
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
68 |                 Spacer()
69 |                 if isSelected {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:67:17: error: 'Text' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
67 |                 Text(option.label)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
68 |                 Spacer()
69 |                 if isSelected {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:68:17: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
67 |                 Text(option.label)
68 |                 Spacer()
   |                 |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
69 |                 if isSelected {
70 |                     Image(systemName: "checkmark")
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:68:17: error: 'Spacer' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
67 |                 Text(option.label)
68 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
69 |                 if isSelected {
70 |                     Image(systemName: "checkmark")
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:70:21: error: 'Image' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   :
68 |                 Spacer()
69 |                 if isSelected {
70 |                     Image(systemName: "checkmark")
   |                     |- error: 'Image' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
71 |                         .foregroundColor(.accentColor)
72 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:70:21: error: 'init(systemName:)' is only available in macOS 11.0 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   :
68 |                 Spacer()
69 |                 if isSelected {
70 |                     Image(systemName: "checkmark")
   |                     |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                     `- note: add 'if #available' version check
71 |                         .foregroundColor(.accentColor)
72 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:71:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   :
69 |                 if isSelected {
70 |                     Image(systemName: "checkmark")
71 |                         .foregroundColor(.accentColor)
   |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
72 |                 }
73 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:71:43: error: 'accentColor' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   :
69 |                 if isSelected {
70 |                     Image(systemName: "checkmark")
71 |                         .foregroundColor(.accentColor)
   |                                           |- error: 'accentColor' is only available in macOS 10.15 or newer
   |                                           `- note: add 'if #available' version check
72 |                 }
73 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:69:31: error: 'buildIf' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
67 |                 Text(option.label)
68 |                 Spacer()
69 |                 if isSelected {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
70 |                     Image(systemName: "checkmark")
71 |                         .foregroundColor(.accentColor)
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:72:17: error: 'buildIf' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   :
70 |                     Image(systemName: "checkmark")
71 |                         .foregroundColor(.accentColor)
72 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
73 |             }
74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:66:20: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   |                    |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
67 |                 Text(option.label)
68 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:66:20: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   |                    |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
67 |                 Text(option.label)
68 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:66:20: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   |                    |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
67 |                 Text(option.label)
68 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:75:10: error: 'accessibilityElement(children:)' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   :
73 |             }
74 |         }
75 |         .accessibilityElement()
   |          |- error: 'accessibilityElement(children:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
76 |         .accessibilityLabel(option.label)
77 |         .accessibilityValue(isSelected ? "Selected" : "Not selected")
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:76:10: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   :
74 |         }
75 |         .accessibilityElement()
76 |         .accessibilityLabel(option.label)
   |          |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
   |          `- note: add 'if #available' version check
77 |         .accessibilityValue(isSelected ? "Selected" : "Not selected")
78 |         .accessibilityAddTraits(isSelected ? [.isButton, .isSelected] : .isButton)
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:77:10: error: 'accessibilityValue' is only available in macOS 11.0 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   :
75 |         .accessibilityElement()
76 |         .accessibilityLabel(option.label)
77 |         .accessibilityValue(isSelected ? "Selected" : "Not selected")
   |          |- error: 'accessibilityValue' is only available in macOS 11.0 or newer
   |          `- note: add 'if #available' version check
78 |         .accessibilityAddTraits(isSelected ? [.isButton, .isSelected] : .isButton)
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:77:42: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   :
75 |         .accessibilityElement()
76 |         .accessibilityLabel(option.label)
77 |         .accessibilityValue(isSelected ? "Selected" : "Not selected")
   |                                          |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                                          `- note: add 'if #available' version check
78 |         .accessibilityAddTraits(isSelected ? [.isButton, .isSelected] : .isButton)
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:77:55: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   :
75 |         .accessibilityElement()
76 |         .accessibilityLabel(option.label)
77 |         .accessibilityValue(isSelected ? "Selected" : "Not selected")
   |                                                       |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                                                       `- note: add 'if #available' version check
78 |         .accessibilityAddTraits(isSelected ? [.isButton, .isSelected] : .isButton)
79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:78:10: error: 'accessibilityAddTraits' is only available in macOS 11.0 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
   :
76 |         .accessibilityLabel(option.label)
77 |         .accessibilityValue(isSelected ? "Selected" : "Not selected")
78 |         .accessibilityAddTraits(isSelected ? [.isButton, .isSelected] : .isButton)
   |          |- error: 'accessibilityAddTraits' is only available in macOS 11.0 or newer
   |          `- note: add 'if #available' version check
79 |     }
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:64:25: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         |               |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
[8/9] Emitting module MultiSelectPicker
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | ///
 9 | @available(iOS 16.0, *)
10 | public struct MultiSelectPicker: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var title: String
12 |     @Binding public var options: [FormOption]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
13 |     public var preSelected: [FormOption]
14 |     public var onDone: ((Set<FormOption>) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:16:6: error: 'StateObject' is only available in macOS 11.0 or newer
 8 | ///
 9 | @available(iOS 16.0, *)
10 | public struct MultiSelectPicker: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var title: String
12 |     @Binding public var options: [FormOption]
   :
14 |     public var onDone: ((Set<FormOption>) -> Void)? = nil
15 |
16 |     @StateObject private var viewModel: MultiSelectPickerViewModel
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
17 |     @State private var showOptionsSheet = false
18 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
 8 | ///
 9 | @available(iOS 16.0, *)
10 | public struct MultiSelectPicker: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var title: String
12 |     @Binding public var options: [FormOption]
   :
15 |
16 |     @StateObject private var viewModel: MultiSelectPickerViewModel
17 |     @State private var showOptionsSheet = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
18 |
19 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:21:18: error: 'Binding' is only available in macOS 10.15 or newer
 8 | ///
 9 | @available(iOS 16.0, *)
10 | public struct MultiSelectPicker: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var title: String
12 |     @Binding public var options: [FormOption]
   :
17 |     @State private var showOptionsSheet = false
18 |
19 |     public init(
   |            `- note: add @available attribute to enclosing initializer
20 |         title: String,
21 |         options: Binding<[FormOption]>,
   |                  `- error: 'Binding' is only available in macOS 10.15 or newer
22 |         preSelected: [FormOption] = [],
23 |         onDone: ((Set<FormOption>) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
 8 | ///
 9 | @available(iOS 16.0, *)
10 | public struct MultiSelectPicker: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var title: String
12 |     @Binding public var options: [FormOption]
   :
33 |     }
34 |
35 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
36 |         VStack(alignment: .leading) {
37 |             Button {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
14 |     @Published var selectedOptions: Set<FormOption>
15 |     @Published var selectedIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published var selectedIDs: Set<String>
16 |     @Published var searchText: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
15 |     @Published var selectedIDs: Set<String>
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |     @Published var searchText: String = ""
17 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPickerViewModel.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
10 | @available(iOS 16.0, *)
11 | @MainActor
12 | public class MultiSelectPickerViewModel: ObservableObject {
   |              `- note: add @available attribute to enclosing class
13 |     @Published var allOptions: [FormOption]
14 |     @Published var selectedOptions: Set<FormOption>
15 |     @Published var selectedIDs: Set<String>
16 |     @Published var searchText: String = ""
   |      `- error: 'Published' is only available in macOS 10.15 or newer
17 |
18 |     public init(options: [FormOption], preSelected: [FormOption] = []) {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:15:6: error: 'Binding' is only available in macOS 10.15 or newer
10 | /// A modal sheet view presenting a list of selectable options.
11 | @available(iOS 16.0, *)
12 | struct OptionsSelectionSheet: View {
   |        `- note: add @available attribute to enclosing struct
13 |     var allOptions: [FormOption]
14 |     var title: String
15 |     @Binding var selectedIDs: Set<String>
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
16 |     @Binding var searchText: String
17 |     var onToggle: (FormOption) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
10 | /// A modal sheet view presenting a list of selectable options.
11 | @available(iOS 16.0, *)
12 | struct OptionsSelectionSheet: View {
   |        `- note: add @available attribute to enclosing struct
13 |     var allOptions: [FormOption]
14 |     var title: String
15 |     @Binding var selectedIDs: Set<String>
16 |     @Binding var searchText: String
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
17 |     var onToggle: (FormOption) -> Void
18 |     var onClear: () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:21:20: error: 'View' is only available in macOS 10.15 or newer
10 | /// A modal sheet view presenting a list of selectable options.
11 | @available(iOS 16.0, *)
12 | struct OptionsSelectionSheet: View {
   |        `- note: add @available attribute to enclosing struct
13 |     var allOptions: [FormOption]
14 |     var title: String
   :
19 |     var onDone: () -> Void
20 |
21 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
22 |         NavigationStack {
23 |             List {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:64:20: error: 'View' is only available in macOS 10.15 or newer
57 |
58 | @available(iOS 14.0, *)
59 | struct MultipleSelectionRow: View {
   |        `- note: add @available attribute to enclosing struct
60 |     var option: FormOption
61 |     var isSelected: Bool
62 |     var onTap: () -> Void
63 |
64 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
65 |         Button(action: onTap) {
66 |             HStack {
[9/9] Compiling MultiSelectPicker MultiSelectPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | ///
 9 | @available(iOS 16.0, *)
10 | public struct MultiSelectPicker: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var title: String
12 |     @Binding public var options: [FormOption]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
13 |     public var preSelected: [FormOption]
14 |     public var onDone: ((Set<FormOption>) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:16:6: error: 'StateObject' is only available in macOS 11.0 or newer
 8 | ///
 9 | @available(iOS 16.0, *)
10 | public struct MultiSelectPicker: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var title: String
12 |     @Binding public var options: [FormOption]
   :
14 |     public var onDone: ((Set<FormOption>) -> Void)? = nil
15 |
16 |     @StateObject private var viewModel: MultiSelectPickerViewModel
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
17 |     @State private var showOptionsSheet = false
18 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
 8 | ///
 9 | @available(iOS 16.0, *)
10 | public struct MultiSelectPicker: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var title: String
12 |     @Binding public var options: [FormOption]
   :
15 |
16 |     @StateObject private var viewModel: MultiSelectPickerViewModel
17 |     @State private var showOptionsSheet = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
18 |
19 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:21:18: error: 'Binding' is only available in macOS 10.15 or newer
 8 | ///
 9 | @available(iOS 16.0, *)
10 | public struct MultiSelectPicker: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var title: String
12 |     @Binding public var options: [FormOption]
   :
17 |     @State private var showOptionsSheet = false
18 |
19 |     public init(
   |            `- note: add @available attribute to enclosing initializer
20 |         title: String,
21 |         options: Binding<[FormOption]>,
   |                  `- error: 'Binding' is only available in macOS 10.15 or newer
22 |         preSelected: [FormOption] = [],
23 |         onDone: ((Set<FormOption>) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
 8 | ///
 9 | @available(iOS 16.0, *)
10 | public struct MultiSelectPicker: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var title: String
12 |     @Binding public var options: [FormOption]
   :
33 |     }
34 |
35 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
36 |         VStack(alignment: .leading) {
37 |             Button {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:29:22: error: 'StateObject' is only available in macOS 11.0 or newer
 8 | ///
 9 | @available(iOS 16.0, *)
10 | public struct MultiSelectPicker: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var title: String
12 |     @Binding public var options: [FormOption]
   :
17 |     @State private var showOptionsSheet = false
18 |
19 |     public init(
   |            `- note: add @available attribute to enclosing initializer
20 |         title: String,
21 |         options: Binding<[FormOption]>,
   :
27 |         self.preSelected = preSelected
28 |         self.onDone = onDone
29 |         _viewModel = StateObject(wrappedValue: MultiSelectPickerViewModel(
   |                      |- error: 'StateObject' is only available in macOS 11.0 or newer
   |                      `- note: add 'if #available' version check
30 |             options: options.wrappedValue,
31 |             preSelected: preSelected
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:57:45: error: cannot assign to property: '$viewModel' is immutable
55 |                     allOptions: viewModel.filteredOptions,
56 |                     title: title,
57 |                     selectedIDs: $viewModel.selectedIDs,
   |                                             `- error: cannot assign to property: '$viewModel' is immutable
58 |                     searchText: $viewModel.searchText,
59 |                     onToggle: { option in
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/MultiSelectPicker.swift:58:44: error: cannot assign to property: '$viewModel' is immutable
56 |                     title: title,
57 |                     selectedIDs: $viewModel.selectedIDs,
58 |                     searchText: $viewModel.searchText,
   |                                            `- error: cannot assign to property: '$viewModel' is immutable
59 |                     onToggle: { option in
60 |                         viewModel.toggleSelection(option)
BUILD FAILURE 6.0 macosSpm