The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LocationPicker, reference master (d8a6f5), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 16:48:57 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alessiorubicini/LocationPickerForSwiftUI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alessiorubicini/LocationPickerForSwiftUI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d8a6f58 Fixed README
Cloned https://github.com/alessiorubicini/LocationPickerForSwiftUI.git
Revision (git rev-parse @):
d8a6f58df8e4522df4cf40790bbf1416a1b14af0
SUCCESS checkout https://github.com/alessiorubicini/LocationPickerForSwiftUI.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "locationpickerforswiftui",
      "name": "LocationPicker",
      "url": "https://github.com/alessiorubicini/LocationPickerForSwiftUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LocationPickerForSwiftUI",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/alessiorubicini/LocationPickerForSwiftUI.git
[1/151] Fetching locationpickerforswiftui
Fetched https://github.com/alessiorubicini/LocationPickerForSwiftUI.git from cache (3.43s)
Creating working copy for https://github.com/alessiorubicini/LocationPickerForSwiftUI.git
Working copy of https://github.com/alessiorubicini/LocationPickerForSwiftUI.git resolved at master (d8a6f58)
warning: '.resolve-product-dependencies': dependency 'locationpickerforswiftui' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/alessiorubicini/LocationPickerForSwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/11] Compiling LocationPicker LocationManagerDelegate.swift
[4/11] Compiling LocationPicker CLLocationCoordinate2D+Equatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:11:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
 9 | import CoreLocation
10 |
11 | extension CLLocationCoordinate2D: Equatable {
   | |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |     public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
13 |         return lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude
[5/11] Emitting module LocationPicker
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/CLLocationCoordinate2D+Equatable.swift:11:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
 9 | import CoreLocation
10 |
11 | extension CLLocationCoordinate2D: Equatable {
   | |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |     public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
13 |         return lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
    |      `- error: 'State' is only available in macOS 10.15 or newer
 15 |
 16 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
    |      `- error: 'State' is only available in macOS 10.15 or newer
 37 |     @State private var showSheet = false
 38 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:37:6: error: 'State' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 38 |
 39 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:20: error: 'View' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:77:6: error: 'State' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
    |      `- error: 'State' is only available in macOS 10.15 or newer
 78 |     @State private var showSheet = false
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:78:6: error: 'State' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 79 |
 80 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:20: error: 'View' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:116:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
114 | }
115 |
116 | #Preview("Sheet Example") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
117 |     ModalSheetExample()
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:120:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
118 | }
119 |
120 | #Preview("Full Screen Example") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
121 |     FullScreenExample()
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:124:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
122 | }
123 |
124 | #Preview("Form Example") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
125 |     FormExample()
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:76:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
74 | }
75 |
76 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
77 |     LocationPicker(coordinates: .constant(CLLocationCoordinate2D(latitude: 37.33485149517856, longitude: -122.00903965379115)), zoomLevel: 2000, ignoreSafeArea: true)
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
 8 | import CoreLocation
 9 |
10 | class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
   |       `- note: add '@available' attribute to enclosing class
11 |
12 |     @Published var currentLocation: CLLocation?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
13 |     public let clLocationManager = CLLocationManager()
14 |     weak var delegate: LocationManagerDelegate?
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
 8 | import CoreLocation
 9 |
10 | class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
   |       |                          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |       `- note: add '@available' attribute to enclosing class
11 |
12 |     @Published var currentLocation: CLLocation?
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
10 | import UniformTypeIdentifiers
11 |
12 | public struct LocationPicker: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |
14 |     // MARK: - View properties
15 |
16 |     @Binding var coordinates: CLLocationCoordinate2D
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
17 |     var zoomLevel: Double?
18 |     let showCoordinatesOverlay: Bool
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:26:30: error: 'Binding' is only available in macOS 10.15 or newer
10 | import UniformTypeIdentifiers
11 |
12 | public struct LocationPicker: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |
14 |     // MARK: - View properties
   :
24 |     ///   - zoomLevel: desired zoom level to initialize map
25 |     ///   - showCoordinatesOverlay: show a floating overlay with current coordinates (tap to copy)
26 |     public init(coordinates: Binding<CLLocationCoordinate2D>,
   |            |                 `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
27 |                 zoomLevel: Double? = nil,
28 |                 showCoordinatesOverlay: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:38:27: error: 'View' is only available in macOS 10.15 or newer
10 | import UniformTypeIdentifiers
11 |
12 | public struct LocationPicker: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |
14 |     // MARK: - View properties
   :
36 |     // MARK: - View body
37 |
38 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
39 |         ZStack(alignment: .top) {
40 |             MapView(centerCoordinate: $coordinates, zoomLevel: zoomLevel)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:15:6: error: 'Binding' is only available in macOS 10.15 or newer
11 | import CoreLocation
12 |
13 | struct MapView: UIViewRepresentable {
   |        `- note: add '@available' attribute to enclosing struct
14 |
15 |     @Binding var centerCoordinate: CLLocationCoordinate2D
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
16 |     var zoomLevel: Double?
17 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:20:30: error: cannot find type 'Context' in scope
18 |     let mapView = MKMapView()
19 |
20 |     func makeUIView(context: Context) -> MKMapView {
   |                              `- error: cannot find type 'Context' in scope
21 |         mapView.delegate = context.coordinator
22 |         mapView.centerCoordinate = self.centerCoordinate
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:32:51: error: cannot find type 'Context' in scope
30 |     }
31 |
32 |     func updateUIView(_ view: MKMapView, context: Context) {
   |                                                   `- error: cannot find type 'Context' in scope
33 |         //print(#function)
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:40:53: error: cannot find type 'UIGestureRecognizerDelegate' in scope
38 |     }
39 |
40 |     class Coordinator: NSObject, MKMapViewDelegate, UIGestureRecognizerDelegate {
   |                                                     `- error: cannot find type 'UIGestureRecognizerDelegate' in scope
41 |         var parent: MapView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:43:27: error: cannot find 'UITapGestureRecognizer' in scope
41 |         var parent: MapView
42 |
43 |         var gRecognizer = UITapGestureRecognizer()
   |                           `- error: cannot find 'UITapGestureRecognizer' in scope
44 |
45 |         init(_ parent: MapView) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:53:42: error: cannot find type 'UITapGestureRecognizer' in scope
51 |         }
52 |
53 |         @objc func tapHandler(_ gesture: UITapGestureRecognizer) {
   |                                          `- error: cannot find type 'UITapGestureRecognizer' in scope
54 |
55 |             let location = gRecognizer.location(in: self.parent.mapView)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:13:17: error: cannot find type 'UIViewRepresentable' in scope
11 | import CoreLocation
12 |
13 | struct MapView: UIViewRepresentable {
   |                 `- error: cannot find type 'UIViewRepresentable' in scope
14 |
15 |     @Binding var centerCoordinate: CLLocationCoordinate2D
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:24: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add '@available' attribute to enclosing extension
12 |     @ViewBuilder
13 |     func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
   |          |             `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
14 |         if condition {
15 |             transform(self)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:87: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add '@available' attribute to enclosing extension
12 |     @ViewBuilder
13 |     func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
   |          |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
14 |         if condition {
15 |             transform(self)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add '@available' attribute to enclosing extension
12 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |     func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         if condition {
15 |             transform(self)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
12 |     @ViewBuilder
13 |     func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
[6/11] Compiling LocationPicker LocationError.swift
[7/11] Compiling LocationPicker Examples.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
    |      `- error: 'State' is only available in macOS 10.15 or newer
 15 |
 16 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
    |      `- error: 'State' is only available in macOS 10.15 or newer
 37 |     @State private var showSheet = false
 38 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:37:6: error: 'State' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 38 |
 39 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:20: error: 'View' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:77:6: error: 'State' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
    |      `- error: 'State' is only available in macOS 10.15 or newer
 78 |     @State private var showSheet = false
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:78:6: error: 'State' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 79 |
 80 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:20: error: 'View' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:116:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
114 | }
115 |
116 | #Preview("Sheet Example") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
117 |     ModalSheetExample()
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:120:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
118 | }
119 |
120 | #Preview("Full Screen Example") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
121 |     FullScreenExample()
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:124:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
122 | }
123 |
124 | #Preview("Form Example") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
125 |     FormExample()
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:76:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
74 | }
75 |
76 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
77 |     LocationPicker(coordinates: .constant(CLLocationCoordinate2D(latitude: 37.33485149517856, longitude: -122.00903965379115)), zoomLevel: 2000, ignoreSafeArea: true)
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:17:9: error: 'NavigationView' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
    |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 18 |             Form {
 19 |                 Section(header: Text("Location")) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:18:13: error: 'Form' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    |             |- error: 'Form' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 19 |                 Section(header: Text("Location")) {
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:17: warning: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
 19 |                 Section(header: Text("Location")) {
    |                 |- warning: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
 21 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:17: error: 'Section' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
 19 |                 Section(header: Text("Location")) {
    |                 |- error: 'Section' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
 21 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:17: error: 'init(header:content:)' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
 19 |                 Section(header: Text("Location")) {
    |                 |- error: 'init(header:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
 21 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:33: error: 'Text' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
 19 |                 Section(header: Text("Location")) {
    |                                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
 21 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:20:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
 19 |                 Section(header: Text("Location")) {
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
    |                     |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                     `- note: add 'if #available' version check
 21 |                 }
 22 |                 Section(header: Text("Location")) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:20:21: error: 'Text' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
 19 |                 Section(header: Text("Location")) {
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 21 |                 }
 22 |                 Section(header: Text("Location")) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:51: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
 19 |                 Section(header: Text("Location")) {
    |                                                   |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                   `- note: add 'if #available' version check
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
 21 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:17: warning: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    :
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
 21 |                 }
 22 |                 Section(header: Text("Location")) {
    |                 |- warning: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 23 |                     Text("\(coordinates.latitude), \(coordinates.longitude)")
 24 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 90000, showCoordinatesOverlay: false)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:17: error: 'Section' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    :
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
 21 |                 }
 22 |                 Section(header: Text("Location")) {
    |                 |- error: 'Section' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 23 |                     Text("\(coordinates.latitude), \(coordinates.longitude)")
 24 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 90000, showCoordinatesOverlay: false)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:17: error: 'init(header:content:)' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    :
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
 21 |                 }
 22 |                 Section(header: Text("Location")) {
    |                 |- error: 'init(header:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 23 |                     Text("\(coordinates.latitude), \(coordinates.longitude)")
 24 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 90000, showCoordinatesOverlay: false)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:33: error: 'Text' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    :
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
 21 |                 }
 22 |                 Section(header: Text("Location")) {
    |                                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 23 |                     Text("\(coordinates.latitude), \(coordinates.longitude)")
 24 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 90000, showCoordinatesOverlay: false)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:23:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    :
 21 |                 }
 22 |                 Section(header: Text("Location")) {
 23 |                     Text("\(coordinates.latitude), \(coordinates.longitude)")
    |                     |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                     `- note: add 'if #available' version check
 24 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 90000, showCoordinatesOverlay: false)
 25 |                         .frame(height: 400)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:23:21: error: 'Text' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    :
 21 |                 }
 22 |                 Section(header: Text("Location")) {
 23 |                     Text("\(coordinates.latitude), \(coordinates.longitude)")
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 24 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 90000, showCoordinatesOverlay: false)
 25 |                         .frame(height: 400)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:25:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    :
 23 |                     Text("\(coordinates.latitude), \(coordinates.longitude)")
 24 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 90000, showCoordinatesOverlay: false)
 25 |                         .frame(height: 400)
    |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 26 |                         .cornerRadius(20.0)
 27 |                         //.padding(-15) // Optional: to remove form padding
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:26:26: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    :
 24 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 90000, showCoordinatesOverlay: false)
 25 |                         .frame(height: 400)
 26 |                         .cornerRadius(20.0)
    |                          |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 27 |                         //.padding(-15) // Optional: to remove form padding
 28 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:51: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    :
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
 21 |                 }
 22 |                 Section(header: Text("Location")) {
    |                                                   |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                   `- note: add 'if #available' version check
 23 |                     Text("\(coordinates.latitude), \(coordinates.longitude)")
 24 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 90000, showCoordinatesOverlay: false)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:18:18: warning: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    |                  |- warning: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                  `- note: add 'if #available' version check
 19 |                 Section(header: Text("Location")) {
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:18:18: warning: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    |                  |- warning: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                  `- note: add 'if #available' version check
 19 |                 Section(header: Text("Location")) {
 20 |                     Text("This is an example of using LocationPicker inside a Form. Select a location you like.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:29:15: error: 'navigationTitle' is only available in macOS 11.0 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    :
 27 |                         //.padding(-15) // Optional: to remove form padding
 28 |                 }
 29 |             }.navigationTitle("Form Example")
    |               |- error: 'navigationTitle' is only available in macOS 11.0 or newer
    |               `- note: add 'if #available' version check
 30 |         }
 31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:29:31: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 10 | import MapKit
 11 |
 12 | struct FormExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 13 |
 14 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 15 |
 16 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 17 |         NavigationView {
 18 |             Form {
    :
 27 |                         //.padding(-15) // Optional: to remove form padding
 28 |                 }
 29 |             }.navigationTitle("Form Example")
    |                               |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
 30 |         }
 31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:9: error: 'NavigationView' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
    |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 41 |             VStack(spacing: 30) {
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
    |                        |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 41 |             VStack(spacing: 30) {
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
    |                        |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 41 |             VStack(spacing: 30) {
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:24: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
    |                        |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 41 |             VStack(spacing: 30) {
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:24: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
    |                        |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 41 |             VStack(spacing: 30) {
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:24: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
    |                        |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 41 |             VStack(spacing: 30) {
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:24: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
    |                        |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 41 |             VStack(spacing: 30) {
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:41:13: error: 'VStack' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    |             |- error: 'VStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 42 |
 43 |                 Text("This is an example of using LocationPicker in a modal sheet.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:41:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    |                                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
 42 |
 43 |                 Text("This is an example of using LocationPicker in a modal sheet.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:41:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    |                                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
 42 |
 43 |                 Text("This is an example of using LocationPicker in a modal sheet.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:43:17: error: 'Text' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
 42 |
 43 |                 Text("This is an example of using LocationPicker in a modal sheet.")
    |                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 44 |                     .multilineTextAlignment(.center)
 45 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:44:22: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
 42 |
 43 |                 Text("This is an example of using LocationPicker in a modal sheet.")
 44 |                     .multilineTextAlignment(.center)
    |                      |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 45 |
 46 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:46:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 44 |                     .multilineTextAlignment(.center)
 45 |
 46 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
    |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 47 |
 48 |                 Button("Select location") {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:46:17: error: 'Text' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 44 |                     .multilineTextAlignment(.center)
 45 |
 46 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
    |                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 47 |
 48 |                 Button("Select location") {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:48:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 46 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
 47 |
 48 |                 Button("Select location") {
    |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 49 |                     self.showSheet.toggle()
 50 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:48:17: error: 'Button' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 46 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
 47 |
 48 |                 Button("Select location") {
    |                 |- error: 'Button' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 49 |                     self.showSheet.toggle()
 50 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:48:17: error: 'init(_:action:)' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 46 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
 47 |
 48 |                 Button("Select location") {
    |                 |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 49 |                     self.showSheet.toggle()
 50 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:48:24: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 46 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
 47 |
 48 |                 Button("Select location") {
    |                        |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 49 |                     self.showSheet.toggle()
 50 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:49:21: error: cannot pass as inout because setter for 'showSheet' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 47 |
 48 |                 Button("Select location") {
 49 |                     self.showSheet.toggle()
    |                     |- error: cannot pass as inout because setter for 'showSheet' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 50 |                 }
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:41:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    |                                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
 42 |
 43 |                 Text("This is an example of using LocationPicker in a modal sheet.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:41:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    |                                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
 42 |
 43 |                 Text("This is an example of using LocationPicker in a modal sheet.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:53:14: error: 'navigationTitle' is only available in macOS 11.0 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 51 |
 52 |             }
 53 |             .navigationTitle("LocationPicker")
    |              |- error: 'navigationTitle' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
 54 |
 55 |             .sheet(isPresented: $showSheet) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:53:30: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 51 |
 52 |             }
 53 |             .navigationTitle("LocationPicker")
    |                              |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 54 |
 55 |             .sheet(isPresented: $showSheet) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:55:14: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 53 |             .navigationTitle("LocationPicker")
 54 |
 55 |             .sheet(isPresented: $showSheet) {
    |              |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 56 |                 NavigationView {
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:55:45: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 53 |             .navigationTitle("LocationPicker")
 54 |
 55 |             .sheet(isPresented: $showSheet) {
    |                                             |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                             `- note: add 'if #available' version check
 56 |                 NavigationView {
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:55:45: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 53 |             .navigationTitle("LocationPicker")
 54 |
 55 |             .sheet(isPresented: $showSheet) {
    |                                             |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                             `- note: add 'if #available' version check
 56 |                 NavigationView {
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:55:45: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 53 |             .navigationTitle("LocationPicker")
 54 |
 55 |             .sheet(isPresented: $showSheet) {
    |                                             |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                             `- note: add 'if #available' version check
 56 |                 NavigationView {
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:55:45: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 53 |             .navigationTitle("LocationPicker")
 54 |
 55 |             .sheet(isPresented: $showSheet) {
    |                                             |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                             `- note: add 'if #available' version check
 56 |                 NavigationView {
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:56:17: error: 'NavigationView' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 54 |
 55 |             .sheet(isPresented: $showSheet) {
 56 |                 NavigationView {
    |                 |- error: 'NavigationView' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:56:32: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 54 |
 55 |             .sheet(isPresented: $showSheet) {
 56 |                 NavigationView {
    |                                |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:56:32: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 54 |
 55 |             .sheet(isPresented: $showSheet) {
 56 |                 NavigationView {
    |                                |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:56:32: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 54 |
 55 |             .sheet(isPresented: $showSheet) {
 56 |                 NavigationView {
    |                                |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:56:32: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 54 |
 55 |             .sheet(isPresented: $showSheet) {
 56 |                 NavigationView {
    |                                |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:58:26: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 56 |                 NavigationView {
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
    |                          |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
    |                          `- note: add 'if #available' version check
 59 |                             ToolbarItem(placement: .topBarTrailing) {
 60 |                                 Button {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:58:34: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 56 |                 NavigationView {
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
    |                                  |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
 59 |                             ToolbarItem(placement: .topBarTrailing) {
 60 |                                 Button {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:58:34: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 56 |                 NavigationView {
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
    |                                  |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
 59 |                             ToolbarItem(placement: .topBarTrailing) {
 60 |                                 Button {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:58:34: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 56 |                 NavigationView {
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
    |                                  |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
 59 |                             ToolbarItem(placement: .topBarTrailing) {
 60 |                                 Button {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:58:34: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 56 |                 NavigationView {
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
    |                                  |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
 59 |                             ToolbarItem(placement: .topBarTrailing) {
 60 |                                 Button {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:29: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
 59 |                             ToolbarItem(placement: .topBarTrailing) {
    |                             |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
 60 |                                 Button {
 61 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:29: error: 'ToolbarItem' is only available in macOS 11.0 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
 59 |                             ToolbarItem(placement: .topBarTrailing) {
    |                             |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
    |                             `- note: add 'if #available' version check
 60 |                                 Button {
 61 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:29: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
 59 |                             ToolbarItem(placement: .topBarTrailing) {
    |                             |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
    |                             `- note: add 'if #available' version check
 60 |                                 Button {
 61 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:53: error: 'topBarTrailing' is unavailable in macOS
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
 59 |                             ToolbarItem(placement: .topBarTrailing) {
    |                                                     `- error: 'topBarTrailing' is unavailable in macOS
 60 |                                 Button {
 61 |                                     showSheet.toggle()
SwiftUI.ToolbarItemPlacement.topBarTrailing:5:21: note: 'topBarTrailing' has been explicitly marked unavailable here
3 |   @backDeployed(before: iOS 17.0, tvOS 17.0)
4 |   @available(macOS, unavailable)
5 |   public static var topBarTrailing: ToolbarItemPlacement { get }}
  |                     `- note: 'topBarTrailing' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:69: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
 59 |                             ToolbarItem(placement: .topBarTrailing) {
    |                                                                     |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                     `- note: add 'if #available' version check
 60 |                                 Button {
 61 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:69: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
 59 |                             ToolbarItem(placement: .topBarTrailing) {
    |                                                                     |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                     `- note: add 'if #available' version check
 60 |                                 Button {
 61 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:60:33: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 58 |                         .toolbar {
 59 |                             ToolbarItem(placement: .topBarTrailing) {
 60 |                                 Button {
    |                                 |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
 61 |                                     showSheet.toggle()
 62 |                                 } label: {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:60:33: error: 'Button' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 58 |                         .toolbar {
 59 |                             ToolbarItem(placement: .topBarTrailing) {
 60 |                                 Button {
    |                                 |- error: 'Button' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 61 |                                     showSheet.toggle()
 62 |                                 } label: {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:60:33: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 58 |                         .toolbar {
 59 |                             ToolbarItem(placement: .topBarTrailing) {
 60 |                                 Button {
    |                                 |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
 61 |                                     showSheet.toggle()
 62 |                                 } label: {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:61:37: error: cannot pass as inout because setter for 'showSheet' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 59 |                             ToolbarItem(placement: .topBarTrailing) {
 60 |                                 Button {
 61 |                                     showSheet.toggle()
    |                                     |- error: cannot pass as inout because setter for 'showSheet' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
 62 |                                 } label: {
 63 |                                     Image(systemName: "xmark")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:63:37: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 61 |                                     showSheet.toggle()
 62 |                                 } label: {
 63 |                                     Image(systemName: "xmark")
    |                                     |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                     `- note: add 'if #available' version check
 64 |                                 }
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:63:37: error: 'Image' is only available in macOS 10.15 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 61 |                                     showSheet.toggle()
 62 |                                 } label: {
 63 |                                     Image(systemName: "xmark")
    |                                     |- error: 'Image' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
 64 |                                 }
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:63:37: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 61 |                                     showSheet.toggle()
 62 |                                 } label: {
 63 |                                     Image(systemName: "xmark")
    |                                     |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |                                     `- note: add 'if #available' version check
 64 |                                 }
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:62:42: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 60 |                                 Button {
 61 |                                     showSheet.toggle()
 62 |                                 } label: {
    |                                          |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                          `- note: add 'if #available' version check
 63 |                                     Image(systemName: "xmark")
 64 |                                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:69: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
 59 |                             ToolbarItem(placement: .topBarTrailing) {
    |                                                                     |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                     `- note: add 'if #available' version check
 60 |                                 Button {
 61 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:58:34: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | struct ModalSheetExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 35 |
 36 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 37 |     @State private var showSheet = false
 38 |
 39 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 40 |         NavigationView {
 41 |             VStack(spacing: 30) {
    :
 56 |                 NavigationView {
 57 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 58 |                         .toolbar {
    |                                  |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
 59 |                             ToolbarItem(placement: .topBarTrailing) {
 60 |                                 Button {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:9: error: 'NavigationView' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
    |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 82 |             VStack(spacing: 30) {
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
    |                        |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 82 |             VStack(spacing: 30) {
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
    |                        |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 82 |             VStack(spacing: 30) {
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:24: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
    |                        |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 82 |             VStack(spacing: 30) {
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:24: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
    |                        |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 82 |             VStack(spacing: 30) {
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:24: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
    |                        |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 82 |             VStack(spacing: 30) {
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:24: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
    |                        |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 82 |             VStack(spacing: 30) {
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:82:13: error: 'VStack' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    |             |- error: 'VStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 83 |
 84 |                 Text("This is an example of using LocationPicker in full screen mode.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:82:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    |                                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
 83 |
 84 |                 Text("This is an example of using LocationPicker in full screen mode.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:82:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    |                                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
 83 |
 84 |                 Text("This is an example of using LocationPicker in full screen mode.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:84:17: error: 'Text' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
 83 |
 84 |                 Text("This is an example of using LocationPicker in full screen mode.")
    |                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 85 |                     .multilineTextAlignment(.center)
 86 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:85:22: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
 83 |
 84 |                 Text("This is an example of using LocationPicker in full screen mode.")
 85 |                     .multilineTextAlignment(.center)
    |                      |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 86 |
 87 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:87:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 85 |                     .multilineTextAlignment(.center)
 86 |
 87 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
    |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 88 |
 89 |                 Button("Select location") {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:87:17: error: 'Text' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 85 |                     .multilineTextAlignment(.center)
 86 |
 87 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
    |                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 88 |
 89 |                 Button("Select location") {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:89:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 87 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
 88 |
 89 |                 Button("Select location") {
    |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 90 |                     self.showSheet.toggle()
 91 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:89:17: error: 'Button' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 87 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
 88 |
 89 |                 Button("Select location") {
    |                 |- error: 'Button' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 90 |                     self.showSheet.toggle()
 91 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:89:17: error: 'init(_:action:)' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 87 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
 88 |
 89 |                 Button("Select location") {
    |                 |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 90 |                     self.showSheet.toggle()
 91 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:89:24: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 87 |                 Text("\(coordinates.latitude), \(coordinates.longitude)")
 88 |
 89 |                 Button("Select location") {
    |                        |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 90 |                     self.showSheet.toggle()
 91 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:90:21: error: cannot pass as inout because setter for 'showSheet' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 88 |
 89 |                 Button("Select location") {
 90 |                     self.showSheet.toggle()
    |                     |- error: cannot pass as inout because setter for 'showSheet' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 91 |                 }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:82:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    |                                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
 83 |
 84 |                 Text("This is an example of using LocationPicker in full screen mode.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:82:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    |                                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
 83 |
 84 |                 Text("This is an example of using LocationPicker in full screen mode.")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:94:14: error: 'navigationTitle' is only available in macOS 11.0 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 92 |
 93 |             }
 94 |             .navigationTitle("LocationPicker")
    |              |- error: 'navigationTitle' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:94:30: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 92 |
 93 |             }
 94 |             .navigationTitle("LocationPicker")
    |                              |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:96:14: error: 'fullScreenCover(isPresented:onDismiss:content:)' is unavailable in macOS
 94 |             .navigationTitle("LocationPicker")
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
    |              `- error: 'fullScreenCover(isPresented:onDismiss:content:)' is unavailable in macOS
 97 |                 NavigationView {
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
SwiftUI.View.fullScreenCover:2:25: note: 'fullScreenCover(isPresented:onDismiss:content:)' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func fullScreenCover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View
  |                         `- note: 'fullScreenCover(isPresented:onDismiss:content:)' has been explicitly marked unavailable here
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:96:55: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 94 |             .navigationTitle("LocationPicker")
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
    |                                                       |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                       `- note: add 'if #available' version check
 97 |                 NavigationView {
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:96:55: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 94 |             .navigationTitle("LocationPicker")
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
    |                                                       |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                       `- note: add 'if #available' version check
 97 |                 NavigationView {
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:96:55: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 94 |             .navigationTitle("LocationPicker")
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
    |                                                       |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                       `- note: add 'if #available' version check
 97 |                 NavigationView {
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:96:55: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 94 |             .navigationTitle("LocationPicker")
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
    |                                                       |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                       `- note: add 'if #available' version check
 97 |                 NavigationView {
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:97:17: error: 'NavigationView' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
 97 |                 NavigationView {
    |                 |- error: 'NavigationView' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:97:32: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
 97 |                 NavigationView {
    |                                |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:97:32: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
 97 |                 NavigationView {
    |                                |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:97:32: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
 97 |                 NavigationView {
    |                                |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:97:32: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 95 |
 96 |             .fullScreenCover(isPresented: $showSheet) {
 97 |                 NavigationView {
    |                                |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:99:26: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 97 |                 NavigationView {
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
    |                          |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
    |                          `- note: add 'if #available' version check
100 |                             ToolbarItem(placement: .topBarTrailing) {
101 |                                 Button {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:99:34: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 97 |                 NavigationView {
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
    |                                  |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
100 |                             ToolbarItem(placement: .topBarTrailing) {
101 |                                 Button {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:99:34: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 97 |                 NavigationView {
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
    |                                  |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
100 |                             ToolbarItem(placement: .topBarTrailing) {
101 |                                 Button {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:99:34: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 97 |                 NavigationView {
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
    |                                  |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
100 |                             ToolbarItem(placement: .topBarTrailing) {
101 |                                 Button {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:99:34: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 97 |                 NavigationView {
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
    |                                  |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
100 |                             ToolbarItem(placement: .topBarTrailing) {
101 |                                 Button {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:29: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
100 |                             ToolbarItem(placement: .topBarTrailing) {
    |                             |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
101 |                                 Button {
102 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:29: error: 'ToolbarItem' is only available in macOS 11.0 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
100 |                             ToolbarItem(placement: .topBarTrailing) {
    |                             |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
    |                             `- note: add 'if #available' version check
101 |                                 Button {
102 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:29: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
100 |                             ToolbarItem(placement: .topBarTrailing) {
    |                             |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
    |                             `- note: add 'if #available' version check
101 |                                 Button {
102 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:53: error: 'topBarTrailing' is unavailable in macOS
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
100 |                             ToolbarItem(placement: .topBarTrailing) {
    |                                                     `- error: 'topBarTrailing' is unavailable in macOS
101 |                                 Button {
102 |                                     showSheet.toggle()
SwiftUI.ToolbarItemPlacement.topBarTrailing:5:21: note: 'topBarTrailing' has been explicitly marked unavailable here
3 |   @backDeployed(before: iOS 17.0, tvOS 17.0)
4 |   @available(macOS, unavailable)
5 |   public static var topBarTrailing: ToolbarItemPlacement { get }}
  |                     `- note: 'topBarTrailing' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:69: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
100 |                             ToolbarItem(placement: .topBarTrailing) {
    |                                                                     |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                     `- note: add 'if #available' version check
101 |                                 Button {
102 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:69: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
100 |                             ToolbarItem(placement: .topBarTrailing) {
    |                                                                     |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                     `- note: add 'if #available' version check
101 |                                 Button {
102 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:101:33: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 99 |                         .toolbar {
100 |                             ToolbarItem(placement: .topBarTrailing) {
101 |                                 Button {
    |                                 |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
102 |                                     showSheet.toggle()
103 |                                 } label: {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:101:33: error: 'Button' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 99 |                         .toolbar {
100 |                             ToolbarItem(placement: .topBarTrailing) {
101 |                                 Button {
    |                                 |- error: 'Button' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
102 |                                     showSheet.toggle()
103 |                                 } label: {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:101:33: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 99 |                         .toolbar {
100 |                             ToolbarItem(placement: .topBarTrailing) {
101 |                                 Button {
    |                                 |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
102 |                                     showSheet.toggle()
103 |                                 } label: {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:102:37: error: cannot pass as inout because setter for 'showSheet' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
100 |                             ToolbarItem(placement: .topBarTrailing) {
101 |                                 Button {
102 |                                     showSheet.toggle()
    |                                     |- error: cannot pass as inout because setter for 'showSheet' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
103 |                                 } label: {
104 |                                     Image(systemName: "xmark")
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:104:37: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
102 |                                     showSheet.toggle()
103 |                                 } label: {
104 |                                     Image(systemName: "xmark")
    |                                     |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                     `- note: add 'if #available' version check
105 |                                 }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:104:37: error: 'Image' is only available in macOS 10.15 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
102 |                                     showSheet.toggle()
103 |                                 } label: {
104 |                                     Image(systemName: "xmark")
    |                                     |- error: 'Image' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
105 |                                 }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:104:37: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
102 |                                     showSheet.toggle()
103 |                                 } label: {
104 |                                     Image(systemName: "xmark")
    |                                     |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |                                     `- note: add 'if #available' version check
105 |                                 }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:103:42: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
101 |                                 Button {
102 |                                     showSheet.toggle()
103 |                                 } label: {
    |                                          |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                          `- note: add 'if #available' version check
104 |                                     Image(systemName: "xmark")
105 |                                 }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:69: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
100 |                             ToolbarItem(placement: .topBarTrailing) {
    |                                                                     |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                     `- note: add 'if #available' version check
101 |                                 Button {
102 |                                     showSheet.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:99:34: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 73 | }
 74 |
 75 | struct FullScreenExample: View {
    |        `- note: add '@available' attribute to enclosing struct
 76 |
 77 |     @State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
 78 |     @State private var showSheet = false
 79 |
 80 |     var body: some View {
    |         `- note: add '@available' attribute to enclosing property
 81 |         NavigationView {
 82 |             VStack(spacing: 30) {
    :
 97 |                 NavigationView {
 98 |                     LocationPicker(coordinates: $coordinates, zoomLevel: 100000, showCoordinatesOverlay: false, ignoreSafeArea: true)
 99 |                         .toolbar {
    |                                  |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                  `- note: add 'if #available' version check
100 |                             ToolbarItem(placement: .topBarTrailing) {
101 |                                 Button {
[8/11] Compiling LocationPicker MapView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:15:6: error: 'Binding' is only available in macOS 10.15 or newer
11 | import CoreLocation
12 |
13 | struct MapView: UIViewRepresentable {
   |        `- note: add '@available' attribute to enclosing struct
14 |
15 |     @Binding var centerCoordinate: CLLocationCoordinate2D
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
16 |     var zoomLevel: Double?
17 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:20:30: error: cannot find type 'Context' in scope
18 |     let mapView = MKMapView()
19 |
20 |     func makeUIView(context: Context) -> MKMapView {
   |                              `- error: cannot find type 'Context' in scope
21 |         mapView.delegate = context.coordinator
22 |         mapView.centerCoordinate = self.centerCoordinate
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:32:51: error: cannot find type 'Context' in scope
30 |     }
31 |
32 |     func updateUIView(_ view: MKMapView, context: Context) {
   |                                                   `- error: cannot find type 'Context' in scope
33 |         //print(#function)
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:40:53: error: cannot find type 'UIGestureRecognizerDelegate' in scope
38 |     }
39 |
40 |     class Coordinator: NSObject, MKMapViewDelegate, UIGestureRecognizerDelegate {
   |                                                     `- error: cannot find type 'UIGestureRecognizerDelegate' in scope
41 |         var parent: MapView
42 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:43:27: error: cannot find 'UITapGestureRecognizer' in scope
41 |         var parent: MapView
42 |
43 |         var gRecognizer = UITapGestureRecognizer()
   |                           `- error: cannot find 'UITapGestureRecognizer' in scope
44 |
45 |         init(_ parent: MapView) {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:53:42: error: cannot find type 'UITapGestureRecognizer' in scope
51 |         }
52 |
53 |         @objc func tapHandler(_ gesture: UITapGestureRecognizer) {
   |                                          `- error: cannot find type 'UITapGestureRecognizer' in scope
54 |
55 |             let location = gRecognizer.location(in: self.parent.mapView)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:13:17: error: cannot find type 'UIViewRepresentable' in scope
11 | import CoreLocation
12 |
13 | struct MapView: UIViewRepresentable {
   |                 `- error: cannot find type 'UIViewRepresentable' in scope
14 |
15 |     @Binding var centerCoordinate: CLLocationCoordinate2D
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:48:32: error: cannot find 'UITapGestureRecognizer' in scope
46 |             self.parent = parent
47 |             super.init()
48 |             self.gRecognizer = UITapGestureRecognizer(target: self, action: #selector(tapHandler))
   |                                `- error: cannot find 'UITapGestureRecognizer' in scope
49 |             self.gRecognizer.delegate = self
50 |             self.parent.mapView.addGestureRecognizer(gRecognizer)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:66:13: error: 'withAnimation' is only available in macOS 10.15 or newer
38 |     }
39 |
40 |     class Coordinator: NSObject, MKMapViewDelegate, UIGestureRecognizerDelegate {
   |           `- note: add '@available' attribute to enclosing class
41 |         var parent: MapView
42 |
   :
51 |         }
52 |
53 |         @objc func tapHandler(_ gesture: UITapGestureRecognizer) {
   |                    `- note: add '@available' attribute to enclosing instance method
54 |
55 |             let location = gRecognizer.location(in: self.parent.mapView)
   :
64 |             annotation.coordinate = clObject
65 |
66 |             withAnimation {
   |             |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
67 |                 parent.mapView.removeAnnotations(parent.mapView.annotations)
68 |                 parent.mapView.addAnnotation(annotation)
[9/11] Compiling LocationPicker LocationPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
10 | import UniformTypeIdentifiers
11 |
12 | public struct LocationPicker: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |
14 |     // MARK: - View properties
15 |
16 |     @Binding var coordinates: CLLocationCoordinate2D
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
17 |     var zoomLevel: Double?
18 |     let showCoordinatesOverlay: Bool
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:26:30: error: 'Binding' is only available in macOS 10.15 or newer
10 | import UniformTypeIdentifiers
11 |
12 | public struct LocationPicker: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |
14 |     // MARK: - View properties
   :
24 |     ///   - zoomLevel: desired zoom level to initialize map
25 |     ///   - showCoordinatesOverlay: show a floating overlay with current coordinates (tap to copy)
26 |     public init(coordinates: Binding<CLLocationCoordinate2D>,
   |            |                 `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
27 |                 zoomLevel: Double? = nil,
28 |                 showCoordinatesOverlay: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:38:27: error: 'View' is only available in macOS 10.15 or newer
10 | import UniformTypeIdentifiers
11 |
12 | public struct LocationPicker: View {
   |               `- note: add '@available' attribute to enclosing struct
13 |
14 |     // MARK: - View properties
   :
36 |     // MARK: - View body
37 |
38 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
39 |         ZStack(alignment: .top) {
40 |             MapView(centerCoordinate: $coordinates, zoomLevel: zoomLevel)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:76:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
74 | }
75 |
76 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
77 |     LocationPicker(coordinates: .constant(CLLocationCoordinate2D(latitude: 37.33485149517856, longitude: -122.00903965379115)), zoomLevel: 2000, ignoreSafeArea: true)
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:116:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
114 | }
115 |
116 | #Preview("Sheet Example") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
117 |     ModalSheetExample()
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:120:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
118 | }
119 |
120 | #Preview("Full Screen Example") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
121 |     FullScreenExample()
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:124:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
122 | }
123 |
124 | #Preview("Form Example") {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
125 |     FormExample()
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:41:18: error: value of type 'MapView' has no member 'if'
39 |         ZStack(alignment: .top) {
40 |             MapView(centerCoordinate: $coordinates, zoomLevel: zoomLevel)
41 |                 .if(ignoreSafeArea) { view in
   |                  `- error: value of type 'MapView' has no member 'if'
42 |                     view
43 |                         .edgesIgnoringSafeArea(.vertical)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:43:49: error: cannot infer contextual base in reference to member 'vertical'
41 |                 .if(ignoreSafeArea) { view in
42 |                     view
43 |                         .edgesIgnoringSafeArea(.vertical)
   |                                                 `- error: cannot infer contextual base in reference to member 'vertical'
44 |                 }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:71:9: error: cannot find 'UIPasteboard' in scope
69 |
70 |     private func pasteCoordinates() {
71 |         UIPasteboard.general.setValue("\(coordinates.latitude), \(coordinates.longitude)", forPasteboardType: UTType.plainText.identifier)
   |         `- error: cannot find 'UIPasteboard' in scope
72 |     }
73 |
[10/11] Compiling LocationPicker Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:24: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add '@available' attribute to enclosing extension
12 |     @ViewBuilder
13 |     func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
   |          |             `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
14 |         if condition {
15 |             transform(self)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:87: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add '@available' attribute to enclosing extension
12 |     @ViewBuilder
13 |     func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
   |          |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
14 |         if condition {
15 |             transform(self)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add '@available' attribute to enclosing extension
12 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |     func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         if condition {
15 |             transform(self)
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
12 |     @ViewBuilder
13 |     func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:14:22: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add '@available' attribute to enclosing extension
12 |     @ViewBuilder
13 |     func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         if condition {
   |                      |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
15 |             transform(self)
16 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:16:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add '@available' attribute to enclosing extension
12 |     @ViewBuilder
13 |     func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         if condition {
15 |             transform(self)
16 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
17 |             self
18 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:92: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | extension View {
   | `- note: add '@available' attribute to enclosing extension
12 |     @ViewBuilder
13 |     func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
   |          |                                                                                 |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |          |                                                                                 `- note: add 'if #available' version check
   |          `- note: add '@available' attribute to enclosing instance method
14 |         if condition {
15 |             transform(self)
[11/11] Compiling LocationPicker LocationManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
 8 | import CoreLocation
 9 |
10 | class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
   |       `- note: add '@available' attribute to enclosing class
11 |
12 |     @Published var currentLocation: CLLocation?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
13 |     public let clLocationManager = CLLocationManager()
14 |     weak var delegate: LocationManagerDelegate?
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
 8 | import CoreLocation
 9 |
10 | class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
   |       |                          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |       `- note: add '@available' attribute to enclosing class
11 |
12 |     @Published var currentLocation: CLLocation?
<unknown>:0: error: cannot convert value of type 'KeyPath<LocationManager, CLLocation?>' to expected argument type 'ReferenceWritableKeyPath<LocationManager, CLLocation?>'
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:25:53: error: 'authorizationStatus' is only available in macOS 11.0 or newer
 8 | import CoreLocation
 9 |
10 | class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
   |       `- note: add '@available' attribute to enclosing class
11 |
12 |     @Published var currentLocation: CLLocation?
   :
22 |     }
23 |
24 |     func startUpdatingLocations() {
   |          `- note: add '@available' attribute to enclosing instance method
25 |         let authorizationStatus = clLocationManager.authorizationStatus
   |                                                     |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
   |                                                     `- note: add 'if #available' version check
26 |
27 |         switch authorizationStatus {
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:40:34: error: 'authorizationStatus' is only available in macOS 11.0 or newer
 8 | import CoreLocation
 9 |
10 | class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
   |       `- note: add '@available' attribute to enclosing class
11 |
12 |     @Published var currentLocation: CLLocation?
   :
37 |     }
38 |
39 |     func getAuthorizationStatus() -> CLAuthorizationStatus {
   |          `- note: add '@available' attribute to enclosing instance method
40 |         return clLocationManager.authorizationStatus
   |                                  |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
   |                                  `- note: add 'if #available' version check
41 |     }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:45:13: error: setter for 'currentLocation' is only available in macOS 10.15 or newer
 8 | import CoreLocation
 9 |
10 | class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
   |       `- note: add '@available' attribute to enclosing class
11 |
12 |     @Published var currentLocation: CLLocation?
   :
41 |     }
42 |
43 |     func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
   |          `- note: add '@available' attribute to enclosing instance method
44 |         if let location = locations.first {
45 |             self.currentLocation = location
   |             |- error: setter for 'currentLocation' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
46 |             delegate?.onSuccess(location: location)
47 |             manager.stopUpdatingLocation()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:58:20: error: 'authorizationStatus' is only available in macOS 11.0 or newer
 8 | import CoreLocation
 9 |
10 | class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
   |       `- note: add '@available' attribute to enclosing class
11 |
12 |     @Published var currentLocation: CLLocation?
   :
55 |     }
56 |
57 |     func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
   |          `- note: add '@available' attribute to enclosing instance method
58 |         if manager.authorizationStatus == .authorizedWhenInUse || manager.authorizationStatus == .authorizedAlways {
   |                    |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
   |                    `- note: add 'if #available' version check
59 |             if requestLocationUpdates {
60 |                 clLocationManager.startUpdatingLocation()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:58:44: error: 'authorizedWhenInUse' is unavailable in macOS
56 |
57 |     func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
58 |         if manager.authorizationStatus == .authorizedWhenInUse || manager.authorizationStatus == .authorizedAlways {
   |                                            `- error: 'authorizedWhenInUse' is unavailable in macOS
59 |             if requestLocationUpdates {
60 |                 clLocationManager.startUpdatingLocation()
CoreLocation.CLAuthorizationStatus.authorizedWhenInUse:3:8: note: 'authorizedWhenInUse' has been explicitly marked unavailable here
1 | enum CLAuthorizationStatus {
2 | @available(macOS, unavailable)
3 |   case authorizedWhenInUse}
  |        `- note: 'authorizedWhenInUse' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:58:75: error: 'authorizationStatus' is only available in macOS 11.0 or newer
 8 | import CoreLocation
 9 |
10 | class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
   |       `- note: add '@available' attribute to enclosing class
11 |
12 |     @Published var currentLocation: CLLocation?
   :
55 |     }
56 |
57 |     func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
   |          `- note: add '@available' attribute to enclosing instance method
58 |         if manager.authorizationStatus == .authorizedWhenInUse || manager.authorizationStatus == .authorizedAlways {
   |                                                                           |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
   |                                                                           `- note: add 'if #available' version check
59 |             if requestLocationUpdates {
60 |                 clLocationManager.startUpdatingLocation()
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:63:31: error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
 8 | import CoreLocation
 9 |
10 | class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
   |       `- note: add '@available' attribute to enclosing class
11 |
12 |     @Published var currentLocation: CLLocation?
   :
55 |     }
56 |
57 |     func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
   |          `- note: add '@available' attribute to enclosing instance method
58 |         if manager.authorizationStatus == .authorizedWhenInUse || manager.authorizationStatus == .authorizedAlways {
59 |             if requestLocationUpdates {
   :
61 |             }
62 |         } else {
63 |             clLocationManager.requestWhenInUseAuthorization()
   |                               |- error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
64 |         }
65 |     }
BUILD FAILURE 6.3 macosSpm