The Swift Package Index logo.Swift Package Index

Build Information

Failed to build custom_filter_and_search_bar, reference main (04c811), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 23:00:28 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/softsuave-tech-matrix/custom_filter_and_search_bar.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/softsuave-tech-matrix/custom_filter_and_search_bar
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 04c8119 Update README.md
Cloned https://github.com/softsuave-tech-matrix/custom_filter_and_search_bar.git
Revision (git rev-parse @):
04c8119a201b1378e1284df0a43e85999c14921d
SUCCESS checkout https://github.com/softsuave-tech-matrix/custom_filter_and_search_bar.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "custom_filter_and_search_bar",
      "name": "custom_filter_and_search_bar",
      "url": "https://github.com/softsuave-tech-matrix/custom_filter_and_search_bar.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/custom_filter_and_search_bar",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/softsuave-tech-matrix/custom_filter_and_search_bar.git
[1/47] Fetching custom_filter_and_search_bar
Fetched https://github.com/softsuave-tech-matrix/custom_filter_and_search_bar.git from cache (0.69s)
Creating working copy for https://github.com/softsuave-tech-matrix/custom_filter_and_search_bar.git
Working copy of https://github.com/softsuave-tech-matrix/custom_filter_and_search_bar.git resolved at main (04c8119)
warning: '.resolve-product-dependencies': dependency 'custom_filter_and_search_bar' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/softsuave-tech-matrix/custom_filter_and_search_bar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/9] Compiling custom_filter_and_search_bar custom_filter_and_search_bar.swift
[4/9] Compiling custom_filter_and_search_bar SearchBarView.swift
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:5:6: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  6 |     @Binding var filteredArray: [T]
  7 |     @Binding var selectedFilters: [String]
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:6:6: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  7 |     @Binding var selectedFilters: [String]
  8 |     @Binding var filterOptions: [String: [String]]
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:7:6: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
  7 |     @Binding var selectedFilters: [String]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  8 |     @Binding var filterOptions: [String: [String]]
  9 |     @State private var showFilterPopup = false
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
  7 |     @Binding var selectedFilters: [String]
  8 |     @Binding var filterOptions: [String: [String]]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  9 |     @State private var showFilterPopup = false
 10 |     @State private var isEditing: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
  7 |     @Binding var selectedFilters: [String]
  8 |     @Binding var filterOptions: [String: [String]]
  9 |     @State private var showFilterPopup = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 10 |     @State private var isEditing: Bool = false
 11 |     private var textColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
  8 |     @Binding var filterOptions: [String: [String]]
  9 |     @State private var showFilterPopup = false
 10 |     @State private var isEditing: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 11 |     private var textColor: Color
 12 |     private var placeHolderText: String
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:11:28: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
  9 |     @State private var showFilterPopup = false
 10 |     @State private var isEditing: Bool = false
 11 |     private var textColor: Color
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 12 |     private var placeHolderText: String
 13 |     private var borderColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:13:30: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 11 |     private var textColor: Color
 12 |     private var placeHolderText: String
 13 |     private var borderColor: Color
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 14 |     private var backgroundColor: Color
 15 |     private var foregroundColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:14:34: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 12 |     private var placeHolderText: String
 13 |     private var borderColor: Color
 14 |     private var backgroundColor: Color
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 15 |     private var foregroundColor: Color
 16 |     private var borderWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:15:34: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 13 |     private var borderColor: Color
 14 |     private var backgroundColor: Color
 15 |     private var foregroundColor: Color
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 16 |     private var borderWidth: CGFloat
 17 |     private var searchIcon: Image
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:17:29: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 15 |     private var foregroundColor: Color
 16 |     private var borderWidth: CGFloat
 17 |     private var searchIcon: Image
    |                             `- error: 'Image' is only available in macOS 10.15 or newer
 18 |     private var searchIconTintColor: Color
 19 |     private var cancelText: String
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:18:38: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 16 |     private var borderWidth: CGFloat
 17 |     private var searchIcon: Image
 18 |     private var searchIconTintColor: Color
    |                                      `- error: 'Color' is only available in macOS 10.15 or newer
 19 |     private var cancelText: String
 20 |     private var closeIcon: Image
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:20:28: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 18 |     private var searchIconTintColor: Color
 19 |     private var cancelText: String
 20 |     private var closeIcon: Image
    |                            `- error: 'Image' is only available in macOS 10.15 or newer
 21 |     private var filterIcon: Image
 22 |     private var filterIconTintColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:21:29: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 19 |     private var cancelText: String
 20 |     private var closeIcon: Image
 21 |     private var filterIcon: Image
    |                             `- error: 'Image' is only available in macOS 10.15 or newer
 22 |     private var filterIconTintColor: Color
 23 |     private var cornerRadius: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:22:38: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 20 |     private var closeIcon: Image
 21 |     private var filterIcon: Image
 22 |     private var filterIconTintColor: Color
    |                                      `- error: 'Color' is only available in macOS 10.15 or newer
 23 |     private var cornerRadius: CGFloat
 24 |     private var corners: UIRectCorner
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:24:26: error: cannot find type 'UIRectCorner' in scope
 22 |     private var filterIconTintColor: Color
 23 |     private var cornerRadius: CGFloat
 24 |     private var corners: UIRectCorner
    |                          `- error: cannot find type 'UIRectCorner' in scope
 25 |     private var array: [T]
 26 |     private var height: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:50:18: error: cannot find type 'UIRectCorner' in scope
 48 |         filterIconTintColor: Color = .gray,
 49 |         cornerRadius: CGFloat = 8,
 50 |         corners: UIRectCorner = .allCorners,
    |                  `- error: cannot find type 'UIRectCorner' in scope
 51 |         array: [T],
 52 |         height: CGFloat = 40,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:33:15: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
 34 |         filteredArray: Binding<[T]>,
 35 |         selectedFilters: Binding<[String]>,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:34:24: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    |                        `- error: 'Binding' is only available in macOS 10.15 or newer
 35 |         selectedFilters: Binding<[String]>,
 36 |         filterOptions: Binding<[String: [String]]>,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:35:26: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
 35 |         selectedFilters: Binding<[String]>,
    |                          `- error: 'Binding' is only available in macOS 10.15 or newer
 36 |         filterOptions: Binding<[String: [String]]>,
 37 |         placeHolderText: String = "Search ...",
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:36:24: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
 35 |         selectedFilters: Binding<[String]>,
 36 |         filterOptions: Binding<[String: [String]]>,
    |                        `- error: 'Binding' is only available in macOS 10.15 or newer
 37 |         placeHolderText: String = "Search ...",
 38 |         textColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:38:20: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 36 |         filterOptions: Binding<[String: [String]]>,
 37 |         placeHolderText: String = "Search ...",
 38 |         textColor: Color = .primary,
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:39:22: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 37 |         placeHolderText: String = "Search ...",
 38 |         textColor: Color = .primary,
 39 |         borderColor: Color = .gray,
    |                      `- error: 'Color' is only available in macOS 10.15 or newer
 40 |         backgroundColor: Color = Color(.systemGray6),
 41 |         foregroundColor: Color = .blue,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:40:26: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 38 |         textColor: Color = .primary,
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 41 |         foregroundColor: Color = .blue,
 42 |         borderWidth: CGFloat = 1,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
 41 |         foregroundColor: Color = .blue,
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:43:21: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 41 |         foregroundColor: Color = .blue,
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
    |                     `- error: 'Image' is only available in macOS 10.15 or newer
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:44:30: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
 44 |         searchIconTintColor: Color = .gray,
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:46:20: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
    |                    `- error: 'Image' is only available in macOS 10.15 or newer
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
 48 |         filterIconTintColor: Color = .gray,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:47:21: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
    |                     `- error: 'Image' is only available in macOS 10.15 or newer
 48 |         filterIconTintColor: Color = .gray,
 49 |         cornerRadius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:48:30: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
 48 |         filterIconTintColor: Color = .gray,
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 49 |         cornerRadius: CGFloat = 8,
 50 |         corners: UIRectCorner = .allCorners,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:38:29: error: 'primary' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 36 |         filterOptions: Binding<[String: [String]]>,
 37 |         placeHolderText: String = "Search ...",
 38 |         textColor: Color = .primary,
    |                             `- error: 'primary' is only available in macOS 10.15 or newer
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:39:31: error: 'gray' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 37 |         placeHolderText: String = "Search ...",
 38 |         textColor: Color = .primary,
 39 |         borderColor: Color = .gray,
    |                               `- error: 'gray' is only available in macOS 10.15 or newer
 40 |         backgroundColor: Color = Color(.systemGray6),
 41 |         foregroundColor: Color = .blue,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:40:41: error: reference to member 'systemGray6' cannot be resolved without a contextual type
 38 |         textColor: Color = .primary,
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
    |                                         `- error: reference to member 'systemGray6' cannot be resolved without a contextual type
 41 |         foregroundColor: Color = .blue,
 42 |         borderWidth: CGFloat = 1,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:41:35: error: 'blue' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
 41 |         foregroundColor: Color = .blue,
    |                                   `- error: 'blue' is only available in macOS 10.15 or newer
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:43:29: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 41 |         foregroundColor: Color = .blue,
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
    |                             `- error: 'Image' is only available in macOS 10.15 or newer
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:43:29: error: 'init(systemName:)' is only available in macOS 11.0 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 41 |         foregroundColor: Color = .blue,
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
    |                             `- error: 'init(systemName:)' is only available in macOS 11.0 or newer
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:44:39: error: 'gray' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
 44 |         searchIconTintColor: Color = .gray,
    |                                       `- error: 'gray' is only available in macOS 10.15 or newer
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:46:28: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
    |                            `- error: 'Image' is only available in macOS 10.15 or newer
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
 48 |         filterIconTintColor: Color = .gray,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:46:28: error: 'init(systemName:)' is only available in macOS 11.0 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
    |                            `- error: 'init(systemName:)' is only available in macOS 11.0 or newer
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
 48 |         filterIconTintColor: Color = .gray,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:47:29: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
    |                             `- error: 'Image' is only available in macOS 10.15 or newer
 48 |         filterIconTintColor: Color = .gray,
 49 |         cornerRadius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:47:29: error: 'init(systemName:)' is only available in macOS 11.0 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
    |                             `- error: 'init(systemName:)' is only available in macOS 11.0 or newer
 48 |         filterIconTintColor: Color = .gray,
 49 |         cornerRadius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:48:39: error: 'gray' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
 48 |         filterIconTintColor: Color = .gray,
    |                                       `- error: 'gray' is only available in macOS 10.15 or newer
 49 |         cornerRadius: CGFloat = 8,
 50 |         corners: UIRectCorner = .allCorners,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:84:27: error: 'View' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 82 |     }
 83 |
 84 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 85 |         VStack {
 86 |             HStack {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Models/RoundedCorner.swift:12:51: error: cannot find type 'UIRectCorner' in scope
10 | @available(iOS 13.0, *)
11 | extension View {
12 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
   |                                                   `- error: cannot find type 'UIRectCorner' in scope
13 |         clipShape(RoundedCorner(radius: radius, corners: corners))
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:145:25: error: cannot find 'UIApplication' in scope
143 |                         selectedFilters = []
144 |                         filteredArray = array
145 |                         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
    |                         `- error: cannot find 'UIApplication' in scope
146 |                     }) {
147 |                         Text(cancelText)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:145:67: error: cannot find 'UIResponder' in scope
143 |                         selectedFilters = []
144 |                         filteredArray = array
145 |                         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
    |                                                                   `- error: cannot find 'UIResponder' in scope
146 |                     }) {
147 |                         Text(cancelText)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:93:58: error: extra argument 'corners' in call
 91 |                     .background(backgroundColor)
 92 |                     .foregroundColor(textColor)
 93 |                     .cornerRadius(cornerRadius, corners: corners)
    |                                                          `- error: extra argument 'corners' in call
 94 |                     .overlay(
 95 |                         HStack {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:177:9: error: setter for 'filteredArray' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
174 |     }
175 |
176 |     private func applyFilters() {
    |                  `- note: add '@available' attribute to enclosing instance method
177 |         filteredArray = array.filter { item in
    |         |- error: setter for 'filteredArray' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
178 |             let matchesText = text.isEmpty || "\(item)".localizedCaseInsensitiveContains(text)
179 |             let matchesFilters = selectedFilters.isEmpty || selectedFilters.allSatisfy { filter in
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module custom_filter_and_search_bar
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Extensions/View+CornerRadius.swift:13:18: error: cannot find type 'UIRectCorner' in scope
11 | struct RoundedCorner: Shape {
12 |     var radius: CGFloat = .infinity
13 |     var corners: UIRectCorner = .allCorners
   |                  `- error: cannot find type 'UIRectCorner' in scope
14 |
15 |     func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Extensions/View+CornerRadius.swift:15:35: error: 'Path' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 13.0, *)
11 | struct RoundedCorner: Shape {
   |        `- note: add '@available' attribute to enclosing struct
12 |     var radius: CGFloat = .infinity
13 |     var corners: UIRectCorner = .allCorners
14 |
15 |     func path(in rect: CGRect) -> Path {
   |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
16 |         let path = UIBezierPath(
17 |             roundedRect: rect,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Models/RoundedCorner.swift:12:51: error: cannot find type 'UIRectCorner' in scope
10 | @available(iOS 13.0, *)
11 | extension View {
12 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
   |                                                   `- error: cannot find type 'UIRectCorner' in scope
13 |         clipShape(RoundedCorner(radius: radius, corners: corners))
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Models/RoundedCorner.swift:12:73: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 13.0, *)
11 | extension View {
   | `- note: add '@available' attribute to enclosing extension
12 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
   |          |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |         clipShape(RoundedCorner(radius: radius, corners: corners))
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Models/RoundedCorner.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 13.0, *)
11 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
12 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
13 |         clipShape(RoundedCorner(radius: radius, corners: corners))
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |     var onRemove: (String) -> Void
15 |     var chipHeight: CGFloat = 30
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:19:30: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
17 |     var chipHorizontalSpacing: CGFloat = 8
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
   |                              `- error: 'Color' is only available in macOS 10.15 or newer
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:19:38: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
17 |     var chipHorizontalSpacing: CGFloat = 8
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
   |                                      `- error: 'Color' is only available in macOS 10.15 or newer
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:19:44: error: 'blue' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
17 |     var chipHorizontalSpacing: CGFloat = 8
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
   |                                            `- error: 'blue' is only available in macOS 10.15 or newer
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:19:49: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
17 |     var chipHorizontalSpacing: CGFloat = 8
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
   |                                                 `- error: 'opacity' is only available in macOS 10.15 or newer
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:20:24: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
20 |     var chipTextColor: Color = .primary
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
22 |     var closeIconTintColor: Color = .red
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:20:33: error: 'primary' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
20 |     var chipTextColor: Color = .primary
   |                                 `- error: 'primary' is only available in macOS 10.15 or newer
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
22 |     var closeIconTintColor: Color = .red
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:21:20: error: 'Image' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
   |                    `- error: 'Image' is only available in macOS 10.15 or newer
22 |     var closeIconTintColor: Color = .red
23 |
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:21:28: error: 'Image' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
   |                            `- error: 'Image' is only available in macOS 10.15 or newer
22 |     var closeIconTintColor: Color = .red
23 |
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:21:28: error: 'init(systemName:)' is only available in macOS 11.0 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
   |                            `- error: 'init(systemName:)' is only available in macOS 11.0 or newer
22 |     var closeIconTintColor: Color = .red
23 |
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:22:29: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
22 |     var closeIconTintColor: Color = .red
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
23 |
24 |     @State private var totalHeight = CGFloat.zero
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:22:38: error: 'red' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
22 |     var closeIconTintColor: Color = .red
   |                                      `- error: 'red' is only available in macOS 10.15 or newer
23 |
24 |     @State private var totalHeight = CGFloat.zero
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
22 |     var closeIconTintColor: Color = .red
23 |
24 |     @State private var totalHeight = CGFloat.zero
   |      `- error: 'State' is only available in macOS 10.15 or newer
25 |
26 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
24 |     @State private var totalHeight = CGFloat.zero
25 |
26 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
27 |         VStack {
28 |             GeometryReader { geometry in
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:35:47: error: 'GeometryProxy' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  |                            `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:35:70: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  |                                                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:70:49: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:90:46: error: 'Binding' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
88 |     }
89 |
90 |     private func viewHeightReader(_ binding: Binding<CGFloat>) -> some View {
   |                  |                           `- error: 'Binding' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
91 |         return GeometryReader { geo -> Color in
92 |             DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:90:72: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
88 |     }
89 |
90 |     private func viewHeightReader(_ binding: Binding<CGFloat>) -> some View {
   |                  |                                                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
91 |         return GeometryReader { geo -> Color in
92 |             DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct FilterPopupView: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @Binding var filterOptions: [String: [String]]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
13 |     @Binding var selectedFilters: [String]
14 |     @Binding var presented: Bool
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct FilterPopupView: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @Binding var filterOptions: [String: [String]]
13 |     @Binding var selectedFilters: [String]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |     @Binding var presented: Bool
15 |     @State var filterHeaderText: String = "Filter Options"
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct FilterPopupView: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @Binding var filterOptions: [String: [String]]
13 |     @Binding var selectedFilters: [String]
14 |     @Binding var presented: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
15 |     @State var filterHeaderText: String = "Filter Options"
16 |
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct FilterPopupView: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @Binding var filterOptions: [String: [String]]
13 |     @Binding var selectedFilters: [String]
14 |     @Binding var presented: Bool
15 |     @State var filterHeaderText: String = "Filter Options"
   |      `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:17:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct FilterPopupView: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @Binding var filterOptions: [String: [String]]
13 |     @Binding var selectedFilters: [String]
   :
15 |     @State var filterHeaderText: String = "Filter Options"
16 |
17 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
18 |         NavigationView {
19 |             List {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:48:20: error: 'View' is only available in macOS 10.15 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:5:6: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  6 |     @Binding var filteredArray: [T]
  7 |     @Binding var selectedFilters: [String]
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:6:6: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  7 |     @Binding var selectedFilters: [String]
  8 |     @Binding var filterOptions: [String: [String]]
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:7:6: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
  7 |     @Binding var selectedFilters: [String]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  8 |     @Binding var filterOptions: [String: [String]]
  9 |     @State private var showFilterPopup = false
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
  7 |     @Binding var selectedFilters: [String]
  8 |     @Binding var filterOptions: [String: [String]]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  9 |     @State private var showFilterPopup = false
 10 |     @State private var isEditing: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
  7 |     @Binding var selectedFilters: [String]
  8 |     @Binding var filterOptions: [String: [String]]
  9 |     @State private var showFilterPopup = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 10 |     @State private var isEditing: Bool = false
 11 |     private var textColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
  8 |     @Binding var filterOptions: [String: [String]]
  9 |     @State private var showFilterPopup = false
 10 |     @State private var isEditing: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 11 |     private var textColor: Color
 12 |     private var placeHolderText: String
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:11:28: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
  9 |     @State private var showFilterPopup = false
 10 |     @State private var isEditing: Bool = false
 11 |     private var textColor: Color
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 12 |     private var placeHolderText: String
 13 |     private var borderColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:13:30: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 11 |     private var textColor: Color
 12 |     private var placeHolderText: String
 13 |     private var borderColor: Color
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 14 |     private var backgroundColor: Color
 15 |     private var foregroundColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:14:34: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 12 |     private var placeHolderText: String
 13 |     private var borderColor: Color
 14 |     private var backgroundColor: Color
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 15 |     private var foregroundColor: Color
 16 |     private var borderWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:15:34: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 13 |     private var borderColor: Color
 14 |     private var backgroundColor: Color
 15 |     private var foregroundColor: Color
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 16 |     private var borderWidth: CGFloat
 17 |     private var searchIcon: Image
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:17:29: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 15 |     private var foregroundColor: Color
 16 |     private var borderWidth: CGFloat
 17 |     private var searchIcon: Image
    |                             `- error: 'Image' is only available in macOS 10.15 or newer
 18 |     private var searchIconTintColor: Color
 19 |     private var cancelText: String
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:18:38: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 16 |     private var borderWidth: CGFloat
 17 |     private var searchIcon: Image
 18 |     private var searchIconTintColor: Color
    |                                      `- error: 'Color' is only available in macOS 10.15 or newer
 19 |     private var cancelText: String
 20 |     private var closeIcon: Image
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:20:28: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 18 |     private var searchIconTintColor: Color
 19 |     private var cancelText: String
 20 |     private var closeIcon: Image
    |                            `- error: 'Image' is only available in macOS 10.15 or newer
 21 |     private var filterIcon: Image
 22 |     private var filterIconTintColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:21:29: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 19 |     private var cancelText: String
 20 |     private var closeIcon: Image
 21 |     private var filterIcon: Image
    |                             `- error: 'Image' is only available in macOS 10.15 or newer
 22 |     private var filterIconTintColor: Color
 23 |     private var cornerRadius: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:22:38: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 20 |     private var closeIcon: Image
 21 |     private var filterIcon: Image
 22 |     private var filterIconTintColor: Color
    |                                      `- error: 'Color' is only available in macOS 10.15 or newer
 23 |     private var cornerRadius: CGFloat
 24 |     private var corners: UIRectCorner
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:24:26: error: cannot find type 'UIRectCorner' in scope
 22 |     private var filterIconTintColor: Color
 23 |     private var cornerRadius: CGFloat
 24 |     private var corners: UIRectCorner
    |                          `- error: cannot find type 'UIRectCorner' in scope
 25 |     private var array: [T]
 26 |     private var height: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:50:18: error: cannot find type 'UIRectCorner' in scope
 48 |         filterIconTintColor: Color = .gray,
 49 |         cornerRadius: CGFloat = 8,
 50 |         corners: UIRectCorner = .allCorners,
    |                  `- error: cannot find type 'UIRectCorner' in scope
 51 |         array: [T],
 52 |         height: CGFloat = 40,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:33:15: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
 34 |         filteredArray: Binding<[T]>,
 35 |         selectedFilters: Binding<[String]>,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:34:24: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    |                        `- error: 'Binding' is only available in macOS 10.15 or newer
 35 |         selectedFilters: Binding<[String]>,
 36 |         filterOptions: Binding<[String: [String]]>,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:35:26: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
 35 |         selectedFilters: Binding<[String]>,
    |                          `- error: 'Binding' is only available in macOS 10.15 or newer
 36 |         filterOptions: Binding<[String: [String]]>,
 37 |         placeHolderText: String = "Search ...",
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:36:24: error: 'Binding' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
 35 |         selectedFilters: Binding<[String]>,
 36 |         filterOptions: Binding<[String: [String]]>,
    |                        `- error: 'Binding' is only available in macOS 10.15 or newer
 37 |         placeHolderText: String = "Search ...",
 38 |         textColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:38:20: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 36 |         filterOptions: Binding<[String: [String]]>,
 37 |         placeHolderText: String = "Search ...",
 38 |         textColor: Color = .primary,
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:39:22: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 37 |         placeHolderText: String = "Search ...",
 38 |         textColor: Color = .primary,
 39 |         borderColor: Color = .gray,
    |                      `- error: 'Color' is only available in macOS 10.15 or newer
 40 |         backgroundColor: Color = Color(.systemGray6),
 41 |         foregroundColor: Color = .blue,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:40:26: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 38 |         textColor: Color = .primary,
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 41 |         foregroundColor: Color = .blue,
 42 |         borderWidth: CGFloat = 1,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
 41 |         foregroundColor: Color = .blue,
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:43:21: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 41 |         foregroundColor: Color = .blue,
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
    |                     `- error: 'Image' is only available in macOS 10.15 or newer
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:44:30: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
 44 |         searchIconTintColor: Color = .gray,
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:46:20: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
    |                    `- error: 'Image' is only available in macOS 10.15 or newer
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
 48 |         filterIconTintColor: Color = .gray,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:47:21: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
    |                     `- error: 'Image' is only available in macOS 10.15 or newer
 48 |         filterIconTintColor: Color = .gray,
 49 |         cornerRadius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:48:30: error: 'Color' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
 48 |         filterIconTintColor: Color = .gray,
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 49 |         cornerRadius: CGFloat = 8,
 50 |         corners: UIRectCorner = .allCorners,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:38:29: error: 'primary' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 36 |         filterOptions: Binding<[String: [String]]>,
 37 |         placeHolderText: String = "Search ...",
 38 |         textColor: Color = .primary,
    |                             `- error: 'primary' is only available in macOS 10.15 or newer
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:39:31: error: 'gray' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 37 |         placeHolderText: String = "Search ...",
 38 |         textColor: Color = .primary,
 39 |         borderColor: Color = .gray,
    |                               `- error: 'gray' is only available in macOS 10.15 or newer
 40 |         backgroundColor: Color = Color(.systemGray6),
 41 |         foregroundColor: Color = .blue,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:40:41: error: reference to member 'systemGray6' cannot be resolved without a contextual type
 38 |         textColor: Color = .primary,
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
    |                                         `- error: reference to member 'systemGray6' cannot be resolved without a contextual type
 41 |         foregroundColor: Color = .blue,
 42 |         borderWidth: CGFloat = 1,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:41:35: error: 'blue' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 39 |         borderColor: Color = .gray,
 40 |         backgroundColor: Color = Color(.systemGray6),
 41 |         foregroundColor: Color = .blue,
    |                                   `- error: 'blue' is only available in macOS 10.15 or newer
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:43:29: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 41 |         foregroundColor: Color = .blue,
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
    |                             `- error: 'Image' is only available in macOS 10.15 or newer
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:43:29: error: 'init(systemName:)' is only available in macOS 11.0 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 41 |         foregroundColor: Color = .blue,
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
    |                             `- error: 'init(systemName:)' is only available in macOS 11.0 or newer
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:44:39: error: 'gray' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 42 |         borderWidth: CGFloat = 1,
 43 |         searchIcon: Image = Image(systemName: "magnifyingglass"),
 44 |         searchIconTintColor: Color = .gray,
    |                                       `- error: 'gray' is only available in macOS 10.15 or newer
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:46:28: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
    |                            `- error: 'Image' is only available in macOS 10.15 or newer
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
 48 |         filterIconTintColor: Color = .gray,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:46:28: error: 'init(systemName:)' is only available in macOS 11.0 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 44 |         searchIconTintColor: Color = .gray,
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
    |                            `- error: 'init(systemName:)' is only available in macOS 11.0 or newer
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
 48 |         filterIconTintColor: Color = .gray,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:47:29: error: 'Image' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
    |                             `- error: 'Image' is only available in macOS 10.15 or newer
 48 |         filterIconTintColor: Color = .gray,
 49 |         cornerRadius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:47:29: error: 'init(systemName:)' is only available in macOS 11.0 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 45 |         cancelText: String = "Cancel",
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
    |                             `- error: 'init(systemName:)' is only available in macOS 11.0 or newer
 48 |         filterIconTintColor: Color = .gray,
 49 |         cornerRadius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:48:39: error: 'gray' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 30 |     private var filterHeaderText: String
 31 |
 32 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 33 |         text: Binding<String>,
 34 |         filteredArray: Binding<[T]>,
    :
 46 |         closeIcon: Image = Image(systemName: "multiply.circle.fill"),
 47 |         filterIcon: Image = Image(systemName: "line.horizontal.3.decrease.circle"),
 48 |         filterIconTintColor: Color = .gray,
    |                                       `- error: 'gray' is only available in macOS 10.15 or newer
 49 |         cornerRadius: CGFloat = 8,
 50 |         corners: UIRectCorner = .allCorners,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/SearchBarView.swift:84:27: error: 'View' is only available in macOS 10.15 or newer
  2 |
  3 | @available(iOS 14.0, *)
  4 | public struct SearchBar<T: Equatable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
  5 |     @Binding var text: String
  6 |     @Binding var filteredArray: [T]
    :
 82 |     }
 83 |
 84 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 85 |         VStack {
 86 |             HStack {
[6/9] Compiling custom_filter_and_search_bar ChipsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |     var onRemove: (String) -> Void
15 |     var chipHeight: CGFloat = 30
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:19:30: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
17 |     var chipHorizontalSpacing: CGFloat = 8
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
   |                              `- error: 'Color' is only available in macOS 10.15 or newer
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:19:38: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
17 |     var chipHorizontalSpacing: CGFloat = 8
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
   |                                      `- error: 'Color' is only available in macOS 10.15 or newer
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:19:44: error: 'blue' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
17 |     var chipHorizontalSpacing: CGFloat = 8
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
   |                                            `- error: 'blue' is only available in macOS 10.15 or newer
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:19:49: error: 'opacity' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
17 |     var chipHorizontalSpacing: CGFloat = 8
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
   |                                                 `- error: 'opacity' is only available in macOS 10.15 or newer
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:20:24: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
20 |     var chipTextColor: Color = .primary
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
22 |     var closeIconTintColor: Color = .red
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:20:33: error: 'primary' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
18 |     var chipVerticalSpacing: CGFloat = 8
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
20 |     var chipTextColor: Color = .primary
   |                                 `- error: 'primary' is only available in macOS 10.15 or newer
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
22 |     var closeIconTintColor: Color = .red
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:21:20: error: 'Image' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
   |                    `- error: 'Image' is only available in macOS 10.15 or newer
22 |     var closeIconTintColor: Color = .red
23 |
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:21:28: error: 'Image' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
   |                            `- error: 'Image' is only available in macOS 10.15 or newer
22 |     var closeIconTintColor: Color = .red
23 |
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:21:28: error: 'init(systemName:)' is only available in macOS 11.0 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
19 |     var chipBackgroundColor: Color = Color.blue.opacity(0.2)
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
   |                            `- error: 'init(systemName:)' is only available in macOS 11.0 or newer
22 |     var closeIconTintColor: Color = .red
23 |
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:22:29: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
22 |     var closeIconTintColor: Color = .red
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
23 |
24 |     @State private var totalHeight = CGFloat.zero
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:22:38: error: 'red' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
20 |     var chipTextColor: Color = .primary
21 |     var closeIcon: Image = Image(systemName: "xmark.circle")
22 |     var closeIconTintColor: Color = .red
   |                                      `- error: 'red' is only available in macOS 10.15 or newer
23 |
24 |     @State private var totalHeight = CGFloat.zero
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
22 |     var closeIconTintColor: Color = .red
23 |
24 |     @State private var totalHeight = CGFloat.zero
   |      `- error: 'State' is only available in macOS 10.15 or newer
25 |
26 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
24 |     @State private var totalHeight = CGFloat.zero
25 |
26 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
27 |         VStack {
28 |             GeometryReader { geometry in
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:35:47: error: 'GeometryProxy' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  |                            `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:35:70: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  |                                                   `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:70:49: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:90:46: error: 'Binding' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
88 |     }
89 |
90 |     private func viewHeightReader(_ binding: Binding<CGFloat>) -> some View {
   |                  |                           `- error: 'Binding' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
91 |         return GeometryReader { geo -> Color in
92 |             DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:90:72: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
88 |     }
89 |
90 |     private func viewHeightReader(_ binding: Binding<CGFloat>) -> some View {
   |                  |                                                     `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add '@available' attribute to enclosing instance method
91 |         return GeometryReader { geo -> Color in
92 |             DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:27:9: error: 'VStack' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
24 |     @State private var totalHeight = CGFloat.zero
25 |
26 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
27 |         VStack {
   |         |- error: 'VStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
28 |             GeometryReader { geometry in
29 |                 self.generateContent(in: geometry)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:28:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
24 |     @State private var totalHeight = CGFloat.zero
25 |
26 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
27 |         VStack {
28 |             GeometryReader { geometry in
   |             |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
29 |                 self.generateContent(in: geometry)
30 |             }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:32:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
24 |     @State private var totalHeight = CGFloat.zero
25 |
26 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
27 |         VStack {
28 |             GeometryReader { geometry in
   :
30 |             }
31 |         }
32 |         .frame(height: totalHeight)
   |          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
33 |     }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:39:16: error: 'ZStack' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
38 |
39 |         return ZStack(alignment: .topLeading) {
   |                |- error: 'ZStack' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
40 |             ForEach(options, id: \.self) { option in
41 |                 self.item(for: option)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:39:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
38 |
39 |         return ZStack(alignment: .topLeading) {
   |                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                `- note: add 'if #available' version check
40 |             ForEach(options, id: \.self) { option in
41 |                 self.item(for: option)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:39:35: error: 'topLeading' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
38 |
39 |         return ZStack(alignment: .topLeading) {
   |                                   |- error: 'topLeading' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
40 |             ForEach(options, id: \.self) { option in
41 |                 self.item(for: option)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:40:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
38 |
39 |         return ZStack(alignment: .topLeading) {
40 |             ForEach(options, id: \.self) { option in
   |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
41 |                 self.item(for: option)
42 |                     .padding([.horizontal], chipHorizontalSpacing / 2)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:40:13: error: 'ForEach' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
38 |
39 |         return ZStack(alignment: .topLeading) {
40 |             ForEach(options, id: \.self) { option in
   |             |- error: 'ForEach' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
41 |                 self.item(for: option)
42 |                     .padding([.horizontal], chipHorizontalSpacing / 2)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:40:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
38 |
39 |         return ZStack(alignment: .topLeading) {
40 |             ForEach(options, id: \.self) { option in
   |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
41 |                 self.item(for: option)
42 |                     .padding([.horizontal], chipHorizontalSpacing / 2)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:42:22: error: 'padding' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
   :
40 |             ForEach(options, id: \.self) { option in
41 |                 self.item(for: option)
42 |                     .padding([.horizontal], chipHorizontalSpacing / 2)
   |                      |- error: 'padding' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
43 |                     .padding([.vertical], chipVerticalSpacing / 2)
44 |                     .alignmentGuide(.leading, computeValue: { d in
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:43:22: error: 'padding' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
   :
41 |                 self.item(for: option)
42 |                     .padding([.horizontal], chipHorizontalSpacing / 2)
43 |                     .padding([.vertical], chipVerticalSpacing / 2)
   |                      |- error: 'padding' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
44 |                     .alignmentGuide(.leading, computeValue: { d in
45 |                         if (abs(width - d.width) > geometry.size.width) {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:44:22: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
   :
42 |                     .padding([.horizontal], chipHorizontalSpacing / 2)
43 |                     .padding([.vertical], chipVerticalSpacing / 2)
44 |                     .alignmentGuide(.leading, computeValue: { d in
   |                      |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
45 |                         if (abs(width - d.width) > geometry.size.width) {
46 |                             width = 0
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:44:38: error: 'leading' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
   :
42 |                     .padding([.horizontal], chipHorizontalSpacing / 2)
43 |                     .padding([.vertical], chipVerticalSpacing / 2)
44 |                     .alignmentGuide(.leading, computeValue: { d in
   |                                      |- error: 'leading' is only available in macOS 10.15 or newer
   |                                      `- note: add 'if #available' version check
45 |                         if (abs(width - d.width) > geometry.size.width) {
46 |                             width = 0
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:58:22: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
   :
56 |                         return result
57 |                     })
58 |                     .alignmentGuide(.top, computeValue: { _ in
   |                      |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
59 |                         let result = height
60 |                         if option == self.options.last! {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:58:38: error: 'top' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
   :
56 |                         return result
57 |                     })
58 |                     .alignmentGuide(.top, computeValue: { _ in
   |                                      |- error: 'top' is only available in macOS 10.15 or newer
   |                                      `- note: add 'if #available' version check
59 |                         let result = height
60 |                         if option == self.options.last! {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:39:47: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
38 |
39 |         return ZStack(alignment: .topLeading) {
   |                                               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                               `- note: add 'if #available' version check
40 |             ForEach(options, id: \.self) { option in
41 |                 self.item(for: option)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:67:10: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
33 |     }
34 |
35 |     private func generateContent(in geometry: GeometryProxy) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
36 |         var width = CGFloat.zero
37 |         var height = CGFloat.zero
   :
65 |             }
66 |         }
67 |         .background(viewHeightReader($totalHeight))
   |          |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
68 |     }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Models/RoundedCorner.swift:12:51: error: cannot find type 'UIRectCorner' in scope
10 | @available(iOS 13.0, *)
11 | extension View {
12 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
   |                                                   `- error: cannot find type 'UIRectCorner' in scope
13 |         clipShape(RoundedCorner(radius: radius, corners: corners))
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:71:9: error: 'HStack' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
   |         |- error: 'HStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
72 |             Text(text)
73 |                 .foregroundColor(chipTextColor)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:72: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
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(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
73 |                 .foregroundColor(chipTextColor)
74 |             Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:72:13: error: 'Text' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
   |             |- error: 'Text' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
73 |                 .foregroundColor(chipTextColor)
74 |             Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:73:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
73 |                 .foregroundColor(chipTextColor)
   |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
74 |             Button(action: {
75 |                 onRemove(text)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:74:13: error: 'Button' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
73 |                 .foregroundColor(chipTextColor)
74 |             Button(action: {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
75 |                 onRemove(text)
76 |             }) {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:78:22: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
   :
76 |             }) {
77 |                 closeIcon
78 |                     .resizable()
   |                      |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
79 |                     .aspectRatio(contentMode: .fit)
80 |                     .frame(width: chipHeight / 2, height: chipHeight / 2)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:79:22: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
   :
77 |                 closeIcon
78 |                     .resizable()
79 |                     .aspectRatio(contentMode: .fit)
   |                      |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
80 |                     .frame(width: chipHeight / 2, height: chipHeight / 2)
81 |                     .foregroundColor(closeIconTintColor)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:80:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
   :
78 |                     .resizable()
79 |                     .aspectRatio(contentMode: .fit)
80 |                     .frame(width: chipHeight / 2, height: chipHeight / 2)
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
81 |                     .foregroundColor(closeIconTintColor)
82 |             }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:81:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
   :
79 |                     .aspectRatio(contentMode: .fit)
80 |                     .frame(width: chipHeight / 2, height: chipHeight / 2)
81 |                     .foregroundColor(closeIconTintColor)
   |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
82 |             }
83 |         }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:71: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
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         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
72 |             Text(text)
73 |                 .foregroundColor(chipTextColor)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:84:10: error: 'padding' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
   :
82 |             }
83 |         }
84 |         .padding(.all, chipPadding)
   |          |- error: 'padding' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
85 |         .frame(height: chipHeight)
86 |         .background(chipBackgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:85:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
   :
83 |         }
84 |         .padding(.all, chipPadding)
85 |         .frame(height: chipHeight)
   |          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
86 |         .background(chipBackgroundColor)
87 |         .cornerRadius(chipHeight / 2)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:86:10: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
   :
84 |         .padding(.all, chipPadding)
85 |         .frame(height: chipHeight)
86 |         .background(chipBackgroundColor)
   |          |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |          `- note: add 'if #available' version check
87 |         .cornerRadius(chipHeight / 2)
88 |     }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:87:10: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct ChipsView: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |     @Binding var options: [String]
14 |     var onRemove: (String) -> Void
   :
68 |     }
69 |
70 |     private func item(for text: String) -> some View {
   |                  `- note: add '@available' attribute to enclosing instance method
71 |         HStack {
72 |             Text(text)
   :
85 |         .frame(height: chipHeight)
86 |         .background(chipBackgroundColor)
87 |         .cornerRadius(chipHeight / 2)
   |          |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
88 |     }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/ChipsView.swift:95:13: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
93 |                 binding.wrappedValue = geo.frame(in: .local).size.height
94 |             }
95 |             return Color.clear
   |             |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
   |             `- note: remove 'return' statements to apply the result builder
96 |         }
97 |     }
[7/9] Compiling custom_filter_and_search_bar FilterPopupView.swift
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct FilterPopupView: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @Binding var filterOptions: [String: [String]]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
13 |     @Binding var selectedFilters: [String]
14 |     @Binding var presented: Bool
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct FilterPopupView: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @Binding var filterOptions: [String: [String]]
13 |     @Binding var selectedFilters: [String]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |     @Binding var presented: Bool
15 |     @State var filterHeaderText: String = "Filter Options"
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct FilterPopupView: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @Binding var filterOptions: [String: [String]]
13 |     @Binding var selectedFilters: [String]
14 |     @Binding var presented: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
15 |     @State var filterHeaderText: String = "Filter Options"
16 |
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct FilterPopupView: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @Binding var filterOptions: [String: [String]]
13 |     @Binding var selectedFilters: [String]
14 |     @Binding var presented: Bool
15 |     @State var filterHeaderText: String = "Filter Options"
   |      `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:17:20: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 14.0, *)
11 | struct FilterPopupView: View {
   |        `- note: add '@available' attribute to enclosing struct
12 |     @Binding var filterOptions: [String: [String]]
13 |     @Binding var selectedFilters: [String]
   :
15 |     @State var filterHeaderText: String = "Filter Options"
16 |
17 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
18 |         NavigationView {
19 |             List {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:48:20: error: 'View' is only available in macOS 10.15 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:25:37: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
23 |                             MultipleSelectionRow(option: option, isSelected: selectedFilters.contains(option)) {
24 |                                 if selectedFilters.contains(option) {
25 |                                     selectedFilters.removeAll { $0 == option }
   |                                     `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
26 |                                 } else {
27 |                                     selectedFilters.append(option)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:49:9: error: 'Button' is only available in macOS 10.15 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
   |         |- error: 'Button' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
50 |             self.action()
51 |         }) {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:52:13: error: 'HStack' is only available in macOS 10.15 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
51 |         }) {
52 |             HStack {
   |             |- error: 'HStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
53 |                 Text(option)
54 |                 if isSelected {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:53:17: 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
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
51 |         }) {
52 |             HStack {
53 |                 Text(option)
   |                 |- 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
54 |                 if isSelected {
55 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:53:17: error: 'Text' is only available in macOS 10.15 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
51 |         }) {
52 |             HStack {
53 |                 Text(option)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
54 |                 if isSelected {
55 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:55:21: 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
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
   :
53 |                 Text(option)
54 |                 if isSelected {
55 |                     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
56 |                     Image(systemName: "checkmark")
57 |                         .foregroundColor(.blue)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:55:21: error: 'Spacer' is only available in macOS 10.15 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
   :
53 |                 Text(option)
54 |                 if isSelected {
55 |                     Spacer()
   |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
56 |                     Image(systemName: "checkmark")
57 |                         .foregroundColor(.blue)
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:56:21: error: 'Image' is only available in macOS 10.15 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
   :
54 |                 if isSelected {
55 |                     Spacer()
56 |                     Image(systemName: "checkmark")
   |                     |- error: 'Image' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
57 |                         .foregroundColor(.blue)
58 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:56:21: error: 'init(systemName:)' is only available in macOS 11.0 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
   :
54 |                 if isSelected {
55 |                     Spacer()
56 |                     Image(systemName: "checkmark")
   |                     |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                     `- note: add 'if #available' version check
57 |                         .foregroundColor(.blue)
58 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:57:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
   :
55 |                     Spacer()
56 |                     Image(systemName: "checkmark")
57 |                         .foregroundColor(.blue)
   |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
58 |                 }
59 |             }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:57:43: error: 'blue' is only available in macOS 10.15 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
   :
55 |                     Spacer()
56 |                     Image(systemName: "checkmark")
57 |                         .foregroundColor(.blue)
   |                                           |- error: 'blue' is only available in macOS 10.15 or newer
   |                                           `- note: add 'if #available' version check
58 |                 }
59 |             }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:54:31: 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
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
   :
52 |             HStack {
53 |                 Text(option)
54 |                 if isSelected {
   |                               |- 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
55 |                     Spacer()
56 |                     Image(systemName: "checkmark")
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:54:31: error: 'buildIf' is only available in macOS 10.15 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
   :
52 |             HStack {
53 |                 Text(option)
54 |                 if isSelected {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
55 |                     Spacer()
56 |                     Image(systemName: "checkmark")
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:58:17: error: 'buildIf' is only available in macOS 10.15 or newer
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
   :
56 |                     Image(systemName: "checkmark")
57 |                         .foregroundColor(.blue)
58 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
59 |             }
60 |         }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:52:20: 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
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
51 |         }) {
52 |             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
53 |                 Text(option)
54 |                 if isSelected {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Veiws/FilterPopupView.swift:52:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
41 |
42 | @available(iOS 13.0.0, *)
43 | struct MultipleSelectionRow: View {
   |        `- note: add '@available' attribute to enclosing struct
44 |     var option: String
45 |     var isSelected: Bool
46 |     var action: () -> Void
47 |
48 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
49 |         Button(action: {
50 |             self.action()
51 |         }) {
52 |             HStack {
   |                    |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
53 |                 Text(option)
54 |                 if isSelected {
[8/9] Compiling custom_filter_and_search_bar View+CornerRadius.swift
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Extensions/View+CornerRadius.swift:13:18: error: cannot find type 'UIRectCorner' in scope
11 | struct RoundedCorner: Shape {
12 |     var radius: CGFloat = .infinity
13 |     var corners: UIRectCorner = .allCorners
   |                  `- error: cannot find type 'UIRectCorner' in scope
14 |
15 |     func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Extensions/View+CornerRadius.swift:15:35: error: 'Path' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 13.0, *)
11 | struct RoundedCorner: Shape {
   |        `- note: add '@available' attribute to enclosing struct
12 |     var radius: CGFloat = .infinity
13 |     var corners: UIRectCorner = .allCorners
14 |
15 |     func path(in rect: CGRect) -> Path {
   |          |                        `- error: 'Path' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
16 |         let path = UIBezierPath(
17 |             roundedRect: rect,
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Extensions/View+CornerRadius.swift:16:20: error: cannot find 'UIBezierPath' in scope
14 |
15 |     func path(in rect: CGRect) -> Path {
16 |         let path = UIBezierPath(
   |                    `- error: cannot find 'UIBezierPath' in scope
17 |             roundedRect: rect,
18 |             byRoundingCorners: corners,
[9/9] Compiling custom_filter_and_search_bar RoundedCorner.swift
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Models/RoundedCorner.swift:12:51: error: cannot find type 'UIRectCorner' in scope
10 | @available(iOS 13.0, *)
11 | extension View {
12 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
   |                                                   `- error: cannot find type 'UIRectCorner' in scope
13 |         clipShape(RoundedCorner(radius: radius, corners: corners))
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Models/RoundedCorner.swift:12:73: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 13.0, *)
11 | extension View {
   | `- note: add '@available' attribute to enclosing extension
12 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
   |          |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |         clipShape(RoundedCorner(radius: radius, corners: corners))
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Models/RoundedCorner.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS 13.0, *)
11 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
12 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
13 |         clipShape(RoundedCorner(radius: radius, corners: corners))
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Extensions/View+CornerRadius.swift:13:18: error: cannot find type 'UIRectCorner' in scope
11 | struct RoundedCorner: Shape {
12 |     var radius: CGFloat = .infinity
13 |     var corners: UIRectCorner = .allCorners
   |                  `- error: cannot find type 'UIRectCorner' in scope
14 |
15 |     func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/custom_filter_and_search_bar/Models/RoundedCorner.swift:13:32: error: argument passed to call that takes no arguments
11 | extension View {
12 |     func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View {
13 |         clipShape(RoundedCorner(radius: radius, corners: corners))
   |                                `- error: argument passed to call that takes no arguments
14 |     }
15 | }
BUILD FAILURE 6.3 macosSpm