Build Information
Failed to build SwiftyFilters, reference main (d73b3c), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 21:56:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
36 | ///
37 | public struct SFFilterRootView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
38 |
39 | /// The core filter object that manages the filter hierarchy.
:
50 | }
51 |
52 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
53 | NavigationView {
54 | if let rootNode = filtersCore.rootNode {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | SFFilterComponentView(node: rootNode)
56 | .navigationBarTitleDisplayMode(titleDisplayMode)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/BaseViews/SFFilterRootView.swift:58:17: error: 'ProgressView' is only available in macOS 11.0 or newer
35 | /// ```
36 | ///
37 | public struct SFFilterRootView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
38 |
39 | /// The core filter object that manages the filter hierarchy.
:
50 | }
51 |
52 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
53 | NavigationView {
54 | if let rootNode = filtersCore.rootNode {
:
56 | .navigationBarTitleDisplayMode(titleDisplayMode)
57 | } else {
58 | ProgressView()
| |- error: 'ProgressView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/BaseViews/SFFilterRootView.swift:58:17: error: 'init()' is only available in macOS 11.0 or newer
35 | /// ```
36 | ///
37 | public struct SFFilterRootView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
38 |
39 | /// The core filter object that manages the filter hierarchy.
:
50 | }
51 |
52 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
53 | NavigationView {
54 | if let rootNode = filtersCore.rootNode {
:
56 | .navigationBarTitleDisplayMode(titleDisplayMode)
57 | } else {
58 | ProgressView()
| |- error: 'init()' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/BaseViews/SFFilterRootView.swift:57:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
35 | /// ```
36 | ///
37 | public struct SFFilterRootView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
38 |
39 | /// The core filter object that manages the filter hierarchy.
:
50 | }
51 |
52 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
53 | NavigationView {
54 | if let rootNode = filtersCore.rootNode {
55 | SFFilterComponentView(node: rootNode)
56 | .navigationBarTitleDisplayMode(titleDisplayMode)
57 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | ProgressView()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/BaseViews/SFFilterRootView.swift:53:24: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
35 | /// ```
36 | ///
37 | public struct SFFilterRootView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
38 |
39 | /// The core filter object that manages the filter hierarchy.
:
50 | }
51 |
52 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
53 | NavigationView {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | if let rootNode = filtersCore.rootNode {
55 | SFFilterComponentView(node: rootNode)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/BaseViews/SFFilterRootView.swift:61:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
35 | /// ```
36 | ///
37 | public struct SFFilterRootView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
38 |
39 | /// The core filter object that manages the filter hierarchy.
:
50 | }
51 |
52 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
53 | NavigationView {
54 | if let rootNode = filtersCore.rootNode {
:
59 | }
60 | }
61 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | if filtersCore.rootNode == nil {
63 | filtersCore.compose()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:32:6: error: 'StateObject' is only available in macOS 11.0 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
| `- error: 'StateObject' is only available in macOS 11.0 or newer
33 |
34 | @Environment(\.allString) private var allString
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:34:6: error: 'Environment' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
33 |
34 | @Environment(\.allString) private var allString
| `- error: 'Environment' is only available in macOS 10.15 or newer
35 | @Environment(\.resetString) private var resetString
36 | @Environment(\.enabledCheckboxColor) private var enabledCheckboxColor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:35:6: error: 'Environment' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
33 |
34 | @Environment(\.allString) private var allString
35 | @Environment(\.resetString) private var resetString
| `- error: 'Environment' is only available in macOS 10.15 or newer
36 | @Environment(\.enabledCheckboxColor) private var enabledCheckboxColor
37 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:36:6: error: 'Environment' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
34 | @Environment(\.allString) private var allString
35 | @Environment(\.resetString) private var resetString
36 | @Environment(\.enabledCheckboxColor) private var enabledCheckboxColor
| `- error: 'Environment' is only available in macOS 10.15 or newer
37 |
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:43:27: error: 'View' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:40:17: error: 'StateObject' is only available in macOS 11.0 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
37 |
38 |
39 | public init(node: SFFilterNode<FilteredItem>) {
| `- note: add '@available' attribute to enclosing initializer
40 | _node = StateObject(wrappedValue: node)
| |- error: 'StateObject' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:44:9: error: 'HStack' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | Text(" ")
46 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:45:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
46 | Spacer()
47 | Text(node.isItemModified ? resetString : allString)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:45:13: error: 'Text' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | Spacer()
47 | Text(node.isItemModified ? resetString : allString)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:46:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
46 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
47 | Text(node.isItemModified ? resetString : allString)
48 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:46:13: error: 'Spacer' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
46 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | Text(node.isItemModified ? resetString : allString)
48 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:47:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
46 | Spacer()
47 | Text(node.isItemModified ? resetString : allString)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
48 | .fontWeight(.semibold)
49 | .foregroundStyle(enabledCheckboxColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:47:13: error: 'Text' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
46 | Spacer()
47 | Text(node.isItemModified ? resetString : allString)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | .fontWeight(.semibold)
49 | .foregroundStyle(enabledCheckboxColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:48:18: error: 'fontWeight' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
46 | Spacer()
47 | Text(node.isItemModified ? resetString : allString)
48 | .fontWeight(.semibold)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | .foregroundStyle(enabledCheckboxColor)
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:49:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
:
47 | Text(node.isItemModified ? resetString : allString)
48 | .fontWeight(.semibold)
49 | .foregroundStyle(enabledCheckboxColor)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
50 | }
51 | .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:44:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
45 | Text(" ")
46 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:44:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
45 | Text(" ")
46 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:44:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
45 | Text(" ")
46 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:51:10: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
:
49 | .foregroundStyle(enabledCheckboxColor)
50 | }
51 | .contentShape(Rectangle())
| |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | .onTapGesture {
53 | if node.isItemModified {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:51:23: error: 'Rectangle' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
:
49 | .foregroundStyle(enabledCheckboxColor)
50 | }
51 | .contentShape(Rectangle())
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | .onTapGesture {
53 | if node.isItemModified {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/Cells/SFFilterAllCellView.swift:52:10: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
28 | // MARK: - Filters All/Reset action view
29 |
30 | public struct SFFilterAllCellView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
31 |
32 | @StateObject var node: SFFilterNode<FilteredItem>
:
41 | }
42 |
43 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
44 | HStack {
45 | Text(" ")
:
50 | }
51 | .contentShape(Rectangle())
52 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | if node.isItemModified {
54 | node.resetAllFilters()
[45/61] Compiling SwiftyFilters SFFilterNoneItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:34:79: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:41:82: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:34:85: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:41:88: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:69:28: error: 'View' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: error: 'Text' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:66:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
64 | /// behavior or creating a custom filter core. In most cases, it does not need to be accessed directly.
65 | ///
66 | @Published var rootNode: SFFilterNode<FilteredItem>? {
| `- error: 'Published' is only available in macOS 10.15 or newer
67 | didSet {
68 | subscribeToIsItemEnabled()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:74:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
72 | /// Indicates whether the filter is active (i.e., whether any filter component affects the filtering).
73 | ///
74 | @Published public var isFilterActive: Bool = false
| `- error: 'Published' is only available in macOS 10.15 or newer
75 |
76 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:78:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
76 |
77 | private var filters: [SFFilterComponent<FilteredItem>]
78 | private var cancellables = Set<AnyCancellable>()
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 |
80 | /// Initializes a new `SFFiltersCore` instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:56:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:122:9: error: setter for 'rootNode' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
117 | }
118 |
119 | func compose() {
| `- note: add '@available' attribute to enclosing instance method
120 | let filterComponents: [SFFilterComponent<FilteredItem>] = filters
121 | let master = SFFilterMasterComponent(title: self.title, nestedFilterItems: filterComponents)
122 | self.rootNode = SFFilterNode(component: master)
| |- error: setter for 'rootNode' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:136:25: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
134 | rootNode?.$isItemEnabled
135 | .map { !$0 }
136 | .assign(to: \.isFilterActive, on: self)
| `- error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
137 | .store(in: &cancellables)
138 | }
[46/61] Compiling SwiftyFilters SFFilterRangeComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:34:79: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:41:82: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:34:85: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:41:88: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:69:28: error: 'View' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: error: 'Text' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:66:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
64 | /// behavior or creating a custom filter core. In most cases, it does not need to be accessed directly.
65 | ///
66 | @Published var rootNode: SFFilterNode<FilteredItem>? {
| `- error: 'Published' is only available in macOS 10.15 or newer
67 | didSet {
68 | subscribeToIsItemEnabled()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:74:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
72 | /// Indicates whether the filter is active (i.e., whether any filter component affects the filtering).
73 | ///
74 | @Published public var isFilterActive: Bool = false
| `- error: 'Published' is only available in macOS 10.15 or newer
75 |
76 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:78:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
76 |
77 | private var filters: [SFFilterComponent<FilteredItem>]
78 | private var cancellables = Set<AnyCancellable>()
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 |
80 | /// Initializes a new `SFFiltersCore` instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:56:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:122:9: error: setter for 'rootNode' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
117 | }
118 |
119 | func compose() {
| `- note: add '@available' attribute to enclosing instance method
120 | let filterComponents: [SFFilterComponent<FilteredItem>] = filters
121 | let master = SFFilterMasterComponent(title: self.title, nestedFilterItems: filterComponents)
122 | self.rootNode = SFFilterNode(component: master)
| |- error: setter for 'rootNode' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:136:25: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
134 | rootNode?.$isItemEnabled
135 | .map { !$0 }
136 | .assign(to: \.isFilterActive, on: self)
| `- error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
137 | .store(in: &cancellables)
138 | }
[47/61] Compiling SwiftyFilters SFFilterSingleValueComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:34:79: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:41:82: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:34:85: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:41:88: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:69:28: error: 'View' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: error: 'Text' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:66:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
64 | /// behavior or creating a custom filter core. In most cases, it does not need to be accessed directly.
65 | ///
66 | @Published var rootNode: SFFilterNode<FilteredItem>? {
| `- error: 'Published' is only available in macOS 10.15 or newer
67 | didSet {
68 | subscribeToIsItemEnabled()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:74:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
72 | /// Indicates whether the filter is active (i.e., whether any filter component affects the filtering).
73 | ///
74 | @Published public var isFilterActive: Bool = false
| `- error: 'Published' is only available in macOS 10.15 or newer
75 |
76 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:78:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
76 |
77 | private var filters: [SFFilterComponent<FilteredItem>]
78 | private var cancellables = Set<AnyCancellable>()
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 |
80 | /// Initializes a new `SFFiltersCore` instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:56:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:122:9: error: setter for 'rootNode' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
117 | }
118 |
119 | func compose() {
| `- note: add '@available' attribute to enclosing instance method
120 | let filterComponents: [SFFilterComponent<FilteredItem>] = filters
121 | let master = SFFilterMasterComponent(title: self.title, nestedFilterItems: filterComponents)
122 | self.rootNode = SFFilterNode(component: master)
| |- error: setter for 'rootNode' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:136:25: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
134 | rootNode?.$isItemEnabled
135 | .map { !$0 }
136 | .assign(to: \.isFilterActive, on: self)
| `- error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
137 | .store(in: &cancellables)
138 | }
[48/61] Compiling SwiftyFilters SFFilterComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:34:79: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:41:82: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:34:85: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:41:88: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:69:28: error: 'View' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: error: 'Text' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:66:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
64 | /// behavior or creating a custom filter core. In most cases, it does not need to be accessed directly.
65 | ///
66 | @Published var rootNode: SFFilterNode<FilteredItem>? {
| `- error: 'Published' is only available in macOS 10.15 or newer
67 | didSet {
68 | subscribeToIsItemEnabled()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:74:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
72 | /// Indicates whether the filter is active (i.e., whether any filter component affects the filtering).
73 | ///
74 | @Published public var isFilterActive: Bool = false
| `- error: 'Published' is only available in macOS 10.15 or newer
75 |
76 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:78:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
76 |
77 | private var filters: [SFFilterComponent<FilteredItem>]
78 | private var cancellables = Set<AnyCancellable>()
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 |
80 | /// Initializes a new `SFFiltersCore` instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:56:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:122:9: error: setter for 'rootNode' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
117 | }
118 |
119 | func compose() {
| `- note: add '@available' attribute to enclosing instance method
120 | let filterComponents: [SFFilterComponent<FilteredItem>] = filters
121 | let master = SFFilterMasterComponent(title: self.title, nestedFilterItems: filterComponents)
122 | self.rootNode = SFFilterNode(component: master)
| |- error: setter for 'rootNode' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:136:25: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
134 | rootNode?.$isItemEnabled
135 | .map { !$0 }
136 | .assign(to: \.isFilterActive, on: self)
| `- error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
137 | .store(in: &cancellables)
138 | }
[49/61] Compiling SwiftyFilters SFFiltersCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:34:79: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:41:82: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:34:85: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:41:88: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:69:28: error: 'View' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: error: 'Text' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:66:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
64 | /// behavior or creating a custom filter core. In most cases, it does not need to be accessed directly.
65 | ///
66 | @Published var rootNode: SFFilterNode<FilteredItem>? {
| `- error: 'Published' is only available in macOS 10.15 or newer
67 | didSet {
68 | subscribeToIsItemEnabled()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:74:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
72 | /// Indicates whether the filter is active (i.e., whether any filter component affects the filtering).
73 | ///
74 | @Published public var isFilterActive: Bool = false
| `- error: 'Published' is only available in macOS 10.15 or newer
75 |
76 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:78:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
76 |
77 | private var filters: [SFFilterComponent<FilteredItem>]
78 | private var cancellables = Set<AnyCancellable>()
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 |
80 | /// Initializes a new `SFFiltersCore` instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:56:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:122:9: error: setter for 'rootNode' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
117 | }
118 |
119 | func compose() {
| `- note: add '@available' attribute to enclosing instance method
120 | let filterComponents: [SFFilterComponent<FilteredItem>] = filters
121 | let master = SFFilterMasterComponent(title: self.title, nestedFilterItems: filterComponents)
122 | self.rootNode = SFFilterNode(component: master)
| |- error: setter for 'rootNode' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:136:25: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
134 | rootNode?.$isItemEnabled
135 | .map { !$0 }
136 | .assign(to: \.isFilterActive, on: self)
| `- error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
137 | .store(in: &cancellables)
138 | }
[50/61] Compiling SwiftyFilters SFFilterFetcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:34:79: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterRangeComponent.swift:41:82: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Range filter component
30 |
31 | class SFFilterRangeComponent<FilteredItem, CriteriaItem: Comparable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterRangeContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:34:85: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
34 | private let view: ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
35 | private let noneItemTitle: String
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/BaseTreeComponents/SFFilterSingleValueComponent.swift:41:88: error: 'View' is only available in macOS 10.15 or newer
29 | // MARK: - Single value filter component
30 |
31 | class SFFilterSingleValueComponent<FilteredItem, CriteriaItem: Equatable>: SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
32 |
33 | private let filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>
:
36 |
37 |
38 | init(title: String,
| `- note: add '@available' attribute to enclosing initializer
39 | noneItemTitle: String,
40 | filter: SFFilterSingleValueContainer<FilteredItem, CriteriaItem>,
41 | view: @escaping ((SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View)
| `- error: 'View' is only available in macOS 10.15 or newer
42 | ) {
43 | self.noneItemTitle = noneItemTitle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:69:28: error: 'View' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersBaseComponents/SFFilterComponent.swift:70:9: error: 'Text' is only available in macOS 10.15 or newer
34 | /// and are used to build the filter tree.
35 | ///
36 | public class SFFilterComponent<FilteredItem> {
| `- note: add '@available' attribute to enclosing generic class
37 |
38 | var title: String
:
67 | }
68 |
69 | func makeView() -> any View {
| `- note: add '@available' attribute to enclosing instance method
70 | Text("View not defined")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:66:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
64 | /// behavior or creating a custom filter core. In most cases, it does not need to be accessed directly.
65 | ///
66 | @Published var rootNode: SFFilterNode<FilteredItem>? {
| `- error: 'Published' is only available in macOS 10.15 or newer
67 | didSet {
68 | subscribeToIsItemEnabled()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:74:6: error: 'Published' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
72 | /// Indicates whether the filter is active (i.e., whether any filter component affects the filtering).
73 | ///
74 | @Published public var isFilterActive: Bool = false
| `- error: 'Published' is only available in macOS 10.15 or newer
75 |
76 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:78:36: error: 'AnyCancellable' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
76 |
77 | private var filters: [SFFilterComponent<FilteredItem>]
78 | private var cancellables = Set<AnyCancellable>()
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 |
80 | /// Initializes a new `SFFiltersCore` instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:56:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, SFFilterNode<FilteredItem>?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:122:9: error: setter for 'rootNode' is only available in macOS 10.15 or newer
54 | /// ```
55 | ///
56 | public class SFFiltersCore<FilteredItem>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
57 |
58 | /// The title of the filter tree, which can be used for display purposes (e.g., in a navigation bar).
:
117 | }
118 |
119 | func compose() {
| `- note: add '@available' attribute to enclosing instance method
120 | let filterComponents: [SFFilterComponent<FilteredItem>] = filters
121 | let master = SFFilterMasterComponent(title: self.title, nestedFilterItems: filterComponents)
122 | self.rootNode = SFFilterNode(component: master)
| |- error: setter for 'rootNode' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/FiltersCore/SFFiltersCore.swift:136:25: error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
134 | rootNode?.$isItemEnabled
135 | .map { !$0 }
136 | .assign(to: \.isFilterActive, on: self)
| `- error: cannot convert value of type 'KeyPath<SFFiltersCore<FilteredItem>, Bool>' to expected argument type 'ReferenceWritableKeyPath<SFFiltersCore<FilteredItem>, Bool>'
137 | .store(in: &cancellables)
138 | }
[51/61] Compiling SwiftyFilters SFBuildableComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
[52/61] Compiling SwiftyFilters SFFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
[53/61] Compiling SwiftyFilters SFFilterComponentsFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
[54/61] Compiling SwiftyFilters SFFiltersBuilder+SFFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
[55/61] Compiling SwiftyFilters SFFiltersBuilder+SFFilterBuildableComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
[56/61] Compiling SwiftyFilters SFFiltersBuilder+SFGroupedComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilter.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFFiltersBuilder+SFFilter support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFFilter` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFFilter` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFFilter<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.flatMap { $0.body }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:56:24: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/Composing/SFFiltersBuilder/SFFiltersBuilder+SFFilterBuildableComponent.swift:57:27: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
28 | // MARK: - SFBuildableComponent support
29 |
30 | extension SFFiltersBuilder {
| `- note: add '@available' attribute to enclosing extension
31 |
32 | /// Converts a single `SFBuildableComponent` into an array of `SFFilterComponent`.
:
54 | /// Combines an array of `SFBuildableComponent` into a single array of `SFFilterComponent`.
55 | @available(iOS 16.0.0, *)
56 | public static func buildArray(_ components: [any SFBuildableComponent<FilteredItem>]) -> [SFFilterComponent<FilteredItem>] {
| `- note: add '@available' attribute to enclosing static method
57 | return components.map { $0.buildComponent() }
| |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
| `- note: add 'if #available' version check
58 | }
59 | }
[57/61] Compiling SwiftyFilters SFInvisableNavigationLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:32:41: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:28:47: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:71: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:71: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:85: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:41:11: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
43 | modifier(SFInvisableNavigationLink(destination: destination))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:34:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:34:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:17: error: 'NavigationLink' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:17: error: 'init(_:destination:)' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'init(_:destination:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:32: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:36:22: error: 'opacity' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:43:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:43:9: error: 'modifier' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterKeywordsViewProvider.swift:72:87: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterKeywordsViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: StringProtocol {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the keyword-based filter component.
71 | ///
72 | func makeView(with node: SFFilterKeywordsNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterMultiSelectionViewProvider.swift:70:79: error: 'View' is only available in macOS 10.15 or newer
55 | /// ```
56 | ///
57 | public protocol SFFilterMultiSelectionViewProvider<FilteredItem> {
| `- note: add '@available' attribute to enclosing protocol
58 |
59 | associatedtype FilteredItem
:
68 | /// - Returns: A view representing the multi-selection filter component.
69 | ///
70 | func makeView(with node: SFFilterMultiSelectionNode<FilteredItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterRangeViewProvider.swift:72:84: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterRangeViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Comparable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the range-based filter component.
71 | ///
72 | func makeView(with node: SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterSingleValueViewProvider.swift:72:90: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterSingleValueViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Equatable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the single-value filter component.
71 | ///
72 | func makeView(with node: SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
[58/61] Compiling SwiftyFilters SFFilterKeywordsViewProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:32:41: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:28:47: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:71: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:71: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:85: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:41:11: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
43 | modifier(SFInvisableNavigationLink(destination: destination))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:34:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:34:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:17: error: 'NavigationLink' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:17: error: 'init(_:destination:)' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'init(_:destination:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:32: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:36:22: error: 'opacity' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:43:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:43:9: error: 'modifier' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterKeywordsViewProvider.swift:72:87: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterKeywordsViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: StringProtocol {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the keyword-based filter component.
71 | ///
72 | func makeView(with node: SFFilterKeywordsNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterMultiSelectionViewProvider.swift:70:79: error: 'View' is only available in macOS 10.15 or newer
55 | /// ```
56 | ///
57 | public protocol SFFilterMultiSelectionViewProvider<FilteredItem> {
| `- note: add '@available' attribute to enclosing protocol
58 |
59 | associatedtype FilteredItem
:
68 | /// - Returns: A view representing the multi-selection filter component.
69 | ///
70 | func makeView(with node: SFFilterMultiSelectionNode<FilteredItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterRangeViewProvider.swift:72:84: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterRangeViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Comparable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the range-based filter component.
71 | ///
72 | func makeView(with node: SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterSingleValueViewProvider.swift:72:90: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterSingleValueViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Equatable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the single-value filter component.
71 | ///
72 | func makeView(with node: SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
[59/61] Compiling SwiftyFilters SFFilterMultiSelectionViewProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:32:41: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:28:47: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:71: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:71: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:85: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:41:11: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
43 | modifier(SFInvisableNavigationLink(destination: destination))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:34:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:34:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:17: error: 'NavigationLink' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:17: error: 'init(_:destination:)' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'init(_:destination:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:32: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:36:22: error: 'opacity' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:43:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:43:9: error: 'modifier' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterKeywordsViewProvider.swift:72:87: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterKeywordsViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: StringProtocol {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the keyword-based filter component.
71 | ///
72 | func makeView(with node: SFFilterKeywordsNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterMultiSelectionViewProvider.swift:70:79: error: 'View' is only available in macOS 10.15 or newer
55 | /// ```
56 | ///
57 | public protocol SFFilterMultiSelectionViewProvider<FilteredItem> {
| `- note: add '@available' attribute to enclosing protocol
58 |
59 | associatedtype FilteredItem
:
68 | /// - Returns: A view representing the multi-selection filter component.
69 | ///
70 | func makeView(with node: SFFilterMultiSelectionNode<FilteredItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterRangeViewProvider.swift:72:84: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterRangeViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Comparable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the range-based filter component.
71 | ///
72 | func makeView(with node: SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterSingleValueViewProvider.swift:72:90: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterSingleValueViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Equatable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the single-value filter component.
71 | ///
72 | func makeView(with node: SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
[60/61] Compiling SwiftyFilters SFFilterRangeViewProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:32:41: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:28:47: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:71: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:71: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:85: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:41:11: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
43 | modifier(SFInvisableNavigationLink(destination: destination))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:34:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:34:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:17: error: 'NavigationLink' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:17: error: 'init(_:destination:)' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'init(_:destination:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:32: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:36:22: error: 'opacity' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:43:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:43:9: error: 'modifier' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterKeywordsViewProvider.swift:72:87: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterKeywordsViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: StringProtocol {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the keyword-based filter component.
71 | ///
72 | func makeView(with node: SFFilterKeywordsNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterMultiSelectionViewProvider.swift:70:79: error: 'View' is only available in macOS 10.15 or newer
55 | /// ```
56 | ///
57 | public protocol SFFilterMultiSelectionViewProvider<FilteredItem> {
| `- note: add '@available' attribute to enclosing protocol
58 |
59 | associatedtype FilteredItem
:
68 | /// - Returns: A view representing the multi-selection filter component.
69 | ///
70 | func makeView(with node: SFFilterMultiSelectionNode<FilteredItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterRangeViewProvider.swift:72:84: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterRangeViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Comparable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the range-based filter component.
71 | ///
72 | func makeView(with node: SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterSingleValueViewProvider.swift:72:90: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterSingleValueViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Equatable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the single-value filter component.
71 | ///
72 | func makeView(with node: SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
[61/61] Compiling SwiftyFilters SFFilterSingleValueViewProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:32:41: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:28:47: error: 'View' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:71: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:71: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:42:85: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:41:11: error: 'View' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
43 | modifier(SFInvisableNavigationLink(destination: destination))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:34:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:34:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:17: error: 'NavigationLink' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:17: error: 'init(_:destination:)' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'init(_:destination:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:35:32: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .opacity(0)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:36:22: error: 'opacity' is only available in macOS 10.15 or newer
26 |
27 |
28 | struct SFInvisableNavigationLink<Destination: View>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
29 |
30 | var destination: () -> Destination
31 |
32 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
33 | content
34 | .overlay {
35 | NavigationLink("", destination: destination)
36 | .opacity(0)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:43:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewModifiers/SFInvisableNavigationLink.swift:43:9: error: 'modifier' is only available in macOS 10.15 or newer
39 | }
40 |
41 | extension View {
| `- note: add '@available' attribute to enclosing extension
42 | func withInvisibleNavigation(to destination: @escaping () -> some View) -> some View {
| `- note: add '@available' attribute to enclosing instance method
43 | modifier(SFInvisableNavigationLink(destination: destination))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterKeywordsViewProvider.swift:72:87: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterKeywordsViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: StringProtocol {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the keyword-based filter component.
71 | ///
72 | func makeView(with node: SFFilterKeywordsNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterMultiSelectionViewProvider.swift:70:79: error: 'View' is only available in macOS 10.15 or newer
55 | /// ```
56 | ///
57 | public protocol SFFilterMultiSelectionViewProvider<FilteredItem> {
| `- note: add '@available' attribute to enclosing protocol
58 |
59 | associatedtype FilteredItem
:
68 | /// - Returns: A view representing the multi-selection filter component.
69 | ///
70 | func makeView(with node: SFFilterMultiSelectionNode<FilteredItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterRangeViewProvider.swift:72:84: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterRangeViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Comparable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the range-based filter component.
71 | ///
72 | func makeView(with node: SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterSingleValueViewProvider.swift:72:90: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterSingleValueViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Equatable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the single-value filter component.
71 | ///
72 | func makeView(with node: SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
BUILD FAILURE 6.3 macosSpm