Build Information
Failed to build MultiSelectPicker, reference 1.0.3 (0cce8e), with Swift 6.2 for macOS (SPM) on 24 Jun 2025 16:38:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yusuphjoluwasen/MultiSelectPicker.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yusuphjoluwasen/MultiSelectPicker
* tag 1.0.3 -> FETCH_HEAD
HEAD is now at 0cce8e3 updated example project
Cloned https://github.com/yusuphjoluwasen/MultiSelectPicker.git
Revision (git rev-parse @):
0cce8e31291638227f9ba6083cb3f91448c9ee7b
SUCCESS checkout https://github.com/yusuphjoluwasen/MultiSelectPicker.git at 1.0.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/yusuphjoluwasen/MultiSelectPicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Assets.xcassets
[2/3] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Compiling MultiSelectPicker FormOption.swift
[5/9] Compiling MultiSelectPicker resource_bundle_accessor.swift
[6/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 {
[7/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 |
/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] = []) {
<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: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 |
[8/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:22:9: error: 'NavigationStack' is only available in macOS 13.0 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
| |- error: 'NavigationStack' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
23 | List {
24 | ForEach(allOptions, id: \.id) { option in
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:22:25: error: conformance of 'ForEach<Data, ID, Content>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | List {
24 | ForEach(allOptions, id: \.id) { option in
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:22:25: error: conformance of 'Optional<Wrapped>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | List {
24 | ForEach(allOptions, id: \.id) { option in
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:22:25: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | List {
24 | ForEach(allOptions, id: \.id) { option in
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:22:25: error: conformance of 'ModifiedContent<Content, Modifier>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | List {
24 | ForEach(allOptions, id: \.id) { option in
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:22:25: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | List {
24 | ForEach(allOptions, id: \.id) { option in
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:23:13: error: 'List' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
| |- error: 'List' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | ForEach(allOptions, id: \.id) { option in
25 | MultipleSelectionRow(
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:23:13: error: 'init(content:)' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | ForEach(allOptions, id: \.id) { option in
25 | MultipleSelectionRow(
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:24:17: error: conformance of 'ForEach<Data, ID, Content>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
24 | ForEach(allOptions, id: \.id) { option in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | MultipleSelectionRow(
26 | option: option,
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:24:17: error: 'ForEach' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
24 | ForEach(allOptions, id: \.id) { option in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | MultipleSelectionRow(
26 | option: option,
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:24:17: error: 'init(_:id:content:)' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
24 | ForEach(allOptions, id: \.id) { option in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | MultipleSelectionRow(
26 | option: option,
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:23:18: error: conformance of 'ForEach<Data, ID, Content>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | ForEach(allOptions, id: \.id) { option in
25 | MultipleSelectionRow(
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:32:14: error: 'listStyle' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
30 | }
31 | }
32 | .listStyle(.plain)
| |- error: 'listStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .searchable(text: $searchText, prompt: "Search \(title.lowercased())")
34 | .navigationTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:32:25: error: 'plain' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
30 | }
31 | }
32 | .listStyle(.plain)
| |- error: 'plain' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .searchable(text: $searchText, prompt: "Search \(title.lowercased())")
34 | .navigationTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:33:14: error: 'searchable(text:placement:prompt:)' is only available in macOS 12.0 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
31 | }
32 | .listStyle(.plain)
33 | .searchable(text: $searchText, prompt: "Search \(title.lowercased())")
| |- error: 'searchable(text:placement:prompt:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
34 | .navigationTitle(title)
35 | .navigationBarTitleDisplayMode(.inline)
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:33:52: error: 'LocalizedStringKey' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
31 | }
32 | .listStyle(.plain)
33 | .searchable(text: $searchText, prompt: "Search \(title.lowercased())")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .navigationTitle(title)
35 | .navigationBarTitleDisplayMode(.inline)
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:34:14: error: 'navigationTitle' is only available in macOS 11.0 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
32 | .listStyle(.plain)
33 | .searchable(text: $searchText, prompt: "Search \(title.lowercased())")
34 | .navigationTitle(title)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:35:14: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
33 | .searchable(text: $searchText, prompt: "Search \(title.lowercased())")
34 | .navigationTitle(title)
35 | .navigationBarTitleDisplayMode(.inline)
| `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
36 | .toolbar {
37 | ToolbarItem(placement: .navigationBarLeading) {
SwiftUI.View.navigationBarTitleDisplayMode:2:25: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
| `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:36:14: error: 'toolbar(content:)' is only available in macOS 11.0 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
34 | .navigationTitle(title)
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
| |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:36:22: error: conformance of 'Optional<Wrapped>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
34 | .navigationTitle(title)
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:36:22: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
34 | .navigationTitle(title)
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:36:22: error: conformance of 'ModifiedContent<Content, Modifier>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
34 | .navigationTitle(title)
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:36:22: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
34 | .navigationTitle(title)
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:37:17: error: conformance of 'Optional<Wrapped>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
37 | ToolbarItem(placement: .navigationBarLeading) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | if !selectedIDs.isEmpty {
39 | Button("Clear") {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:37:17: error: 'ToolbarItem' is only available in macOS 11.0 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
37 | ToolbarItem(placement: .navigationBarLeading) {
| |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
38 | if !selectedIDs.isEmpty {
39 | Button("Clear") {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:37:17: error: 'init(placement:content:)' is only available in macOS 11.0 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
37 | ToolbarItem(placement: .navigationBarLeading) {
| |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
38 | if !selectedIDs.isEmpty {
39 | Button("Clear") {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:37:41: error: 'navigationBarLeading' is unavailable in macOS
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
37 | ToolbarItem(placement: .navigationBarLeading) {
| `- error: 'navigationBarLeading' is unavailable in macOS
38 | if !selectedIDs.isEmpty {
39 | Button("Clear") {
SwiftUI.ToolbarItemPlacement.navigationBarLeading:7:21: note: 'navigationBarLeading' has been explicitly marked unavailable here
5 | @available(watchOS, unavailable)
6 | @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use topBarLeading instead")
7 | public static let navigationBarLeading: ToolbarItemPlacement}
| `- note: 'navigationBarLeading' has been explicitly marked unavailable here
8 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:37:63: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
37 | ToolbarItem(placement: .navigationBarLeading) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | if !selectedIDs.isEmpty {
39 | Button("Clear") {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:39:25: error: conformance of 'ModifiedContent<Content, Modifier>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
39 | Button("Clear") {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | onClear()
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:39:25: error: 'Button' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
39 | Button("Clear") {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | onClear()
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:39:25: error: 'init(_:action:)' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
39 | Button("Clear") {
| |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | onClear()
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:39:32: error: 'LocalizedStringKey' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
39 | Button("Clear") {
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | onClear()
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:42:26: error: 'foregroundColor' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
40 | onClear()
41 | }
42 | .foregroundColor(.red)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | .accessibilityLabel("Clear all selected options")
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:42:43: error: 'red' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
40 | onClear()
41 | }
42 | .foregroundColor(.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | .accessibilityLabel("Clear all selected options")
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:43:26: error: 'accessibilityLabel' is only available in macOS 11.0 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
41 | }
42 | .foregroundColor(.red)
43 | .accessibilityLabel("Clear all selected options")
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:43:45: error: 'LocalizedStringKey' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
41 | }
42 | .foregroundColor(.red)
43 | .accessibilityLabel("Clear all selected options")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:38:45: error: conformance of 'ModifiedContent<Content, Modifier>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
36 | .toolbar {
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | Button("Clear") {
40 | onClear()
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:38:45: error: 'buildIf' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
36 | .toolbar {
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | Button("Clear") {
40 | onClear()
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:44:21: error: 'buildIf' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
42 | .foregroundColor(.red)
43 | .accessibilityLabel("Clear all selected options")
44 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:37:63: error: conformance of 'Optional<Wrapped>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
37 | ToolbarItem(placement: .navigationBarLeading) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | if !selectedIDs.isEmpty {
39 | Button("Clear") {
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:47:17: error: conformance of 'ModifiedContent<Content, Modifier>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
45 | }
46 |
47 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | Button("Done") {
49 | onDone()
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:47:17: error: 'ToolbarItem' is only available in macOS 11.0 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
45 | }
46 |
47 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
48 | Button("Done") {
49 | onDone()
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:47:17: error: 'init(placement:content:)' is only available in macOS 11.0 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
45 | }
46 |
47 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
48 | Button("Done") {
49 | onDone()
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:47:41: error: 'navigationBarTrailing' is unavailable in macOS
45 | }
46 |
47 | ToolbarItem(placement: .navigationBarTrailing) {
| `- error: 'navigationBarTrailing' is unavailable in macOS
48 | Button("Done") {
49 | onDone()
SwiftUI.ToolbarItemPlacement.navigationBarTrailing:7:21: note: 'navigationBarTrailing' has been explicitly marked unavailable here
5 | @available(watchOS, unavailable)
6 | @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use topBarTrailing instead")
7 | public static let navigationBarTrailing: ToolbarItemPlacement}
| `- note: 'navigationBarTrailing' has been explicitly marked unavailable here
8 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:47:64: error: conformance of 'Text' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
45 | }
46 |
47 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | Button("Done") {
49 | onDone()
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:48:21: error: conformance of 'ModifiedContent<Content, Modifier>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
46 |
47 | ToolbarItem(placement: .navigationBarTrailing) {
48 | Button("Done") {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | onDone()
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:48:21: error: 'Button' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
46 |
47 | ToolbarItem(placement: .navigationBarTrailing) {
48 | Button("Done") {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | onDone()
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:48:21: error: 'init(_:action:)' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
46 |
47 | ToolbarItem(placement: .navigationBarTrailing) {
48 | Button("Done") {
| |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | onDone()
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:48:28: error: 'LocalizedStringKey' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
46 |
47 | ToolbarItem(placement: .navigationBarTrailing) {
48 | Button("Done") {
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | onDone()
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:51:22: error: 'accessibilityLabel' is only available in macOS 11.0 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
49 | onDone()
50 | }
51 | .accessibilityLabel("Close selection")
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:51:41: error: 'LocalizedStringKey' 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
49 | onDone()
50 | }
51 | .accessibilityLabel("Close selection")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:47:64: error: conformance of 'ModifiedContent<Content, Modifier>' to '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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
45 | }
46 |
47 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | Button("Done") {
49 | onDone()
/Users/admin/builder/spi-builder-workspace/Sources/MultiSelectPicker/OptionSelectionSheet.swift:36:22: error: 'buildBlock' is only available in macOS 11.0 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 {
| `- note: add @available attribute to enclosing property
22 | NavigationStack {
23 | List {
:
34 | .navigationTitle(title)
35 | .navigationBarTitleDisplayMode(.inline)
36 | .toolbar {
| |- error: 'buildBlock' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
37 | ToolbarItem(placement: .navigationBarLeading) {
38 | if !selectedIDs.isEmpty {
/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 {
[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.2 macosSpm