The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CountryPicker, reference master (425f88), with Swift 6.1 for macOS (SPM) on 3 Oct 2025 17:03:23 UTC.

Build Command

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

Build Log

28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:21: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:21: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                     `- error: 'Font' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:22: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                      `- error: 'Color' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:26:28: error: 'title2' is only available in macOS 11.0 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
   |                            `- error: 'title2' is only available in macOS 11.0 or newer
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:30: error: 'primary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:29: error: 'footnote' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                             `- error: 'footnote' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:31: error: 'secondary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                               `- error: 'secondary' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
[11/16] Compiling CountryPicker CountryPickerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:21:20: error: 'presentationMode' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    |                    `- error: 'presentationMode' is only available in macOS 10.15 or newer
 22 |
 23 |     @State private var filterCountries = [Country]()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:21:6: error: 'Environment' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 22 |
 23 |     @State private var filterCountries = [Country]()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
 22 |
 23 |     @State private var filterCountries = [Country]()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 24 |     @State private var applySearch = false
 25 |     @State private var searchText = ""
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
 22 |
 23 |     @State private var filterCountries = [Country]()
 24 |     @State private var applySearch = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 25 |     @State private var searchText = ""
 26 |     @Binding private var selectedCountry: Country?
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 23 |     @State private var filterCountries = [Country]()
 24 |     @State private var applySearch = false
 25 |     @State private var searchText = ""
    |      `- error: 'State' is only available in macOS 10.15 or newer
 26 |     @Binding private var selectedCountry: Country?
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:26:6: error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 24 |     @State private var applySearch = false
 25 |     @State private var searchText = ""
 26 |     @Binding private var selectedCountry: Country?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 27 |
 28 |     let configuration: Configuration
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:38:27: error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 34 |
 35 |     public
 36 |     init(manager: any CountryListDataSource = CountryManager.shared,
    |     `- note: add @available attribute to enclosing initializer
 37 |          configuration: Configuration = Configuration(),
 38 |          selectedCountry: Binding<Country?>) {
    |                           `- error: 'Binding' is only available in macOS 10.15 or newer
 39 |         self.manager = manager
 40 |         self.configuration = configuration
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:26:28: error: 'title2' is only available in macOS 11.0 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
   |                            `- error: 'title2' is only available in macOS 11.0 or newer
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:30: error: 'primary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:29: error: 'footnote' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                             `- error: 'footnote' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:31: error: 'secondary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                               `- error: 'secondary' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:44:27: error: 'View' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 42 |     }
 43 |
 44 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 45 |         NavigationView {
 46 |             List(searchResults) { country in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:99:6: error: 'Binding' is only available in macOS 10.15 or newer
 91 | }
 92 |
 93 | struct CountryCell: View {
    |        `- note: add @available attribute to enclosing struct
 94 |
 95 |     let country: Country
    :
 97 |     let configuration: Configuration
 98 |
 99 |     @Binding var selectedCountry: Country?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
100 |
101 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:101:20: error: 'View' is only available in macOS 10.15 or newer
 91 | }
 92 |
 93 | struct CountryCell: View {
    |        `- note: add @available attribute to enclosing struct
 94 |
 95 |     let country: Country
    :
 99 |     @Binding var selectedCountry: Country?
100 |
101 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
102 |         Button {
103 |             selectedCountry = country
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:154:31: error: 'View' is only available in macOS 10.15 or newer
151 | }
152 |
153 | struct CountryPickerView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
154 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
155 |         CountryPickerView(
156 |             configuration: Configuration(),
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:75:21: error: cannot find 'UIAccessibility' in scope
 73 |                         "Showing all countries" :
 74 |                         "Found \(filterCountries.count) countries matching '\(searchText)'"
 75 |                     UIAccessibility.post(notification: .announcement, argument: announcement)
    |                     `- error: cannot find 'UIAccessibility' in scope
 76 |                 }
 77 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:86:17: error: cannot find 'UIAccessibility' in scope
 84 |             if configuration.accessibilityConfiguration?.enableVoiceOverAnnouncements == true {
 85 |                 let announcement = "Selected \(country.countryName)"
 86 |                 UIAccessibility.post(notification: .announcement, argument: announcement)
    |                 `- error: cannot find 'UIAccessibility' in scope
 87 |             }
 88 |             presentationMode.wrappedValue.dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:44:32: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 42 |     }
 43 |
 44 |     public var body: some View {
    |                                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 45 |         NavigationView {
 46 |             List(searchResults) { country in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:38:20: error: cannot find type 'UIImage' in scope
 36 |
 37 |     /// Image (Flag) of country
 38 |     open var flag: UIImage? {
    |                    `- error: cannot find type 'UIImage' in scope
 39 |         if image != nil {
 40 |             return image
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:106:34: error: extraneous argument label 'uiImage:' in call
104 |         } label: {
105 |             HStack {
106 |                 let image = Image(uiImage: country.flag ?? .init())
    |                                  `- error: extraneous argument label 'uiImage:' in call
107 |                     .resizable()
108 |
[12/16] Compiling CountryPicker CountryPickerWithSections.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:12:20: error: 'presentationMode' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    |                    `- error: 'presentationMode' is only available in macOS 10.15 or newer
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:14:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 15 |     @State var searchText: String
 16 |     @Binding private var selectedCountry: Country?
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
 15 |     @State var searchText: String
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |     @Binding private var selectedCountry: Country?
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
 15 |     @State var searchText: String
 16 |     @Binding private var selectedCountry: Country?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 |     let configuration: Configuration
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:23:27: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 18 |     let configuration: Configuration
 19 |
 20 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 21 |          configuration: Configuration = Configuration(),
 22 |          searchText: String = "",
 23 |          selectedCountry: Binding<Country?>) {
    |                           `- error: 'Binding' is only available in macOS 10.15 or newer
 24 |          self.configuration = configuration
 25 |          _searchText = State(initialValue: searchText)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:26:28: error: 'title2' is only available in macOS 11.0 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
   |                            `- error: 'title2' is only available in macOS 11.0 or newer
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:30: error: 'primary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:29: error: 'footnote' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                             `- error: 'footnote' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:31: error: 'secondary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                               `- error: 'secondary' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:30:27: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 28 |     }
 29 |
 30 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 31 |         NavigationView {
 32 |             ScrollViewReader { scrollView in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:97:31: error: 'View' is only available in macOS 10.15 or newer
 94 |
 95 |
 96 | struct CountryPickerWithSections_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
 97 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 98 |         CountryPickerWithSections(
 99 |             configuration: Configuration(),
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:110:20: error: 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:25:24: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 18 |     let configuration: Configuration
 19 |
 20 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 21 |          configuration: Configuration = Configuration(),
 22 |          searchText: String = "",
 23 |          selectedCountry: Binding<Country?>) {
 24 |          self.configuration = configuration
 25 |          _searchText = State(initialValue: searchText)
    |                        |- error: 'State' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 26 |         _selectedCountry = selectedCountry
 27 |         viewModel = .init(selectedCountry: selectedCountry.wrappedValue)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:27:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 18 |     let configuration: Configuration
 19 |
 20 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 21 |          configuration: Configuration = Configuration(),
 22 |          searchText: String = "",
    :
 25 |          _searchText = State(initialValue: searchText)
 26 |         _selectedCountry = selectedCountry
 27 |         viewModel = .init(selectedCountry: selectedCountry.wrappedValue)
    |         |- error: setter for 'viewModel' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 28 |     }
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:30:32: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 28 |     }
 29 |
 30 |     public var body: some View {
    |                                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 31 |         NavigationView {
 32 |             ScrollViewReader { scrollView in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:111:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
    |         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:111:9: error: 'VStack' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
    |         |- error: 'VStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:111:9: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
    |         |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:111:16: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
    |                |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:112:13: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    |             |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
113 |                 HStack {
114 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:112:13: error: 'ForEach' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    |             |- error: 'ForEach' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
113 |                 HStack {
114 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:112:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
113 |                 HStack {
114 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:112:41: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    |                                         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                                         `- note: add 'if #available' version check
113 |                 HStack {
114 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:113:17: error: 'HStack' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
    |                 |- error: 'HStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
114 |                     Spacer()
115 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:113:24: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
    |                        |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
114 |                     Spacer()
115 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:114:21: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
114 |                     Spacer()
    |                     |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
115 |                     Button(action: {
116 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:114:21: error: 'Spacer' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
114 |                     Spacer()
    |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
115 |                     Button(action: {
116 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:115:21: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
114 |                     Spacer()
115 |                     Button(action: {
    |                     |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
116 |                         withAnimation {
117 |                             onClick(title)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:115:21: error: 'Button' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
114 |                     Spacer()
115 |                     Button(action: {
    |                     |- error: 'Button' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
116 |                         withAnimation {
117 |                             onClick(title)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:115:21: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
114 |                     Spacer()
115 |                     Button(action: {
    |                     |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
116 |                         withAnimation {
117 |                             onClick(title)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:116:25: error: 'withAnimation' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
114 |                     Spacer()
115 |                     Button(action: {
116 |                         withAnimation {
    |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
117 |                             onClick(title)
118 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:120:25: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
118 |                         }
119 |                     }, label: {
120 |                         Text(title)
    |                         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
121 |                             .font(.system(size: 12))
122 |                             .padding(.trailing, 7)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:120:25: error: 'Text' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
118 |                         }
119 |                     }, label: {
120 |                         Text(title)
    |                         |- error: 'Text' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
121 |                             .font(.system(size: 12))
122 |                             .padding(.trailing, 7)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:121:30: error: 'font' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
119 |                     }, label: {
120 |                         Text(title)
121 |                             .font(.system(size: 12))
    |                              |- error: 'font' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:121:36: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
119 |                     }, label: {
120 |                         Text(title)
121 |                             .font(.system(size: 12))
    |                                    |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
    |                                    `- note: add 'if #available' version check
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:122:30: error: 'padding' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
120 |                         Text(title)
121 |                             .font(.system(size: 12))
122 |                             .padding(.trailing, 7)
    |                              |- error: 'padding' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
123 |                             .accessibilityLabel("Jump to section \(title)")
124 |                             .accessibilityHint("Double tap to jump to section \(title)")
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:123:30: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
121 |                             .font(.system(size: 12))
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
    |                              |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
    |                              `- note: add 'if #available' version check
124 |                             .accessibilityHint("Double tap to jump to section \(title)")
125 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:123:49: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
121 |                             .font(.system(size: 12))
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
    |                                                 |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
124 |                             .accessibilityHint("Double tap to jump to section \(title)")
125 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:124:30: error: 'accessibilityHint' is only available in macOS 11.0 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
124 |                             .accessibilityHint("Double tap to jump to section \(title)")
    |                              |- error: 'accessibilityHint' is only available in macOS 11.0 or newer
    |                              `- note: add 'if #available' version check
125 |                     })
126 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:124:48: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
124 |                             .accessibilityHint("Double tap to jump to section \(title)")
    |                                                |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                                                `- note: add 'if #available' version check
125 |                     })
126 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:119:31: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
117 |                             onClick(title)
118 |                         }
119 |                     }, label: {
    |                               |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
120 |                         Text(title)
121 |                             .font(.system(size: 12))
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:113:24: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
    |                        |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
114 |                     Spacer()
115 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:113:24: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
    |                        |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
114 |                     Spacer()
115 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:111:16: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
    |                |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:129:10: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
127 |             }
128 |         }
129 |         .accessibilityLabel("Section Index")
    |          |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
130 |         .accessibilityHint("Quick navigation to country sections")
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:129:29: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
127 |             }
128 |         }
129 |         .accessibilityLabel("Section Index")
    |                             |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
130 |         .accessibilityHint("Quick navigation to country sections")
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:130:10: error: 'accessibilityHint' is only available in macOS 11.0 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
128 |         }
129 |         .accessibilityLabel("Section Index")
130 |         .accessibilityHint("Quick navigation to country sections")
    |          |- error: 'accessibilityHint' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
131 |     }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:130:28: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
128 |         }
129 |         .accessibilityLabel("Section Index")
130 |         .accessibilityHint("Quick navigation to country sections")
    |                            |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
131 |     }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:110:25: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         |               |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |         |               `- note: add 'if #available' version check
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
[13/16] Compiling CountryPicker CountryPickerWithSectionViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
14 |     @Published var selectedCountry: Country?
15 |
<unknown>:0: error: cannot convert value of type 'KeyPath<CountryPickerWithSectionViewModel, [Section]>' to expected argument type 'ReferenceWritableKeyPath<CountryPickerWithSectionViewModel, [Section]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CountryPickerWithSectionViewModel, Country?>' to expected argument type 'ReferenceWritableKeyPath<CountryPickerWithSectionViewModel, Country?>'
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
14 |     @Published var selectedCountry: Country?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |
16 |     private let dataService: any CountryListDataSource
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:25:9: error: setter for 'selectedCountry' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
   :
17 |     private let mapper: SectionMapper
18 |
19 |     internal init(dataService: any CountryListDataSource = CountryManager.shared,
   |              `- note: add @available attribute to enclosing initializer
20 |                   mapper: SectionMapper = SectionMapper(favoriteCountriesLocaleIdentifiers: []),
21 |                   selectedCountry: Country?
   :
23 |         self.dataService = dataService
24 |         self.mapper = mapper
25 |         self.selectedCountry = selectedCountry
   |         |- error: setter for 'selectedCountry' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |         sections = mapper.mapIntoSection(countries: dataService.allCountries(mapper.favoriteCountriesLocaleIdentifiers))
27 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:26:9: error: setter for 'sections' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
   :
17 |     private let mapper: SectionMapper
18 |
19 |     internal init(dataService: any CountryListDataSource = CountryManager.shared,
   |              `- note: add @available attribute to enclosing initializer
20 |                   mapper: SectionMapper = SectionMapper(favoriteCountriesLocaleIdentifiers: []),
21 |                   selectedCountry: Country?
   :
24 |         self.mapper = mapper
25 |         self.selectedCountry = selectedCountry
26 |         sections = mapper.mapIntoSection(countries: dataService.allCountries(mapper.favoriteCountriesLocaleIdentifiers))
   |         |- error: setter for 'sections' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
27 |     }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:31:9: error: setter for 'sections' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
   :
27 |     }
28 |
29 |     func filterWithText(_ text: String) {
   |          `- note: add @available attribute to enclosing instance method
30 |         let filteredCountries = text.isEmpty ? dataService.allCountries(mapper.favoriteCountriesLocaleIdentifiers) :  dataService.filterCountries(searchText: text)
31 |         sections = mapper.mapIntoSection(countries: filteredCountries)
   |         |- error: setter for 'sections' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |     }
33 |
[14/16] Compiling CountryPicker SectionMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:55:24: error: cannot find type 'UIImage' in scope
 53 |
 54 |     var imagePath: String
 55 |     private var image: UIImage?
    |                        `- error: cannot find type 'UIImage' in scope
 56 |
 57 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:38:20: error: cannot find type 'UIImage' in scope
 36 |
 37 |     /// Image (Flag) of country
 38 |     open var flag: UIImage? {
    |                    `- error: cannot find type 'UIImage' in scope
 39 |         if image != nil {
 40 |             return image
[15/16] Compiling CountryPicker CountryPickerWheelViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelViewModel.swift:12:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 |
11 | @MainActor final
12 | public class CountryPickerWheelViewModel: ObservableObject {
   |              |                            `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing class
13 |
14 |     internal let countries: [Country]
[16/16] Compiling CountryPicker CountryPickerWheelView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:12:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
13 |     @Binding public var selectedCountry: Country
14 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
13 |     @Binding public var selectedCountry: Country
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |
15 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
13 |     @Binding public var selectedCountry: Country
14 |
15 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
16 |         VStack {
17 |             Picker("Select Country", selection: $selectedCountry) {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:35:34: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
   :
33 |
34 |     @MainActor
35 |     public init(selectedCountry: Binding<Country>, viewModel: CountryPickerWheelViewModel? = nil) {
   |            |                     `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
36 |         self._selectedCountry = selectedCountry
37 |         self.viewModel = viewModel ?? CountryPickerWheelViewModel()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:46:20: error: 'View' is only available in macOS 10.15 or newer
40 | }
41 |
42 | struct CountryPickerWheelItem: View {
   |        `- note: add @available attribute to enclosing struct
43 |
44 |     let country: Country
45 |
46 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
47 |         HStack {
48 |             Image(uiImage: country.flag ?? UIImage())
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:61:31: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | struct CountryPickerWheelView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
61 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
62 |         return CountryPickerWheelView(selectedCountry: .constant(.init(countryCode: "IN")))
63 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:29:13: error: cannot find 'UIAccessibility' in scope
27 |             viewModel.dataSource.lastCountrySelected = newCountry
28 |             // Announce the selection for VoiceOver users
29 |             UIAccessibility.post(notification: .announcement, argument: "Selected \(newCountry.countryName)")
   |             `- error: cannot find 'UIAccessibility' in scope
30 |         }
31 |         .padding()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:29:49: error: cannot infer contextual base in reference to member 'announcement'
27 |             viewModel.dataSource.lastCountrySelected = newCountry
28 |             // Announce the selection for VoiceOver users
29 |             UIAccessibility.post(notification: .announcement, argument: "Selected \(newCountry.countryName)")
   |                                                 `- error: cannot infer contextual base in reference to member 'announcement'
30 |         }
31 |         .padding()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:37:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
   :
33 |
34 |     @MainActor
35 |     public init(selectedCountry: Binding<Country>, viewModel: CountryPickerWheelViewModel? = nil) {
   |            `- note: add @available attribute to enclosing initializer
36 |         self._selectedCountry = selectedCountry
37 |         self.viewModel = viewModel ?? CountryPickerWheelViewModel()
   |         |- error: setter for 'viewModel' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
38 |     }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:48:44: error: cannot find 'UIImage' in scope
46 |     var body: some View {
47 |         HStack {
48 |             Image(uiImage: country.flag ?? UIImage())
   |                                            `- error: cannot find 'UIImage' in scope
49 |                 .resizable()
50 |                 .scaledToFit()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:38:20: error: cannot find type 'UIImage' in scope
 36 |
 37 |     /// Image (Flag) of country
 38 |     open var flag: UIImage? {
    |                    `- error: cannot find type 'UIImage' in scope
 39 |         if image != nil {
 40 |             return image
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:48:18: error: extraneous argument label 'uiImage:' in call
46 |     var body: some View {
47 |         HStack {
48 |             Image(uiImage: country.flag ?? UIImage())
   |                  `- error: extraneous argument label 'uiImage:' in call
49 |                 .resizable()
50 |                 .scaledToFit()
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/13] Compiling CountryPicker SectionMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:55:24: error: cannot find type 'UIImage' in scope
 53 |
 54 |     var imagePath: String
 55 |     private var image: UIImage?
    |                        `- error: cannot find type 'UIImage' in scope
 56 |
 57 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:38:20: error: cannot find type 'UIImage' in scope
 36 |
 37 |     /// Image (Flag) of country
 38 |     open var flag: UIImage? {
    |                    `- error: cannot find type 'UIImage' in scope
 39 |         if image != nil {
 40 |             return image
[3/13] Compiling CountryPicker CountryManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryManager.swift:17:40: error: 'ObservableObject' is only available in macOS 10.15 or newer
 15 | // MARK: - CountryManagerInterface
 16 | @MainActor
 17 | public protocol CountryListDataSource: ObservableObject {
    |                 |                      `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing protocol
 18 |     func country(withCode code: String) -> Country?
 19 |     func allCountries(_ favoriteCountriesLocaleIdentifiers: [String]) -> [Country]
<unknown>:0: error: cannot convert value of type 'KeyPath<CountryManager, [Country]>' to expected argument type 'ReferenceWritableKeyPath<CountryManager, [Country]>'
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryManager.swift:56:6: error: 'Published' is only available in macOS 10.15 or newer
 51 | // MARK: - CountryManager
 52 | @MainActor
 53 | public class CountryManager: CountryListDataSource {
    |              `- note: add @available attribute to enclosing class
 54 |
 55 |     // MARK: - Variables
 56 |     @Published public var countries = [Country]()
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 57 |
 58 |     private var countriesFilePath: String? {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryManager.swift:68:52: error: 'language' is only available in macOS 13 or newer
 51 | // MARK: - CountryManager
 52 | @MainActor
 53 | public class CountryManager: CountryListDataSource {
    |              `- note: add @available attribute to enclosing class
 54 |
 55 |     // MARK: - Variables
    :
 64 |
 65 |     /// Current country returns the country object from Phone/Simulator locale
 66 |     open var currentCountry: Country? {
    |              `- note: add @available attribute to enclosing property
 67 |         if #available(iOS 16, *) {
 68 |             guard let countryCode = Locale.current.language.region?.identifier else {
    |                                                    |- error: 'language' is only available in macOS 13 or newer
    |                                                    `- note: add 'if #available' version check
 69 |                 return nil
 70 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryManager.swift:68:61: error: 'region' is only available in macOS 13 or newer
 51 | // MARK: - CountryManager
 52 | @MainActor
 53 | public class CountryManager: CountryListDataSource {
    |              `- note: add @available attribute to enclosing class
 54 |
 55 |     // MARK: - Variables
    :
 64 |
 65 |     /// Current country returns the country object from Phone/Simulator locale
 66 |     open var currentCountry: Country? {
    |              `- note: add @available attribute to enclosing property
 67 |         if #available(iOS 16, *) {
 68 |             guard let countryCode = Locale.current.language.region?.identifier else {
    |                                                             |- error: 'region' is only available in macOS 13 or newer
    |                                                             `- note: add 'if #available' version check
 69 |                 return nil
 70 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryManager.swift:135:9: error: cannot pass as inout because setter for 'countries' is only available in macOS 10.15 or newer
104 | }
105 |
106 | public extension CountryManager {
    |        `- note: add @available attribute to enclosing extension
107 |
108 |     /// Fetch country list from a given property list file path
    :
130 |     ///
131 |     /// - Throws: Incase country list preperation fails to determine or convert data from a given URL file path.
132 |     func loadCountries() throws {
    |          `- note: add @available attribute to enclosing instance method
133 |         let url = URL(fileURLWithPath: countriesFilePath ?? "")
134 |         let fetchedCountries = try fetchCountries(fromURLPath: url)
135 |         countries.removeAll()
    |         |- error: cannot pass as inout because setter for 'countries' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
136 |         countries.append(contentsOf: fetchedCountries)
137 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryManager.swift:136:9: error: cannot pass as inout because setter for 'countries' is only available in macOS 10.15 or newer
104 | }
105 |
106 | public extension CountryManager {
    |        `- note: add @available attribute to enclosing extension
107 |
108 |     /// Fetch country list from a given property list file path
    :
130 |     ///
131 |     /// - Throws: Incase country list preperation fails to determine or convert data from a given URL file path.
132 |     func loadCountries() throws {
    |          `- note: add @available attribute to enclosing instance method
133 |         let url = URL(fileURLWithPath: countriesFilePath ?? "")
134 |         let fetchedCountries = try fetchCountries(fromURLPath: url)
135 |         countries.removeAll()
136 |         countries.append(contentsOf: fetchedCountries)
    |         |- error: cannot pass as inout because setter for 'countries' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
137 |     }
138 |
[4/13] Compiling CountryPicker AccessibilityModifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:15:27: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
15 |     public let labelFont: Font
   |                           `- error: 'Font' is only available in macOS 10.15 or newer
16 |     public let labelColor: Color
17 |     public let detailFont: Font
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:16:28: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
15 |     public let labelFont: Font
16 |     public let labelColor: Color
   |                            `- error: 'Color' is only available in macOS 10.15 or newer
17 |     public let detailFont: Font
18 |     public let detailColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:17:28: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
15 |     public let labelFont: Font
16 |     public let labelColor: Color
17 |     public let detailFont: Font
   |                            `- error: 'Font' is only available in macOS 10.15 or newer
18 |     public let detailColor: Color
19 |     public let isCountryFlagHidden: Bool
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:18:29: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
16 |     public let labelColor: Color
17 |     public let detailFont: Font
18 |     public let detailColor: Color
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
19 |     public let isCountryFlagHidden: Bool
20 |     public let isCountryDialHidden: Bool
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:26:20: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
   |                    `- error: 'Font' is only available in macOS 10.15 or newer
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:21: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:21: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                     `- error: 'Font' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:22: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                      `- error: 'Color' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:26:28: error: 'title2' is only available in macOS 11.0 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
   |                            `- error: 'title2' is only available in macOS 11.0 or newer
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:30: error: 'primary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:29: error: 'footnote' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                             `- error: 'footnote' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:31: error: 'secondary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                               `- error: 'secondary' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
[5/13] Compiling CountryPicker Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:15:27: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
15 |     public let labelFont: Font
   |                           `- error: 'Font' is only available in macOS 10.15 or newer
16 |     public let labelColor: Color
17 |     public let detailFont: Font
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:16:28: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
15 |     public let labelFont: Font
16 |     public let labelColor: Color
   |                            `- error: 'Color' is only available in macOS 10.15 or newer
17 |     public let detailFont: Font
18 |     public let detailColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:17:28: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
15 |     public let labelFont: Font
16 |     public let labelColor: Color
17 |     public let detailFont: Font
   |                            `- error: 'Font' is only available in macOS 10.15 or newer
18 |     public let detailColor: Color
19 |     public let isCountryFlagHidden: Bool
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:18:29: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
16 |     public let labelColor: Color
17 |     public let detailFont: Font
18 |     public let detailColor: Color
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
19 |     public let isCountryFlagHidden: Bool
20 |     public let isCountryDialHidden: Bool
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:26:20: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
   |                    `- error: 'Font' is only available in macOS 10.15 or newer
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:21: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:21: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                     `- error: 'Font' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:22: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                      `- error: 'Color' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:26:28: error: 'title2' is only available in macOS 11.0 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
   |                            `- error: 'title2' is only available in macOS 11.0 or newer
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:30: error: 'primary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:29: error: 'footnote' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                             `- error: 'footnote' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:31: error: 'secondary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                               `- error: 'secondary' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Emitting module CountryPicker
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:15:27: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
15 |     public let labelFont: Font
   |                           `- error: 'Font' is only available in macOS 10.15 or newer
16 |     public let labelColor: Color
17 |     public let detailFont: Font
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:16:28: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
15 |     public let labelFont: Font
16 |     public let labelColor: Color
   |                            `- error: 'Color' is only available in macOS 10.15 or newer
17 |     public let detailFont: Font
18 |     public let detailColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:17:28: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
15 |     public let labelFont: Font
16 |     public let labelColor: Color
17 |     public let detailFont: Font
   |                            `- error: 'Font' is only available in macOS 10.15 or newer
18 |     public let detailColor: Color
19 |     public let isCountryFlagHidden: Bool
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:18:29: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
16 |     public let labelColor: Color
17 |     public let detailFont: Font
18 |     public let detailColor: Color
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
19 |     public let isCountryFlagHidden: Bool
20 |     public let isCountryDialHidden: Bool
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:26:20: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
   |                    `- error: 'Font' is only available in macOS 10.15 or newer
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:21: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:21: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                     `- error: 'Font' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:22: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                      `- error: 'Color' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:26:28: error: 'title2' is only available in macOS 11.0 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
   |                            `- error: 'title2' is only available in macOS 11.0 or newer
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:30: error: 'primary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:29: error: 'footnote' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                             `- error: 'footnote' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:31: error: 'secondary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                               `- error: 'secondary' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:38:20: error: cannot find type 'UIImage' in scope
 36 |
 37 |     /// Image (Flag) of country
 38 |     open var flag: UIImage? {
    |                    `- error: cannot find type 'UIImage' in scope
 39 |         if image != nil {
 40 |             return image
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:55:24: error: cannot find type 'UIImage' in scope
 53 |
 54 |     var imagePath: String
 55 |     private var image: UIImage?
    |                        `- error: cannot find type 'UIImage' in scope
 56 |
 57 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryManager.swift:17:40: error: 'ObservableObject' is only available in macOS 10.15 or newer
 15 | // MARK: - CountryManagerInterface
 16 | @MainActor
 17 | public protocol CountryListDataSource: ObservableObject {
    |                 |                      `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing protocol
 18 |     func country(withCode code: String) -> Country?
 19 |     func allCountries(_ favoriteCountriesLocaleIdentifiers: [String]) -> [Country]
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryManager.swift:56:6: error: 'Published' is only available in macOS 10.15 or newer
 51 | // MARK: - CountryManager
 52 | @MainActor
 53 | public class CountryManager: CountryListDataSource {
    |              `- note: add @available attribute to enclosing class
 54 |
 55 |     // MARK: - Variables
 56 |     @Published public var countries = [Country]()
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 57 |
 58 |     private var countriesFilePath: String? {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:21:20: error: 'presentationMode' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    |                    `- error: 'presentationMode' is only available in macOS 10.15 or newer
 22 |
 23 |     @State private var filterCountries = [Country]()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:21:6: error: 'Environment' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 22 |
 23 |     @State private var filterCountries = [Country]()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
 22 |
 23 |     @State private var filterCountries = [Country]()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 24 |     @State private var applySearch = false
 25 |     @State private var searchText = ""
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
 22 |
 23 |     @State private var filterCountries = [Country]()
 24 |     @State private var applySearch = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 25 |     @State private var searchText = ""
 26 |     @Binding private var selectedCountry: Country?
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 23 |     @State private var filterCountries = [Country]()
 24 |     @State private var applySearch = false
 25 |     @State private var searchText = ""
    |      `- error: 'State' is only available in macOS 10.15 or newer
 26 |     @Binding private var selectedCountry: Country?
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:26:6: error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 24 |     @State private var applySearch = false
 25 |     @State private var searchText = ""
 26 |     @Binding private var selectedCountry: Country?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 27 |
 28 |     let configuration: Configuration
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:38:27: error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 34 |
 35 |     public
 36 |     init(manager: any CountryListDataSource = CountryManager.shared,
    |     `- note: add @available attribute to enclosing initializer
 37 |          configuration: Configuration = Configuration(),
 38 |          selectedCountry: Binding<Country?>) {
    |                           `- error: 'Binding' is only available in macOS 10.15 or newer
 39 |         self.manager = manager
 40 |         self.configuration = configuration
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:44:27: error: 'View' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 42 |     }
 43 |
 44 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 45 |         NavigationView {
 46 |             List(searchResults) { country in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:99:6: error: 'Binding' is only available in macOS 10.15 or newer
 91 | }
 92 |
 93 | struct CountryCell: View {
    |        `- note: add @available attribute to enclosing struct
 94 |
 95 |     let country: Country
    :
 97 |     let configuration: Configuration
 98 |
 99 |     @Binding var selectedCountry: Country?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
100 |
101 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:101:20: error: 'View' is only available in macOS 10.15 or newer
 91 | }
 92 |
 93 | struct CountryCell: View {
    |        `- note: add @available attribute to enclosing struct
 94 |
 95 |     let country: Country
    :
 99 |     @Binding var selectedCountry: Country?
100 |
101 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
102 |         Button {
103 |             selectedCountry = country
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:154:31: error: 'View' is only available in macOS 10.15 or newer
151 | }
152 |
153 | struct CountryPickerView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
154 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
155 |         CountryPickerView(
156 |             configuration: Configuration(),
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:12:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
13 |     @Binding public var selectedCountry: Country
14 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
13 |     @Binding public var selectedCountry: Country
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |
15 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
13 |     @Binding public var selectedCountry: Country
14 |
15 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
16 |         VStack {
17 |             Picker("Select Country", selection: $selectedCountry) {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:35:34: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
   :
33 |
34 |     @MainActor
35 |     public init(selectedCountry: Binding<Country>, viewModel: CountryPickerWheelViewModel? = nil) {
   |            |                     `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
36 |         self._selectedCountry = selectedCountry
37 |         self.viewModel = viewModel ?? CountryPickerWheelViewModel()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:46:20: error: 'View' is only available in macOS 10.15 or newer
40 | }
41 |
42 | struct CountryPickerWheelItem: View {
   |        `- note: add @available attribute to enclosing struct
43 |
44 |     let country: Country
45 |
46 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
47 |         HStack {
48 |             Image(uiImage: country.flag ?? UIImage())
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:61:31: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | struct CountryPickerWheelView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
61 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
62 |         return CountryPickerWheelView(selectedCountry: .constant(.init(countryCode: "IN")))
63 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelViewModel.swift:12:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 |
11 | @MainActor final
12 | public class CountryPickerWheelViewModel: ObservableObject {
   |              |                            `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing class
13 |
14 |     internal let countries: [Country]
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
14 |     @Published var selectedCountry: Country?
15 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
14 |     @Published var selectedCountry: Country?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |
16 |     private let dataService: any CountryListDataSource
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:12:20: error: 'presentationMode' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    |                    `- error: 'presentationMode' is only available in macOS 10.15 or newer
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:14:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 15 |     @State var searchText: String
 16 |     @Binding private var selectedCountry: Country?
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
 15 |     @State var searchText: String
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |     @Binding private var selectedCountry: Country?
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
 15 |     @State var searchText: String
 16 |     @Binding private var selectedCountry: Country?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 |     let configuration: Configuration
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:23:27: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 18 |     let configuration: Configuration
 19 |
 20 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 21 |          configuration: Configuration = Configuration(),
 22 |          searchText: String = "",
 23 |          selectedCountry: Binding<Country?>) {
    |                           `- error: 'Binding' is only available in macOS 10.15 or newer
 24 |          self.configuration = configuration
 25 |          _searchText = State(initialValue: searchText)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:30:27: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 28 |     }
 29 |
 30 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 31 |         NavigationView {
 32 |             ScrollViewReader { scrollView in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:97:31: error: 'View' is only available in macOS 10.15 or newer
 94 |
 95 |
 96 | struct CountryPickerWithSections_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
 97 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 98 |         CountryPickerWithSections(
 99 |             configuration: Configuration(),
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:110:20: error: 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
[7/13] Compiling CountryPicker Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:38:20: error: cannot find type 'UIImage' in scope
 36 |
 37 |     /// Image (Flag) of country
 38 |     open var flag: UIImage? {
    |                    `- error: cannot find type 'UIImage' in scope
 39 |         if image != nil {
 40 |             return image
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:55:24: error: cannot find type 'UIImage' in scope
 53 |
 54 |     var imagePath: String
 55 |     private var image: UIImage?
    |                        `- error: cannot find type 'UIImage' in scope
 56 |
 57 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:49:23: error: cannot find 'UIImage' in scope
 47 |         #endif
 48 |
 49 |         let flagImg = UIImage(named: imagePath, in: bundle, compatibleWith: nil)
    |                       `- error: cannot find 'UIImage' in scope
 50 |         image = flagImg
 51 |         return image
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:49:77: error: 'nil' requires a contextual type
 47 |         #endif
 48 |
 49 |         let flagImg = UIImage(named: imagePath, in: bundle, compatibleWith: nil)
    |                                                                             `- error: 'nil' requires a contextual type
 50 |         image = flagImg
 51 |         return image
[8/13] Compiling CountryPicker Country.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:38:20: error: cannot find type 'UIImage' in scope
 36 |
 37 |     /// Image (Flag) of country
 38 |     open var flag: UIImage? {
    |                    `- error: cannot find type 'UIImage' in scope
 39 |         if image != nil {
 40 |             return image
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:55:24: error: cannot find type 'UIImage' in scope
 53 |
 54 |     var imagePath: String
 55 |     private var image: UIImage?
    |                        `- error: cannot find type 'UIImage' in scope
 56 |
 57 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:49:23: error: cannot find 'UIImage' in scope
 47 |         #endif
 48 |
 49 |         let flagImg = UIImage(named: imagePath, in: bundle, compatibleWith: nil)
    |                       `- error: cannot find 'UIImage' in scope
 50 |         image = flagImg
 51 |         return image
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:49:77: error: 'nil' requires a contextual type
 47 |         #endif
 48 |
 49 |         let flagImg = UIImage(named: imagePath, in: bundle, compatibleWith: nil)
    |                                                                             `- error: 'nil' requires a contextual type
 50 |         image = flagImg
 51 |         return image
[9/13] Compiling CountryPicker CountryPickerWheelView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:12:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
13 |     @Binding public var selectedCountry: Country
14 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
13 |     @Binding public var selectedCountry: Country
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |
15 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
13 |     @Binding public var selectedCountry: Country
14 |
15 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
16 |         VStack {
17 |             Picker("Select Country", selection: $selectedCountry) {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:35:34: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
   :
33 |
34 |     @MainActor
35 |     public init(selectedCountry: Binding<Country>, viewModel: CountryPickerWheelViewModel? = nil) {
   |            |                     `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
36 |         self._selectedCountry = selectedCountry
37 |         self.viewModel = viewModel ?? CountryPickerWheelViewModel()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:46:20: error: 'View' is only available in macOS 10.15 or newer
40 | }
41 |
42 | struct CountryPickerWheelItem: View {
   |        `- note: add @available attribute to enclosing struct
43 |
44 |     let country: Country
45 |
46 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
47 |         HStack {
48 |             Image(uiImage: country.flag ?? UIImage())
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:61:31: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | struct CountryPickerWheelView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
61 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
62 |         return CountryPickerWheelView(selectedCountry: .constant(.init(countryCode: "IN")))
63 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:29:13: error: cannot find 'UIAccessibility' in scope
27 |             viewModel.dataSource.lastCountrySelected = newCountry
28 |             // Announce the selection for VoiceOver users
29 |             UIAccessibility.post(notification: .announcement, argument: "Selected \(newCountry.countryName)")
   |             `- error: cannot find 'UIAccessibility' in scope
30 |         }
31 |         .padding()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:29:49: error: cannot infer contextual base in reference to member 'announcement'
27 |             viewModel.dataSource.lastCountrySelected = newCountry
28 |             // Announce the selection for VoiceOver users
29 |             UIAccessibility.post(notification: .announcement, argument: "Selected \(newCountry.countryName)")
   |                                                 `- error: cannot infer contextual base in reference to member 'announcement'
30 |         }
31 |         .padding()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:37:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 | public
10 | struct CountryPickerWheelView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @ObservedObject public var viewModel: CountryPickerWheelViewModel
   :
33 |
34 |     @MainActor
35 |     public init(selectedCountry: Binding<Country>, viewModel: CountryPickerWheelViewModel? = nil) {
   |            `- note: add @available attribute to enclosing initializer
36 |         self._selectedCountry = selectedCountry
37 |         self.viewModel = viewModel ?? CountryPickerWheelViewModel()
   |         |- error: setter for 'viewModel' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
38 |     }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:48:44: error: cannot find 'UIImage' in scope
46 |     var body: some View {
47 |         HStack {
48 |             Image(uiImage: country.flag ?? UIImage())
   |                                            `- error: cannot find 'UIImage' in scope
49 |                 .resizable()
50 |                 .scaledToFit()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:38:20: error: cannot find type 'UIImage' in scope
 36 |
 37 |     /// Image (Flag) of country
 38 |     open var flag: UIImage? {
    |                    `- error: cannot find type 'UIImage' in scope
 39 |         if image != nil {
 40 |             return image
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelView.swift:48:18: error: extraneous argument label 'uiImage:' in call
46 |     var body: some View {
47 |         HStack {
48 |             Image(uiImage: country.flag ?? UIImage())
   |                  `- error: extraneous argument label 'uiImage:' in call
49 |                 .resizable()
50 |                 .scaledToFit()
[10/13] Compiling CountryPicker CountryPickerWithSectionViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:13:6: error: 'Published' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
14 |     @Published var selectedCountry: Country?
15 |
<unknown>:0: error: cannot convert value of type 'KeyPath<CountryPickerWithSectionViewModel, [Section]>' to expected argument type 'ReferenceWritableKeyPath<CountryPickerWithSectionViewModel, [Section]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CountryPickerWithSectionViewModel, Country?>' to expected argument type 'ReferenceWritableKeyPath<CountryPickerWithSectionViewModel, Country?>'
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
14 |     @Published var selectedCountry: Country?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |
16 |     private let dataService: any CountryListDataSource
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:25:9: error: setter for 'selectedCountry' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
   :
17 |     private let mapper: SectionMapper
18 |
19 |     internal init(dataService: any CountryListDataSource = CountryManager.shared,
   |              `- note: add @available attribute to enclosing initializer
20 |                   mapper: SectionMapper = SectionMapper(favoriteCountriesLocaleIdentifiers: []),
21 |                   selectedCountry: Country?
   :
23 |         self.dataService = dataService
24 |         self.mapper = mapper
25 |         self.selectedCountry = selectedCountry
   |         |- error: setter for 'selectedCountry' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |         sections = mapper.mapIntoSection(countries: dataService.allCountries(mapper.favoriteCountriesLocaleIdentifiers))
27 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:26:9: error: setter for 'sections' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
   :
17 |     private let mapper: SectionMapper
18 |
19 |     internal init(dataService: any CountryListDataSource = CountryManager.shared,
   |              `- note: add @available attribute to enclosing initializer
20 |                   mapper: SectionMapper = SectionMapper(favoriteCountriesLocaleIdentifiers: []),
21 |                   selectedCountry: Country?
   :
24 |         self.mapper = mapper
25 |         self.selectedCountry = selectedCountry
26 |         sections = mapper.mapIntoSection(countries: dataService.allCountries(mapper.favoriteCountriesLocaleIdentifiers))
   |         |- error: setter for 'sections' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
27 |     }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSectionViewModel.swift:31:9: error: setter for 'sections' is only available in macOS 10.15 or newer
 9 |
10 | @MainActor public final
11 | class CountryPickerWithSectionViewModel: ObservableObject {
   |       `- note: add @available attribute to enclosing class
12 |
13 |     @Published var sections: [Section] = []
   :
27 |     }
28 |
29 |     func filterWithText(_ text: String) {
   |          `- note: add @available attribute to enclosing instance method
30 |         let filteredCountries = text.isEmpty ? dataService.allCountries(mapper.favoriteCountriesLocaleIdentifiers) :  dataService.filterCountries(searchText: text)
31 |         sections = mapper.mapIntoSection(countries: filteredCountries)
   |         |- error: setter for 'sections' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |     }
33 |
[11/13] Compiling CountryPicker CountryPickerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:21:20: error: 'presentationMode' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    |                    `- error: 'presentationMode' is only available in macOS 10.15 or newer
 22 |
 23 |     @State private var filterCountries = [Country]()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:21:6: error: 'Environment' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 22 |
 23 |     @State private var filterCountries = [Country]()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
 22 |
 23 |     @State private var filterCountries = [Country]()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 24 |     @State private var applySearch = false
 25 |     @State private var searchText = ""
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
 22 |
 23 |     @State private var filterCountries = [Country]()
 24 |     @State private var applySearch = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 25 |     @State private var searchText = ""
 26 |     @Binding private var selectedCountry: Country?
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:25:6: error: 'State' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 23 |     @State private var filterCountries = [Country]()
 24 |     @State private var applySearch = false
 25 |     @State private var searchText = ""
    |      `- error: 'State' is only available in macOS 10.15 or newer
 26 |     @Binding private var selectedCountry: Country?
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:26:6: error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 24 |     @State private var applySearch = false
 25 |     @State private var searchText = ""
 26 |     @Binding private var selectedCountry: Country?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 27 |
 28 |     let configuration: Configuration
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:38:27: error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 34 |
 35 |     public
 36 |     init(manager: any CountryListDataSource = CountryManager.shared,
    |     `- note: add @available attribute to enclosing initializer
 37 |          configuration: Configuration = Configuration(),
 38 |          selectedCountry: Binding<Country?>) {
    |                           `- error: 'Binding' is only available in macOS 10.15 or newer
 39 |         self.manager = manager
 40 |         self.configuration = configuration
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:26:28: error: 'title2' is only available in macOS 11.0 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
   |                            `- error: 'title2' is only available in macOS 11.0 or newer
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:30: error: 'primary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:29: error: 'footnote' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                             `- error: 'footnote' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:31: error: 'secondary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                               `- error: 'secondary' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:44:27: error: 'View' is only available in macOS 10.15 or newer
 17 |
 18 | public
 19 | struct CountryPickerView: View {
    |        `- note: add @available attribute to enclosing struct
 20 |
 21 |     @Environment(\.presentationMode) var presentationMode
    :
 42 |     }
 43 |
 44 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 45 |         NavigationView {
 46 |             List(searchResults) { country in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:99:6: error: 'Binding' is only available in macOS 10.15 or newer
 91 | }
 92 |
 93 | struct CountryCell: View {
    |        `- note: add @available attribute to enclosing struct
 94 |
 95 |     let country: Country
    :
 97 |     let configuration: Configuration
 98 |
 99 |     @Binding var selectedCountry: Country?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
100 |
101 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:101:20: error: 'View' is only available in macOS 10.15 or newer
 91 | }
 92 |
 93 | struct CountryCell: View {
    |        `- note: add @available attribute to enclosing struct
 94 |
 95 |     let country: Country
    :
 99 |     @Binding var selectedCountry: Country?
100 |
101 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
102 |         Button {
103 |             selectedCountry = country
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:154:31: error: 'View' is only available in macOS 10.15 or newer
151 | }
152 |
153 | struct CountryPickerView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
154 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
155 |         CountryPickerView(
156 |             configuration: Configuration(),
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:75:21: error: cannot find 'UIAccessibility' in scope
 73 |                         "Showing all countries" :
 74 |                         "Found \(filterCountries.count) countries matching '\(searchText)'"
 75 |                     UIAccessibility.post(notification: .announcement, argument: announcement)
    |                     `- error: cannot find 'UIAccessibility' in scope
 76 |                 }
 77 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:86:17: error: cannot find 'UIAccessibility' in scope
 84 |             if configuration.accessibilityConfiguration?.enableVoiceOverAnnouncements == true {
 85 |                 let announcement = "Selected \(country.countryName)"
 86 |                 UIAccessibility.post(notification: .announcement, argument: announcement)
    |                 `- error: cannot find 'UIAccessibility' in scope
 87 |             }
 88 |             presentationMode.wrappedValue.dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:44:32: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 42 |     }
 43 |
 44 |     public var body: some View {
    |                                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 45 |         NavigationView {
 46 |             List(searchResults) { country in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:38:20: error: cannot find type 'UIImage' in scope
 36 |
 37 |     /// Image (Flag) of country
 38 |     open var flag: UIImage? {
    |                    `- error: cannot find type 'UIImage' in scope
 39 |         if image != nil {
 40 |             return image
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerView.swift:106:34: error: extraneous argument label 'uiImage:' in call
104 |         } label: {
105 |             HStack {
106 |                 let image = Image(uiImage: country.flag ?? .init())
    |                                  `- error: extraneous argument label 'uiImage:' in call
107 |                     .resizable()
108 |
[12/13] Compiling CountryPicker CountryPickerWithSections.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:12:20: error: 'presentationMode' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    |                    `- error: 'presentationMode' is only available in macOS 10.15 or newer
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:14:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 15 |     @State var searchText: String
 16 |     @Binding private var selectedCountry: Country?
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
 13 |
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
 15 |     @State var searchText: String
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |     @Binding private var selectedCountry: Country?
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 14 |     @ObservedObject var viewModel: CountryPickerWithSectionViewModel
 15 |     @State var searchText: String
 16 |     @Binding private var selectedCountry: Country?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 |     let configuration: Configuration
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:23:27: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 18 |     let configuration: Configuration
 19 |
 20 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 21 |          configuration: Configuration = Configuration(),
 22 |          searchText: String = "",
 23 |          selectedCountry: Binding<Country?>) {
    |                           `- error: 'Binding' is only available in macOS 10.15 or newer
 24 |          self.configuration = configuration
 25 |          _searchText = State(initialValue: searchText)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:26:28: error: 'title2' is only available in macOS 11.0 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
   |                            `- error: 'title2' is only available in macOS 11.0 or newer
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:27:30: error: 'primary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
   |                              `- error: 'primary' is only available in macOS 10.15 or newer
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:28:29: error: 'footnote' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
   |                             `- error: 'footnote' is only available in macOS 10.15 or newer
29 |         detailColor: Color = .secondary,
30 |         isCountryFlagHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Configuration.swift:29:31: error: 'secondary' is only available in macOS 10.15 or newer
10 |
11 | public
12 | struct Configuration {
   |        `- note: add @available attribute to enclosing struct
13 |
14 |     public let flagStyle: CountryFlagStyle
   :
22 |     public let accessibilityConfiguration: AccessibilityConfiguration?
23 |
24 |     public init(
   |            `- note: add @available attribute to enclosing initializer
25 |         flagStyle: CountryFlagStyle = CountryFlagStyle.corner,
26 |         labelFont: Font = .title2,
27 |         labelColor: Color = .primary,
28 |         detailFont: Font = .footnote,
29 |         detailColor: Color = .secondary,
   |                               `- error: 'secondary' is only available in macOS 10.15 or newer
30 |         isCountryFlagHidden: Bool = false,
31 |         isCountryDialHidden: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:30:27: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 28 |     }
 29 |
 30 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 31 |         NavigationView {
 32 |             ScrollViewReader { scrollView in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:97:31: error: 'View' is only available in macOS 10.15 or newer
 94 |
 95 |
 96 | struct CountryPickerWithSections_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
 97 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 98 |         CountryPickerWithSections(
 99 |             configuration: Configuration(),
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:110:20: error: 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:25:24: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 18 |     let configuration: Configuration
 19 |
 20 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 21 |          configuration: Configuration = Configuration(),
 22 |          searchText: String = "",
 23 |          selectedCountry: Binding<Country?>) {
 24 |          self.configuration = configuration
 25 |          _searchText = State(initialValue: searchText)
    |                        |- error: 'State' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 26 |         _selectedCountry = selectedCountry
 27 |         viewModel = .init(selectedCountry: selectedCountry.wrappedValue)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:27:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 | public
 10 | struct CountryPickerWithSections: View {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Environment(\.presentationMode) var presentationMode
    :
 18 |     let configuration: Configuration
 19 |
 20 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 21 |          configuration: Configuration = Configuration(),
 22 |          searchText: String = "",
    :
 25 |          _searchText = State(initialValue: searchText)
 26 |         _selectedCountry = selectedCountry
 27 |         viewModel = .init(selectedCountry: selectedCountry.wrappedValue)
    |         |- error: setter for 'viewModel' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 28 |     }
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:30:32: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 28 |     }
 29 |
 30 |     public var body: some View {
    |                                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 31 |         NavigationView {
 32 |             ScrollViewReader { scrollView in
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:111:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
    |         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:111:9: error: 'VStack' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
    |         |- error: 'VStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:111:9: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
    |         |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:111:16: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
    |                |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:112:13: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    |             |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
113 |                 HStack {
114 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:112:13: error: 'ForEach' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    |             |- error: 'ForEach' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
113 |                 HStack {
114 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:112:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
113 |                 HStack {
114 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:112:41: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    |                                         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                                         `- note: add 'if #available' version check
113 |                 HStack {
114 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:113:17: error: 'HStack' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
    |                 |- error: 'HStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
114 |                     Spacer()
115 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:113:24: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
    |                        |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
114 |                     Spacer()
115 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:114:21: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
114 |                     Spacer()
    |                     |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
115 |                     Button(action: {
116 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:114:21: error: 'Spacer' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
114 |                     Spacer()
    |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
115 |                     Button(action: {
116 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:115:21: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
114 |                     Spacer()
115 |                     Button(action: {
    |                     |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
116 |                         withAnimation {
117 |                             onClick(title)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:115:21: error: 'Button' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
114 |                     Spacer()
115 |                     Button(action: {
    |                     |- error: 'Button' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
116 |                         withAnimation {
117 |                             onClick(title)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:115:21: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
114 |                     Spacer()
115 |                     Button(action: {
    |                     |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
116 |                         withAnimation {
117 |                             onClick(title)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:116:25: error: 'withAnimation' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
114 |                     Spacer()
115 |                     Button(action: {
116 |                         withAnimation {
    |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
117 |                             onClick(title)
118 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:120:25: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
118 |                         }
119 |                     }, label: {
120 |                         Text(title)
    |                         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
121 |                             .font(.system(size: 12))
122 |                             .padding(.trailing, 7)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:120:25: error: 'Text' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
118 |                         }
119 |                     }, label: {
120 |                         Text(title)
    |                         |- error: 'Text' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
121 |                             .font(.system(size: 12))
122 |                             .padding(.trailing, 7)
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:121:30: error: 'font' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
119 |                     }, label: {
120 |                         Text(title)
121 |                             .font(.system(size: 12))
    |                              |- error: 'font' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:121:36: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
119 |                     }, label: {
120 |                         Text(title)
121 |                             .font(.system(size: 12))
    |                                    |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
    |                                    `- note: add 'if #available' version check
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:122:30: error: 'padding' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
120 |                         Text(title)
121 |                             .font(.system(size: 12))
122 |                             .padding(.trailing, 7)
    |                              |- error: 'padding' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
123 |                             .accessibilityLabel("Jump to section \(title)")
124 |                             .accessibilityHint("Double tap to jump to section \(title)")
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:123:30: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
121 |                             .font(.system(size: 12))
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
    |                              |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
    |                              `- note: add 'if #available' version check
124 |                             .accessibilityHint("Double tap to jump to section \(title)")
125 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:123:49: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
121 |                             .font(.system(size: 12))
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
    |                                                 |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
124 |                             .accessibilityHint("Double tap to jump to section \(title)")
125 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:124:30: error: 'accessibilityHint' is only available in macOS 11.0 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
124 |                             .accessibilityHint("Double tap to jump to section \(title)")
    |                              |- error: 'accessibilityHint' is only available in macOS 11.0 or newer
    |                              `- note: add 'if #available' version check
125 |                     })
126 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:124:48: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
122 |                             .padding(.trailing, 7)
123 |                             .accessibilityLabel("Jump to section \(title)")
124 |                             .accessibilityHint("Double tap to jump to section \(title)")
    |                                                |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                                                `- note: add 'if #available' version check
125 |                     })
126 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:119:31: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
117 |                             onClick(title)
118 |                         }
119 |                     }, label: {
    |                               |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
120 |                         Text(title)
121 |                             .font(.system(size: 12))
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:113:24: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
    |                        |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
114 |                     Spacer()
115 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:113:24: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
    |                        |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
114 |                     Spacer()
115 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:111:16: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
    |                |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
112 |             ForEach(titles, id: \.self) { title in
113 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:129:10: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
127 |             }
128 |         }
129 |         .accessibilityLabel("Section Index")
    |          |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
130 |         .accessibilityHint("Quick navigation to country sections")
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:129:29: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
127 |             }
128 |         }
129 |         .accessibilityLabel("Section Index")
    |                             |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
130 |         .accessibilityHint("Quick navigation to country sections")
131 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:130:10: error: 'accessibilityHint' is only available in macOS 11.0 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
128 |         }
129 |         .accessibilityLabel("Section Index")
130 |         .accessibilityHint("Quick navigation to country sections")
    |          |- error: 'accessibilityHint' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
131 |     }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:130:28: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
    :
128 |         }
129 |         .accessibilityLabel("Section Index")
130 |         .accessibilityHint("Quick navigation to country sections")
    |                            |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
131 |     }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWithSections.swift:110:25: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
104 | }
105 |
106 | struct SectionIndexView: View {
    |        `- note: add @available attribute to enclosing struct
107 |     let titles: [String]
108 |     let onClick: (String)->Void
109 |
110 |     var body: some View {
    |         |               |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
    |         |               `- note: add 'if #available' version check
    |         `- note: add @available attribute to enclosing property
111 |         VStack {
112 |             ForEach(titles, id: \.self) { title in
[13/13] Compiling CountryPicker CountryPickerWheelViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerWheelViewModel.swift:12:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 |
11 | @MainActor final
12 | public class CountryPickerWheelViewModel: ObservableObject {
   |              |                            `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing class
13 |
14 |     internal let countries: [Country]
[14/14] Compiling CountryPicker resource_bundle_accessor.swift
BUILD FAILURE 6.1 macosSpm