Build Information
Failed to build LocationPicker, reference master (d8a6f5), with Swift 5.10 for macOS (SPM) on 17 Sep 2025 15:47:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/alessiorubicini/LocationPickerForSwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/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
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:10: note: add @available attribute to enclosing instance method
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:87: error: 'View' is only available in macOS 10.15 or newer
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:10: note: add @available attribute to enclosing instance method
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:10: note: add @available attribute to enclosing instance method
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:1: note: add @available attribute to enclosing extension
extension 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
if condition {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:14:22: note: add 'if #available' version check
if condition {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:10: note: add @available attribute to enclosing instance method
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:16:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:16:16: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:10: note: add @available attribute to enclosing instance method
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:1: note: add @available attribute to enclosing extension
extension View {
^
/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
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:92: note: add 'if #available' version check
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:10: note: add @available attribute to enclosing instance method
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:1: note: add @available attribute to enclosing extension
extension View {
^
[4/11] Compiling LocationPicker LocationError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/11] Compiling LocationPicker CLLocationCoordinate2D+Equatable.swift
[6/11] Compiling LocationPicker LocationManagerDelegate.swift
[7/11] Emitting module LocationPicker
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
@State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
@State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:37:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showSheet = false
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:77:6: error: 'State' is only available in macOS 10.15 or newer
@State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:78:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showSheet = false
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:116:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview("Sheet Example") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:120:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview("Full Screen Example") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:124:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview("Form Example") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:76:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var currentLocation: CLLocation?
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:7: note: add @available attribute to enclosing class
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:7: note: add @available attribute to enclosing class
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
<unknown>:0: error: key path value type 'KeyPath<LocationManager, CLLocation?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<LocationManager, CLLocation?>'
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var coordinates: CLLocationCoordinate2D
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:12:15: note: add @available attribute to enclosing struct
public struct LocationPicker: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:26:30: error: 'Binding' is only available in macOS 10.15 or newer
public init(coordinates: Binding<CLLocationCoordinate2D>,
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:26:12: note: add @available attribute to enclosing initializer
public init(coordinates: Binding<CLLocationCoordinate2D>,
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:12:15: note: add @available attribute to enclosing struct
public struct LocationPicker: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:38:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:38:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:12:15: note: add @available attribute to enclosing struct
public struct LocationPicker: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:15:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var centerCoordinate: CLLocationCoordinate2D
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:13:8: note: add @available attribute to enclosing struct
struct MapView: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:20:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:32:51: error: cannot find type 'Context' in scope
func updateUIView(_ view: MKMapView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:43:27: error: cannot find 'UITapGestureRecognizer' in scope
var gRecognizer = UITapGestureRecognizer()
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:53:42: error: cannot find type 'UITapGestureRecognizer' in scope
@objc func tapHandler(_ gesture: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:40:53: error: cannot find type 'UIGestureRecognizerDelegate' in scope
class Coordinator: NSObject, MKMapViewDelegate, UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:13:17: error: cannot find type 'UIViewRepresentable' in scope
struct MapView: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:24: error: 'View' is only available in macOS 10.15 or newer
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:10: note: add @available attribute to enclosing instance method
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:87: error: 'View' is only available in macOS 10.15 or newer
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:10: note: add @available attribute to enclosing instance method
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:13:10: note: add @available attribute to enclosing instance method
func `if`<Content: View>(_ condition: Bool, transform: (Self) -> Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Utils.swift:11:1: note: add @available attribute to enclosing extension
extension View {
^
[8/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
@State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
@State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:37:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showSheet = false
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:77:6: error: 'State' is only available in macOS 10.15 or newer
@State private var coordinates = CLLocationCoordinate2D(latitude: 37.775472967190595, longitude: -122.41735219250484)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:78:6: error: 'State' is only available in macOS 10.15 or newer
@State private var showSheet = false
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:116:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview("Sheet Example") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:120:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview("Full Screen Example") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:124:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview("Form Example") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:76:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:17:9: error: 'NavigationView' is only available in macOS 10.15 or newer
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:17:9: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:18:13: error: 'Form' is only available in macOS 10.15 or newer
Form {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:18:13: note: add 'if #available' version check
Form {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/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
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:17: note: add 'if #available' version check
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:17: error: 'Section' is only available in macOS 10.15 or newer
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:17: note: add 'if #available' version check
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/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
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:17: note: add 'if #available' version check
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:33: error: 'Text' is only available in macOS 10.15 or newer
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:33: note: add 'if #available' version check
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/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
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:20:21: note: add 'if #available' version check
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:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:20:21: error: 'Text' is only available in macOS 10.15 or newer
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:20:21: note: add 'if #available' version check
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:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/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
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:19:51: note: add 'if #available' version check
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/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
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:17: note: add 'if #available' version check
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:17: error: 'Section' is only available in macOS 10.15 or newer
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:17: note: add 'if #available' version check
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/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
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:17: note: add 'if #available' version check
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:33: error: 'Text' is only available in macOS 10.15 or newer
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:33: note: add 'if #available' version check
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/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
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:23:21: note: add 'if #available' version check
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:23:21: error: 'Text' is only available in macOS 10.15 or newer
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:23:21: note: add 'if #available' version check
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/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
.frame(height: 400)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:25:26: note: add 'if #available' version check
.frame(height: 400)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:26:26: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
.cornerRadius(20.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:26:26: note: add 'if #available' version check
.cornerRadius(20.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/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
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:22:51: note: add 'if #available' version check
Section(header: Text("Location")) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/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
Form {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:18:18: note: add 'if #available' version check
Form {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/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
Form {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:18:18: note: add 'if #available' version check
Form {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:29:15: error: 'navigationTitle' is only available in macOS 11.0 or newer
}.navigationTitle("Form Example")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:29:15: note: add 'if #available' version check
}.navigationTitle("Form Example")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:29:31: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
}.navigationTitle("Form Example")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:29:31: note: add 'if #available' version check
}.navigationTitle("Form Example")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:16:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:12:8: note: add @available attribute to enclosing struct
struct FormExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:9: error: 'NavigationView' is only available in macOS 10.15 or newer
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:9: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:24: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:24: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:40:24: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:41:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:41:13: note: add 'if #available' version check
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:41:33: note: add 'if #available' version check
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:43:17: error: 'Text' is only available in macOS 10.15 or newer
Text("This is an example of using LocationPicker in a modal sheet.")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:43:17: note: add 'if #available' version check
Text("This is an example of using LocationPicker in a modal sheet.")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:44:22: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
.multilineTextAlignment(.center)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:44:22: note: add 'if #available' version check
.multilineTextAlignment(.center)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:46:17: note: add 'if #available' version check
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:46:17: error: 'Text' is only available in macOS 10.15 or newer
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:46:17: note: add 'if #available' version check
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:48:17: note: add 'if #available' version check
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:48:17: error: 'Button' is only available in macOS 10.15 or newer
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:48:17: note: add 'if #available' version check
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:48:17: error: 'init(_:action:)' is only available in macOS 10.15 or newer
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:48:17: note: add 'if #available' version check
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:48:24: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:48:24: note: add 'if #available' version check
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
self.showSheet.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:49:21: note: add 'if #available' version check
self.showSheet.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:41:33: note: add 'if #available' version check
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:41:33: note: add 'if #available' version check
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:53:14: error: 'navigationTitle' is only available in macOS 11.0 or newer
.navigationTitle("LocationPicker")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:53:14: note: add 'if #available' version check
.navigationTitle("LocationPicker")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:53:30: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
.navigationTitle("LocationPicker")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:53:30: note: add 'if #available' version check
.navigationTitle("LocationPicker")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
.sheet(isPresented: $showSheet) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:55:14: note: add 'if #available' version check
.sheet(isPresented: $showSheet) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
.sheet(isPresented: $showSheet) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:55:45: note: add 'if #available' version check
.sheet(isPresented: $showSheet) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
.sheet(isPresented: $showSheet) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:55:45: note: add 'if #available' version check
.sheet(isPresented: $showSheet) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:56:17: error: 'NavigationView' is only available in macOS 10.15 or newer
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:56:17: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:56:32: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:56:32: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:58:26: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:58:26: note: add 'if #available' version check
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:58:34: note: add 'if #available' version check
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:58:34: note: add 'if #available' version check
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:29: note: add 'if #available' version check
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:29: error: 'ToolbarItem' is only available in macOS 11.0 or newer
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:29: note: add 'if #available' version check
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:29: note: add 'if #available' version check
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:53: error: 'topBarTrailing' is unavailable in macOS
ToolbarItem(placement: .topBarTrailing) {
^~~~~~~~~~~~~~
SwiftUI.ToolbarItemPlacement:31:23: note: 'topBarTrailing' has been explicitly marked unavailable here
public static var topBarTrailing: ToolbarItemPlacement { get }
^
/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
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:69: note: add 'if #available' version check
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:60:33: note: add 'if #available' version check
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:60:33: error: 'Button' is only available in macOS 10.15 or newer
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:60:33: note: add 'if #available' version check
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:60:33: note: add 'if #available' version check
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
showSheet.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:61:37: note: add 'if #available' version check
showSheet.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:63:37: note: add 'if #available' version check
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:63:37: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:63:37: note: add 'if #available' version check
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:63:37: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:63:37: note: add 'if #available' version check
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
} label: {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:62:42: note: add 'if #available' version check
} label: {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:59:69: note: add 'if #available' version check
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/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
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:58:34: note: add 'if #available' version check
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:39:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:34:8: note: add @available attribute to enclosing struct
struct ModalSheetExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:9: error: 'NavigationView' is only available in macOS 10.15 or newer
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:9: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:24: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:24: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:81:24: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:82:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:82:13: note: add 'if #available' version check
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:82:33: note: add 'if #available' version check
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:84:17: error: 'Text' is only available in macOS 10.15 or newer
Text("This is an example of using LocationPicker in full screen mode.")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:84:17: note: add 'if #available' version check
Text("This is an example of using LocationPicker in full screen mode.")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:85:22: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
.multilineTextAlignment(.center)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:85:22: note: add 'if #available' version check
.multilineTextAlignment(.center)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:87:17: note: add 'if #available' version check
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:87:17: error: 'Text' is only available in macOS 10.15 or newer
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:87:17: note: add 'if #available' version check
Text("\(coordinates.latitude), \(coordinates.longitude)")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:89:17: note: add 'if #available' version check
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:89:17: error: 'Button' is only available in macOS 10.15 or newer
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:89:17: note: add 'if #available' version check
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:89:17: error: 'init(_:action:)' is only available in macOS 10.15 or newer
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:89:17: note: add 'if #available' version check
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:89:24: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:89:24: note: add 'if #available' version check
Button("Select location") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
self.showSheet.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:90:21: note: add 'if #available' version check
self.showSheet.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:82:33: note: add 'if #available' version check
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:82:33: note: add 'if #available' version check
VStack(spacing: 30) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:94:14: error: 'navigationTitle' is only available in macOS 11.0 or newer
.navigationTitle("LocationPicker")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:94:14: note: add 'if #available' version check
.navigationTitle("LocationPicker")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:94:30: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
.navigationTitle("LocationPicker")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:94:30: note: add 'if #available' version check
.navigationTitle("LocationPicker")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:96:14: error: 'fullScreenCover(isPresented:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(isPresented: $showSheet) {
^~~~~~~~~~~~~~~
SwiftUI.View:9:17: note: 'fullScreenCover(isPresented:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View
^
/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
.fullScreenCover(isPresented: $showSheet) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:96:55: note: add 'if #available' version check
.fullScreenCover(isPresented: $showSheet) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
.fullScreenCover(isPresented: $showSheet) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:96:55: note: add 'if #available' version check
.fullScreenCover(isPresented: $showSheet) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:97:17: error: 'NavigationView' is only available in macOS 10.15 or newer
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:97:17: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:97:32: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:97:32: note: add 'if #available' version check
NavigationView {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:99:26: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:99:26: note: add 'if #available' version check
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:99:34: note: add 'if #available' version check
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:99:34: note: add 'if #available' version check
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:29: note: add 'if #available' version check
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:29: error: 'ToolbarItem' is only available in macOS 11.0 or newer
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:29: note: add 'if #available' version check
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:29: note: add 'if #available' version check
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:53: error: 'topBarTrailing' is unavailable in macOS
ToolbarItem(placement: .topBarTrailing) {
^~~~~~~~~~~~~~
SwiftUI.ToolbarItemPlacement:31:23: note: 'topBarTrailing' has been explicitly marked unavailable here
public static var topBarTrailing: ToolbarItemPlacement { get }
^
/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
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:69: note: add 'if #available' version check
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:101:33: note: add 'if #available' version check
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:101:33: error: 'Button' is only available in macOS 10.15 or newer
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:101:33: note: add 'if #available' version check
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:101:33: note: add 'if #available' version check
Button {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
showSheet.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:102:37: note: add 'if #available' version check
showSheet.toggle()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:104:37: note: add 'if #available' version check
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:104:37: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:104:37: note: add 'if #available' version check
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:104:37: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:104:37: note: add 'if #available' version check
Image(systemName: "xmark")
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
} label: {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:103:42: note: add 'if #available' version check
} label: {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:100:69: note: add 'if #available' version check
ToolbarItem(placement: .topBarTrailing) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
/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
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:99:34: note: add 'if #available' version check
.toolbar {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:80:9: note: add @available attribute to enclosing property
var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:75:8: note: add @available attribute to enclosing struct
struct FullScreenExample: View {
^
[9/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
@Published var currentLocation: CLLocation?
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:7: note: add @available attribute to enclosing class
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:7: note: add @available attribute to enclosing class
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
<unknown>:0: error: key path value type 'KeyPath<LocationManager, CLLocation?>' cannot be converted to contextual 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
let authorizationStatus = clLocationManager.authorizationStatus
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:25:53: note: add 'if #available' version check
let authorizationStatus = clLocationManager.authorizationStatus
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:24:10: note: add @available attribute to enclosing instance method
func startUpdatingLocations() {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:7: note: add @available attribute to enclosing class
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:40:34: error: 'authorizationStatus' is only available in macOS 11.0 or newer
return clLocationManager.authorizationStatus
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:40:34: note: add 'if #available' version check
return clLocationManager.authorizationStatus
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:39:10: note: add @available attribute to enclosing instance method
func getAuthorizationStatus() -> CLAuthorizationStatus {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:7: note: add @available attribute to enclosing class
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
/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
self.currentLocation = location
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:45:13: note: add 'if #available' version check
self.currentLocation = location
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:43:10: note: add @available attribute to enclosing instance method
func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:7: note: add @available attribute to enclosing class
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:58:20: error: 'authorizationStatus' is only available in macOS 11.0 or newer
if manager.authorizationStatus == .authorizedWhenInUse || manager.authorizationStatus == .authorizedAlways {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:58:20: note: add 'if #available' version check
if manager.authorizationStatus == .authorizedWhenInUse || manager.authorizationStatus == .authorizedAlways {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:57:10: note: add @available attribute to enclosing instance method
func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:7: note: add @available attribute to enclosing class
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:58:44: error: 'authorizedWhenInUse' is unavailable in macOS
if manager.authorizationStatus == .authorizedWhenInUse || manager.authorizationStatus == .authorizedAlways {
^~~~~~~~~~~~~~~~~~~
CoreLocation.CLAuthorizationStatus:20:10: note: 'authorizedWhenInUse' has been explicitly marked unavailable here
case authorizedWhenInUse
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:58:75: error: 'authorizationStatus' is only available in macOS 11.0 or newer
if manager.authorizationStatus == .authorizedWhenInUse || manager.authorizationStatus == .authorizedAlways {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:58:75: note: add 'if #available' version check
if manager.authorizationStatus == .authorizedWhenInUse || manager.authorizationStatus == .authorizedAlways {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:57:10: note: add @available attribute to enclosing instance method
func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:7: note: add @available attribute to enclosing class
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:63:31: error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
clLocationManager.requestWhenInUseAuthorization()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:63:31: note: add 'if #available' version check
clLocationManager.requestWhenInUseAuthorization()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:57:10: note: add @available attribute to enclosing instance method
func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationManager.swift:10:7: note: add @available attribute to enclosing class
class LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {
^
[10/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
@Binding var centerCoordinate: CLLocationCoordinate2D
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:13:8: note: add @available attribute to enclosing struct
struct MapView: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:20:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:32:51: error: cannot find type 'Context' in scope
func updateUIView(_ view: MKMapView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:43:27: error: cannot find 'UITapGestureRecognizer' in scope
var gRecognizer = UITapGestureRecognizer()
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:53:42: error: cannot find type 'UITapGestureRecognizer' in scope
@objc func tapHandler(_ gesture: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:40:53: error: cannot find type 'UIGestureRecognizerDelegate' in scope
class Coordinator: NSObject, MKMapViewDelegate, UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:13:17: error: cannot find type 'UIViewRepresentable' in scope
struct MapView: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:48:32: error: cannot find 'UITapGestureRecognizer' in scope
self.gRecognizer = UITapGestureRecognizer(target: self, action: #selector(tapHandler))
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:66:13: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:66:13: note: add 'if #available' version check
withAnimation {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:53:20: note: add @available attribute to enclosing instance method
@objc func tapHandler(_ gesture: UITapGestureRecognizer) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/MapView.swift:40:11: note: add @available attribute to enclosing class
class Coordinator: NSObject, MKMapViewDelegate, UIGestureRecognizerDelegate {
^
[11/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
@Binding var coordinates: CLLocationCoordinate2D
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:12:15: note: add @available attribute to enclosing struct
public struct LocationPicker: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:26:30: error: 'Binding' is only available in macOS 10.15 or newer
public init(coordinates: Binding<CLLocationCoordinate2D>,
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:26:12: note: add @available attribute to enclosing initializer
public init(coordinates: Binding<CLLocationCoordinate2D>,
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:12:15: note: add @available attribute to enclosing struct
public struct LocationPicker: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:38:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:38:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:12:15: note: add @available attribute to enclosing struct
public struct LocationPicker: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:76:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:116:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview("Sheet Example") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:120:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview("Full Screen Example") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/Examples.swift:124:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
#Preview("Form Example") {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:41:18: error: value of type 'MapView' has no member 'if'
.if(ignoreSafeArea) { view in
^~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:43:49: error: cannot infer contextual base in reference to member 'vertical'
.edgesIgnoringSafeArea(.vertical)
~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LocationPicker/LocationPicker.swift:71:9: error: cannot find 'UIPasteboard' in scope
UIPasteboard.general.setValue("\(coordinates.latitude), \(coordinates.longitude)", forPasteboardType: UTType.plainText.identifier)
^~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm