Build Information
Failed to build SwiftUIMap, reference main (f3d621
), with Swift 6.1 for watchOS using Xcode 16.3 on 28 Apr 2025 01:37:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftUIMap -destination generic/platform=watchOS
Build Log
func makeUIView(context: Context) -> MKMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:25:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:34:27: error: cannot find type 'MKMapView' in scope
func addPoints(myMap: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:68:32: error: cannot find type 'MKMapView' in scope
func updatePoints(mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:137:58: error: cannot find type 'MKMapViewDelegate' in scope
class rawExistingAnnotationMapCoordinator: NSObject, MKMapViewDelegate {
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:147:55: error: cannot find type 'MKMapView' in scope
func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:153:81: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:153:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:190:52: error: cannot find type 'MKMapView' in scope
func mapViewDidFinishLoadingMap(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:195:47: error: cannot find type 'MKMapView' in scope
@objc func updateAnnotations(mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:200:54: error: cannot find type 'MKMapView' in scope
func mapViewWillStartLocatingUser(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:203:52: error: cannot find type 'MKMapView' in scope
func mapViewDidStopLocatingUser(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:206:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didFailToLocateUserWithError error: Error) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:209:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:209:60: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:244:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:244:62: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:7:34: error: cannot find type 'UIViewRepresentable' in scope
struct RawExistingAnnotationMap: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:250:1: warning: extension declares a conformance of imported type 'MKCoordinateSpan' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
extension MKCoordinateSpan: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:250:1: note: add '@retroactive' to silence this warning
extension MKCoordinateSpan: Equatable {
^ ~~~~~~~~~
@retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:263:1: warning: extension declares a conformance of imported type 'MKCoordinateRegion' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
extension MKCoordinateRegion: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:263:1: note: add '@retroactive' to silence this warning
extension MKCoordinateRegion: Equatable {
^ ~~~~~~~~~
@retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:75:36: error: cannot find type 'MKMapView' in scope
@State public var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:112:277: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, points: Binding<[Annotations]>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:151:348: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, points: Binding<[Annotations]>, isUserLocationVisible: Binding<Bool>, isFirstResponder: Binding<Bool>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:205:293: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, points: Binding<[Annotations]>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:242:364: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, points: Binding<[Annotations]>, isUserLocationVisible: Binding<Bool>, isFirstResponder: Binding<Bool>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:264:34: error: cannot find type 'MKMapView' in scope
func setDefaultCamera(_ map: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:387:44: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public func pointsOfInterest(_ filter: MKPointOfInterestFilter) -> AnnotationMapView {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:452:33: error: 'MKMapType' is unavailable in watchOS
public func mapType(_ type: MKMapType) -> AnnotationMapView {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:12:29: note: 'MKMapType' has been explicitly marked unavailable here
typedef NS_ENUM(NSUInteger, MKMapType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:465:34: error: 'MKMapCamera' is unavailable in watchOS
public func camera(_ camera: MKMapCamera) -> AnnotationMapView {
^~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h:18:12: note: 'MKMapCamera' has been explicitly marked unavailable here
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:492:44: error: cannot find type 'MKMapView' in scope
public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> AnnotationMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:505:42: error: cannot find type 'MKMapView' in scope
public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> AnnotationMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:583:42: error: cannot find type 'MKUserTrackingMode' in scope
public func userTrackingMode(_ mode: MKUserTrackingMode) -> AnnotationMapView {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:9:22: error: cannot find type 'MKMapView' in scope
var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:12:34: error: cannot find type 'MKMapView' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:12:54: error: cannot find type 'Context' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:16:46: error: cannot find type 'MKMapView' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:16:34: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:56:57: error: cannot find type 'MKMapViewDelegate' in scope
class rawMutableAnnotationMapCoordinator: NSObject, MKMapViewDelegate {
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:58:35: error: 'MKPointAnnotation' is unavailable in watchOS
var currentAnnotations = [MKPointAnnotation]()
^~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointAnnotation.h:16:12: note: 'MKPointAnnotation' has been explicitly marked unavailable here
@interface MKPointAnnotation : MKShape
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:62:55: error: cannot find type 'MKMapView' in scope
func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:65:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:65:60: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:68:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:68:62: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:70:43: error: cannot find type 'UIGestureRecognizer' in scope
@objc func addAnnotation(gesture: UIGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:7:33: error: cannot find type 'UIViewRepresentable' in scope
struct rawMutableAnnotationMap: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:115:36: error: cannot find type 'MKMapView' in scope
@State public var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:129:91: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:154:124: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, isFirstResponder: Binding<Bool>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:178:107: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:201:140: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, isFirstResponder: Binding<Bool>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:293:44: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public func pointsOfInterest(_ filter: MKPointOfInterestFilter) -> MutableMapView {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:358:33: error: 'MKMapType' is unavailable in watchOS
public func mapType(_ type: MKMapType) -> MutableMapView {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:12:29: note: 'MKMapType' has been explicitly marked unavailable here
typedef NS_ENUM(NSUInteger, MKMapType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:371:34: error: 'MKMapCamera' is unavailable in watchOS
public func camera(_ camera: MKMapCamera) -> MutableMapView {
^~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h:18:12: note: 'MKMapCamera' has been explicitly marked unavailable here
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:397:44: error: cannot find type 'MKMapView' in scope
public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> MutableMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:410:42: error: cannot find type 'MKMapView' in scope
public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> MutableMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:488:42: error: cannot find type 'MKUserTrackingMode' in scope
public func userTrackingMode(_ mode: MKUserTrackingMode) -> MutableMapView {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:14:36: error: cannot find type 'UISearchBar' in scope
@Binding var searchBarDetails: UISearchBar
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:18:34: error: cannot find type 'UISearchBarDelegate' in scope
class Coordinator: NSObject, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:28:37: error: cannot find type 'UISearchBar' in scope
func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:32:56: error: cannot find type 'UISearchBar' in scope
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:72: error: cannot find type 'UISearchBar' in scope
func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:30: error: cannot find type 'UIViewRepresentableContext' in scope
func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:33: error: cannot find type 'UISearchBar' in scope
func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:55: error: cannot find type 'UIViewRepresentableContext' in scope
func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:13:19: error: cannot find type 'UIViewRepresentable' in scope
struct SearchBar: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:38:29: error: 'MKLocalSearchCompletion' is unavailable in watchOS
@State var completion = MKLocalSearchCompletion()
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:39:34: error: cannot find type 'UISearchBar' in scope
@State var searchBarDetails: UISearchBar = UISearchBar()
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:41:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:47:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:47:88: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:53:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:59:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:59:88: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:138:44: error: cannot find type 'UIBarButtonItem' in scope
public func toolbarButtons(_ buttons: [UIBarButtonItem]) -> Self {
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:147:39: error: 'MKLocalSearchCompletion' is unavailable in watchOS
@Published var locationResults : [MKLocalSearchCompletion] = []
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:152:35: error: 'MKLocalSearchCompleter' is unavailable in watchOS
private var searchCompleter = MKLocalSearchCompleter()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:153:44: error: 'MKLocalSearchCompletion' is unavailable in watchOS
private var currentPromise : ((Result<[MKLocalSearchCompletion], Error>) -> Void)?
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:155:23: error: 'MKLocalSearchCompleter' is unavailable in watchOS
init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:155:81: error: 'MKPointOfInterestFilter' is unavailable in watchOS
init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:175:61: error: 'MKLocalSearchCompletion' is unavailable in watchOS
func searchTermToResults(searchTerm: String) -> Future<[MKLocalSearchCompletion], Error> {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:184:49: error: 'MKLocalSearchCompleter' is unavailable in watchOS
func completerDidUpdateResults(_ completer: MKLocalSearchCompleter) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:188:33: error: 'MKLocalSearchCompleter' is unavailable in watchOS
func completer(_ completer: MKLocalSearchCompleter, didFailWithError error: Error) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:183:23: error: 'MKLocalSearchCompleterDelegate' is unavailable in watchOS
extension MapSearch : MKLocalSearchCompleterDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:62:11: note: 'MKLocalSearchCompleterDelegate' has been explicitly marked unavailable here
@protocol MKLocalSearchCompleterDelegate <NSObject>
^
SwiftCompile normal armv7k Compiling\ Search\ View.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ View.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ View.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal armv7k Emitting\ module\ for\ SwiftUIMap (in target 'SwiftUIMap' from project 'SwiftUIMap')
EmitSwiftModule normal armv7k (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:47:33: error: cannot find type 'MKFeatureDisplayPriority' in scope
public let displayPriority: MKFeatureDisplayPriority
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:49:162: error: cannot find type 'MKFeatureDisplayPriority' in scope
public init(title: String, subtitle: String, location: Location, glyphImage: glyphImage, markerTintColor: UIColor, glyphTintColor: UIColor, displayPriority: MKFeatureDisplayPriority) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:39:15: error: type 'Annotations' does not conform to protocol 'Hashable'
public struct Annotations: Identifiable, Equatable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:47:16: note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Annotations' to 'Hashable'
public let displayPriority: MKFeatureDisplayPriority
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:39:15: error: type 'Annotations' does not conform to protocol 'Equatable'
public struct Annotations: Identifiable, Equatable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:47:16: note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Annotations' to 'Equatable'
public let displayPriority: MKFeatureDisplayPriority
^
Swift.==:1:24: note: candidate would match if 'Annotations' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Annotations' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Annotations' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
^
Swift._Pointer.==:2:20: note: candidate would match if 'Annotations' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift._Pointer.==:2:31: note: candidate would match if 'Annotations' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
^
Swift.Strideable.==:2:31: note: candidate would match if 'Annotations' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool}
^
Swift.StringProtocol.==:2:31: note: candidate would match if 'Annotations' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
^
Swift.SIMD.==:2:20: note: candidate would match if 'Annotations' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool}
^
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'Annotations' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
^
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Annotations' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'Annotations' conformed to '_CFObject'
public static func == (left: Self, right: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:39:15: note: add stubs for conformance
public struct Annotations: Identifiable, Equatable, Hashable {
^
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Annotations, Annotations) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:117:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
extension CLLocationCoordinate2D: Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:117:1: note: add '@retroactive' to silence this warning
extension CLLocationCoordinate2D: Hashable {
^ ~~~~~~~~
@retroactive Hashable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:133:94: error: 'MKMapCamera' is unavailable in watchOS
public static func defaultCameraAngle(location: CLLocationCoordinate2D, zoom: Double) -> MKMapCamera {
^~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h:18:12: note: 'MKMapCamera' has been explicitly marked unavailable here
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:10:29: error: cannot find type 'MKMapView' in scope
@State var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:20:34: error: cannot find type 'MKMapView' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:20:54: error: cannot find type 'Context' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:25:42: error: cannot find type 'MKMapView' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:25:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:34:27: error: cannot find type 'MKMapView' in scope
func addPoints(myMap: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:68:32: error: cannot find type 'MKMapView' in scope
func updatePoints(mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:137:58: error: cannot find type 'MKMapViewDelegate' in scope
class rawExistingAnnotationMapCoordinator: NSObject, MKMapViewDelegate {
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:147:55: error: cannot find type 'MKMapView' in scope
func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:153:81: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:153:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:190:52: error: cannot find type 'MKMapView' in scope
func mapViewDidFinishLoadingMap(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:195:47: error: cannot find type 'MKMapView' in scope
@objc func updateAnnotations(mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:200:54: error: cannot find type 'MKMapView' in scope
func mapViewWillStartLocatingUser(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:203:52: error: cannot find type 'MKMapView' in scope
func mapViewDidStopLocatingUser(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:206:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didFailToLocateUserWithError error: Error) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:209:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:209:60: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:244:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:244:62: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:7:34: error: cannot find type 'UIViewRepresentable' in scope
struct RawExistingAnnotationMap: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:250:1: warning: extension declares a conformance of imported type 'MKCoordinateSpan' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
extension MKCoordinateSpan: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:250:1: note: add '@retroactive' to silence this warning
extension MKCoordinateSpan: Equatable {
^ ~~~~~~~~~
@retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:263:1: warning: extension declares a conformance of imported type 'MKCoordinateRegion' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
extension MKCoordinateRegion: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:263:1: note: add '@retroactive' to silence this warning
extension MKCoordinateRegion: Equatable {
^ ~~~~~~~~~
@retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:75:36: error: cannot find type 'MKMapView' in scope
@State public var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:112:277: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, points: Binding<[Annotations]>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:151:348: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, points: Binding<[Annotations]>, isUserLocationVisible: Binding<Bool>, isFirstResponder: Binding<Bool>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:205:293: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, points: Binding<[Annotations]>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:242:364: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, points: Binding<[Annotations]>, isUserLocationVisible: Binding<Bool>, isFirstResponder: Binding<Bool>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:264:34: error: cannot find type 'MKMapView' in scope
func setDefaultCamera(_ map: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:387:44: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public func pointsOfInterest(_ filter: MKPointOfInterestFilter) -> AnnotationMapView {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:452:33: error: 'MKMapType' is unavailable in watchOS
public func mapType(_ type: MKMapType) -> AnnotationMapView {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:12:29: note: 'MKMapType' has been explicitly marked unavailable here
typedef NS_ENUM(NSUInteger, MKMapType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:465:34: error: 'MKMapCamera' is unavailable in watchOS
public func camera(_ camera: MKMapCamera) -> AnnotationMapView {
^~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h:18:12: note: 'MKMapCamera' has been explicitly marked unavailable here
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:492:44: error: cannot find type 'MKMapView' in scope
public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> AnnotationMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:505:42: error: cannot find type 'MKMapView' in scope
public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> AnnotationMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:583:42: error: cannot find type 'MKUserTrackingMode' in scope
public func userTrackingMode(_ mode: MKUserTrackingMode) -> AnnotationMapView {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:9:22: error: cannot find type 'MKMapView' in scope
var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:12:34: error: cannot find type 'MKMapView' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:12:54: error: cannot find type 'Context' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:16:46: error: cannot find type 'MKMapView' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:16:34: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:56:57: error: cannot find type 'MKMapViewDelegate' in scope
class rawMutableAnnotationMapCoordinator: NSObject, MKMapViewDelegate {
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:58:35: error: 'MKPointAnnotation' is unavailable in watchOS
var currentAnnotations = [MKPointAnnotation]()
^~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointAnnotation.h:16:12: note: 'MKPointAnnotation' has been explicitly marked unavailable here
@interface MKPointAnnotation : MKShape
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:62:55: error: cannot find type 'MKMapView' in scope
func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:65:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:65:60: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:68:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:68:62: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:70:43: error: cannot find type 'UIGestureRecognizer' in scope
@objc func addAnnotation(gesture: UIGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:7:33: error: cannot find type 'UIViewRepresentable' in scope
struct rawMutableAnnotationMap: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:115:36: error: cannot find type 'MKMapView' in scope
@State public var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:129:91: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:154:124: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, isFirstResponder: Binding<Bool>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:178:107: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:201:140: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, isFirstResponder: Binding<Bool>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:293:44: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public func pointsOfInterest(_ filter: MKPointOfInterestFilter) -> MutableMapView {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:358:33: error: 'MKMapType' is unavailable in watchOS
public func mapType(_ type: MKMapType) -> MutableMapView {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:12:29: note: 'MKMapType' has been explicitly marked unavailable here
typedef NS_ENUM(NSUInteger, MKMapType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:371:34: error: 'MKMapCamera' is unavailable in watchOS
public func camera(_ camera: MKMapCamera) -> MutableMapView {
^~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h:18:12: note: 'MKMapCamera' has been explicitly marked unavailable here
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:397:44: error: cannot find type 'MKMapView' in scope
public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> MutableMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:410:42: error: cannot find type 'MKMapView' in scope
public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> MutableMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:488:42: error: cannot find type 'MKUserTrackingMode' in scope
public func userTrackingMode(_ mode: MKUserTrackingMode) -> MutableMapView {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:14:36: error: cannot find type 'UISearchBar' in scope
@Binding var searchBarDetails: UISearchBar
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:18:34: error: cannot find type 'UISearchBarDelegate' in scope
class Coordinator: NSObject, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:28:37: error: cannot find type 'UISearchBar' in scope
func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:32:56: error: cannot find type 'UISearchBar' in scope
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:72: error: cannot find type 'UISearchBar' in scope
func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:30: error: cannot find type 'UIViewRepresentableContext' in scope
func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:33: error: cannot find type 'UISearchBar' in scope
func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:55: error: cannot find type 'UIViewRepresentableContext' in scope
func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:13:19: error: cannot find type 'UIViewRepresentable' in scope
struct SearchBar: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:38:29: error: 'MKLocalSearchCompletion' is unavailable in watchOS
@State var completion = MKLocalSearchCompletion()
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:39:34: error: cannot find type 'UISearchBar' in scope
@State var searchBarDetails: UISearchBar = UISearchBar()
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:41:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:47:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:47:88: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:53:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:59:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:59:88: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:138:44: error: cannot find type 'UIBarButtonItem' in scope
public func toolbarButtons(_ buttons: [UIBarButtonItem]) -> Self {
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:147:39: error: 'MKLocalSearchCompletion' is unavailable in watchOS
@Published var locationResults : [MKLocalSearchCompletion] = []
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:152:35: error: 'MKLocalSearchCompleter' is unavailable in watchOS
private var searchCompleter = MKLocalSearchCompleter()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:153:44: error: 'MKLocalSearchCompletion' is unavailable in watchOS
private var currentPromise : ((Result<[MKLocalSearchCompletion], Error>) -> Void)?
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:155:23: error: 'MKLocalSearchCompleter' is unavailable in watchOS
init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:155:81: error: 'MKPointOfInterestFilter' is unavailable in watchOS
init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:175:61: error: 'MKLocalSearchCompletion' is unavailable in watchOS
func searchTermToResults(searchTerm: String) -> Future<[MKLocalSearchCompletion], Error> {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:184:49: error: 'MKLocalSearchCompleter' is unavailable in watchOS
func completerDidUpdateResults(_ completer: MKLocalSearchCompleter) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:188:33: error: 'MKLocalSearchCompleter' is unavailable in watchOS
func completer(_ completer: MKLocalSearchCompleter, didFailWithError error: Error) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:183:23: error: 'MKLocalSearchCompleterDelegate' is unavailable in watchOS
extension MapSearch : MKLocalSearchCompleterDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:62:11: note: 'MKLocalSearchCompleterDelegate' has been explicitly marked unavailable here
@protocol MKLocalSearchCompleterDelegate <NSObject>
^
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data\ Structs.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing\ Annotation\ Map/AnnotationMapView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing\ Annotation\ Map/Public\ View.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable\ Annotation\ Map/MutatableAnnotationMap.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/ReversedGeoLocation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ Bar.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ View.swift -target armv7k-apple-watchos7.0 -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SwiftUIMap -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap.abi.json
SwiftCompile normal arm64_32 Compiling\ MutatableAnnotationMap.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable\ Annotation\ Map/MutatableAnnotationMap.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable\ Annotation\ Map/MutatableAnnotationMap.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ Search\ Bar.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ Bar.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
Command SwiftCompile failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
EmitSwiftModule normal arm64 (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIMap (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIMap (in target 'SwiftUIMap' from project 'SwiftUIMap')
EmitSwiftModule normal arm64_32 (in target 'SwiftUIMap' from project 'SwiftUIMap')
EmitSwiftModule normal armv7k (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftEmitModule normal armv7k Emitting\ module\ for\ SwiftUIMap (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal arm64_32 Compiling\ Search\ Bar.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ Bar.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
Building workspace spi-builder-workspace with scheme SwiftUIMap
(8 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
SwiftUIMap: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftUIMap
{
"dependencies" : [
],
"manifest_display_name" : "SwiftUIMap",
"name" : "SwiftUIMap",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftUIMap",
"targets" : [
"SwiftUIMap"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUIMap",
"module_type" : "SwiftTarget",
"name" : "SwiftUIMap",
"path" : "Sources/SwiftUIMap",
"product_memberships" : [
"SwiftUIMap"
],
"sources" : [
"Data Structs.swift",
"Existing Annotation Map/AnnotationMapView.swift",
"Existing Annotation Map/Public View.swift",
"Mutatable Annotation Map/MutatableAnnotationMap.swift",
"Search/ReversedGeoLocation.swift",
"Search/Search Bar.swift",
"Search/Search View.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"SwiftUIMap"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftUIMap -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SwiftUIMap -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftUIMap: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'SwiftUIMap' in project 'SwiftUIMap'
➜ Explicit dependency on target 'SwiftUIMap' in project 'SwiftUIMap'
Target 'SwiftUIMap' in project 'SwiftUIMap' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: c3cccb8002785917906fd796c5109bc0
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c3cccb8002785917906fd796c5109bc0.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
SwiftDriver SwiftUIMap normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftUIMap -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64_32/SwiftUIMap.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64_32/SwiftUIMap-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64_32/SwiftUIMap.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64_32/SwiftUIMap_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64_32/SwiftUIMap-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftUIMap normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftUIMap -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftUIMap normal armv7k com.apple.xcode.tools.swift.compiler (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftUIMap -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/armv7k/SwiftUIMap-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Data\ Structs.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data\ Structs.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data\ Structs.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Public\ View.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing\ Annotation\ Map/Public\ View.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing\ Annotation\ Map/Public\ View.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MutatableAnnotationMap.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable\ Annotation\ Map/MutatableAnnotationMap.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable\ Annotation\ Map/MutatableAnnotationMap.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIMap (in target 'SwiftUIMap' from project 'SwiftUIMap')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data\ Structs.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing\ Annotation\ Map/AnnotationMapView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing\ Annotation\ Map/Public\ View.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable\ Annotation\ Map/MutatableAnnotationMap.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/ReversedGeoLocation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ Bar.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ View.swift -target arm64-apple-watchos7.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SwiftUIMap -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMap.build/Debug-watchos/SwiftUIMap.build/Objects-normal/arm64/SwiftUIMap.abi.json
EmitSwiftModule normal arm64 (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:47:33: error: cannot find type 'MKFeatureDisplayPriority' in scope
public let displayPriority: MKFeatureDisplayPriority
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:49:162: error: cannot find type 'MKFeatureDisplayPriority' in scope
public init(title: String, subtitle: String, location: Location, glyphImage: glyphImage, markerTintColor: UIColor, glyphTintColor: UIColor, displayPriority: MKFeatureDisplayPriority) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:39:15: error: type 'Annotations' does not conform to protocol 'Hashable'
public struct Annotations: Identifiable, Equatable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:47:16: note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Annotations' to 'Hashable'
public let displayPriority: MKFeatureDisplayPriority
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:39:15: error: type 'Annotations' does not conform to protocol 'Equatable'
public struct Annotations: Identifiable, Equatable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:47:16: note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Annotations' to 'Equatable'
public let displayPriority: MKFeatureDisplayPriority
^
Swift.==:1:24: note: candidate would match if 'Annotations' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Annotations' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Annotations' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
^
Swift._Pointer.==:2:20: note: candidate would match if 'Annotations' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift._Pointer.==:2:31: note: candidate would match if 'Annotations' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
^
Swift.Strideable.==:2:31: note: candidate would match if 'Annotations' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool}
^
Swift.StringProtocol.==:2:31: note: candidate would match if 'Annotations' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
^
Swift.SIMD.==:2:20: note: candidate would match if 'Annotations' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool}
^
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'Annotations' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
^
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Annotations' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'Annotations' conformed to '_CFObject'
public static func == (left: Self, right: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:39:15: note: add stubs for conformance
public struct Annotations: Identifiable, Equatable, Hashable {
^
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Annotations, Annotations) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:117:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
extension CLLocationCoordinate2D: Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:117:1: note: add '@retroactive' to silence this warning
extension CLLocationCoordinate2D: Hashable {
^ ~~~~~~~~
@retroactive Hashable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:133:94: error: 'MKMapCamera' is unavailable in watchOS
public static func defaultCameraAngle(location: CLLocationCoordinate2D, zoom: Double) -> MKMapCamera {
^~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h:18:12: note: 'MKMapCamera' has been explicitly marked unavailable here
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:10:29: error: cannot find type 'MKMapView' in scope
@State var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:20:34: error: cannot find type 'MKMapView' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:20:54: error: cannot find type 'Context' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:25:42: error: cannot find type 'MKMapView' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:25:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:34:27: error: cannot find type 'MKMapView' in scope
func addPoints(myMap: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:68:32: error: cannot find type 'MKMapView' in scope
func updatePoints(mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:137:58: error: cannot find type 'MKMapViewDelegate' in scope
class rawExistingAnnotationMapCoordinator: NSObject, MKMapViewDelegate {
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:147:55: error: cannot find type 'MKMapView' in scope
func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:153:81: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:153:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:190:52: error: cannot find type 'MKMapView' in scope
func mapViewDidFinishLoadingMap(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:195:47: error: cannot find type 'MKMapView' in scope
@objc func updateAnnotations(mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:200:54: error: cannot find type 'MKMapView' in scope
func mapViewWillStartLocatingUser(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:203:52: error: cannot find type 'MKMapView' in scope
func mapViewDidStopLocatingUser(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:206:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didFailToLocateUserWithError error: Error) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:209:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:209:60: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:244:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:244:62: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:7:34: error: cannot find type 'UIViewRepresentable' in scope
struct RawExistingAnnotationMap: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:250:1: warning: extension declares a conformance of imported type 'MKCoordinateSpan' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
extension MKCoordinateSpan: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:250:1: note: add '@retroactive' to silence this warning
extension MKCoordinateSpan: Equatable {
^ ~~~~~~~~~
@retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:263:1: warning: extension declares a conformance of imported type 'MKCoordinateRegion' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
extension MKCoordinateRegion: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:263:1: note: add '@retroactive' to silence this warning
extension MKCoordinateRegion: Equatable {
^ ~~~~~~~~~
@retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:75:36: error: cannot find type 'MKMapView' in scope
@State public var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:112:277: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, points: Binding<[Annotations]>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:151:348: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, points: Binding<[Annotations]>, isUserLocationVisible: Binding<Bool>, isFirstResponder: Binding<Bool>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:205:293: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, points: Binding<[Annotations]>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:242:364: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, points: Binding<[Annotations]>, isUserLocationVisible: Binding<Bool>, isFirstResponder: Binding<Bool>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:264:34: error: cannot find type 'MKMapView' in scope
func setDefaultCamera(_ map: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:387:44: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public func pointsOfInterest(_ filter: MKPointOfInterestFilter) -> AnnotationMapView {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:452:33: error: 'MKMapType' is unavailable in watchOS
public func mapType(_ type: MKMapType) -> AnnotationMapView {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:12:29: note: 'MKMapType' has been explicitly marked unavailable here
typedef NS_ENUM(NSUInteger, MKMapType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:465:34: error: 'MKMapCamera' is unavailable in watchOS
public func camera(_ camera: MKMapCamera) -> AnnotationMapView {
^~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h:18:12: note: 'MKMapCamera' has been explicitly marked unavailable here
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:492:44: error: cannot find type 'MKMapView' in scope
public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> AnnotationMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:505:42: error: cannot find type 'MKMapView' in scope
public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> AnnotationMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:583:42: error: cannot find type 'MKUserTrackingMode' in scope
public func userTrackingMode(_ mode: MKUserTrackingMode) -> AnnotationMapView {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:9:22: error: cannot find type 'MKMapView' in scope
var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:12:34: error: cannot find type 'MKMapView' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:12:54: error: cannot find type 'Context' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:16:46: error: cannot find type 'MKMapView' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:16:34: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:56:57: error: cannot find type 'MKMapViewDelegate' in scope
class rawMutableAnnotationMapCoordinator: NSObject, MKMapViewDelegate {
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:58:35: error: 'MKPointAnnotation' is unavailable in watchOS
var currentAnnotations = [MKPointAnnotation]()
^~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointAnnotation.h:16:12: note: 'MKPointAnnotation' has been explicitly marked unavailable here
@interface MKPointAnnotation : MKShape
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:62:55: error: cannot find type 'MKMapView' in scope
func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:65:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:65:60: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:68:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:68:62: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:70:43: error: cannot find type 'UIGestureRecognizer' in scope
@objc func addAnnotation(gesture: UIGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:7:33: error: cannot find type 'UIViewRepresentable' in scope
struct rawMutableAnnotationMap: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:115:36: error: cannot find type 'MKMapView' in scope
@State public var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:129:91: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:154:124: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, isFirstResponder: Binding<Bool>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:178:107: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:201:140: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, isFirstResponder: Binding<Bool>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:293:44: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public func pointsOfInterest(_ filter: MKPointOfInterestFilter) -> MutableMapView {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:358:33: error: 'MKMapType' is unavailable in watchOS
public func mapType(_ type: MKMapType) -> MutableMapView {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:12:29: note: 'MKMapType' has been explicitly marked unavailable here
typedef NS_ENUM(NSUInteger, MKMapType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:371:34: error: 'MKMapCamera' is unavailable in watchOS
public func camera(_ camera: MKMapCamera) -> MutableMapView {
^~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h:18:12: note: 'MKMapCamera' has been explicitly marked unavailable here
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:397:44: error: cannot find type 'MKMapView' in scope
public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> MutableMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:410:42: error: cannot find type 'MKMapView' in scope
public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> MutableMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:488:42: error: cannot find type 'MKUserTrackingMode' in scope
public func userTrackingMode(_ mode: MKUserTrackingMode) -> MutableMapView {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:14:36: error: cannot find type 'UISearchBar' in scope
@Binding var searchBarDetails: UISearchBar
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:18:34: error: cannot find type 'UISearchBarDelegate' in scope
class Coordinator: NSObject, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:28:37: error: cannot find type 'UISearchBar' in scope
func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:32:56: error: cannot find type 'UISearchBar' in scope
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:72: error: cannot find type 'UISearchBar' in scope
func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:30: error: cannot find type 'UIViewRepresentableContext' in scope
func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:33: error: cannot find type 'UISearchBar' in scope
func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:55: error: cannot find type 'UIViewRepresentableContext' in scope
func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:13:19: error: cannot find type 'UIViewRepresentable' in scope
struct SearchBar: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:38:29: error: 'MKLocalSearchCompletion' is unavailable in watchOS
@State var completion = MKLocalSearchCompletion()
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:39:34: error: cannot find type 'UISearchBar' in scope
@State var searchBarDetails: UISearchBar = UISearchBar()
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:41:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:47:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:47:88: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:53:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:59:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:59:88: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:138:44: error: cannot find type 'UIBarButtonItem' in scope
public func toolbarButtons(_ buttons: [UIBarButtonItem]) -> Self {
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:147:39: error: 'MKLocalSearchCompletion' is unavailable in watchOS
@Published var locationResults : [MKLocalSearchCompletion] = []
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:152:35: error: 'MKLocalSearchCompleter' is unavailable in watchOS
private var searchCompleter = MKLocalSearchCompleter()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:153:44: error: 'MKLocalSearchCompletion' is unavailable in watchOS
private var currentPromise : ((Result<[MKLocalSearchCompletion], Error>) -> Void)?
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:155:23: error: 'MKLocalSearchCompleter' is unavailable in watchOS
init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:155:81: error: 'MKPointOfInterestFilter' is unavailable in watchOS
init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:175:61: error: 'MKLocalSearchCompletion' is unavailable in watchOS
func searchTermToResults(searchTerm: String) -> Future<[MKLocalSearchCompletion], Error> {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:184:49: error: 'MKLocalSearchCompleter' is unavailable in watchOS
func completerDidUpdateResults(_ completer: MKLocalSearchCompleter) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:188:33: error: 'MKLocalSearchCompleter' is unavailable in watchOS
func completer(_ completer: MKLocalSearchCompleter, didFailWithError error: Error) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:183:23: error: 'MKLocalSearchCompleterDelegate' is unavailable in watchOS
extension MapSearch : MKLocalSearchCompleterDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:62:11: note: 'MKLocalSearchCompleterDelegate' has been explicitly marked unavailable here
@protocol MKLocalSearchCompleterDelegate <NSObject>
^
SwiftEmitModule normal armv7k Emitting\ module\ for\ SwiftUIMap (in target 'SwiftUIMap' from project 'SwiftUIMap')
EmitSwiftModule normal armv7k (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ReversedGeoLocation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/ReversedGeoLocation.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/ReversedGeoLocation.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Search\ View.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ View.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ View.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AnnotationMapView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing\ Annotation\ Map/AnnotationMapView.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing\ Annotation\ Map/AnnotationMapView.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ MutatableAnnotationMap.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable\ Annotation\ Map/MutatableAnnotationMap.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable\ Annotation\ Map/MutatableAnnotationMap.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIMap (in target 'SwiftUIMap' from project 'SwiftUIMap')
EmitSwiftModule normal arm64_32 (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:47:33: error: cannot find type 'MKFeatureDisplayPriority' in scope
public let displayPriority: MKFeatureDisplayPriority
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:49:162: error: cannot find type 'MKFeatureDisplayPriority' in scope
public init(title: String, subtitle: String, location: Location, glyphImage: glyphImage, markerTintColor: UIColor, glyphTintColor: UIColor, displayPriority: MKFeatureDisplayPriority) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:39:15: error: type 'Annotations' does not conform to protocol 'Hashable'
public struct Annotations: Identifiable, Equatable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:47:16: note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Annotations' to 'Hashable'
public let displayPriority: MKFeatureDisplayPriority
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:39:15: error: type 'Annotations' does not conform to protocol 'Equatable'
public struct Annotations: Identifiable, Equatable, Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:47:16: note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Annotations' to 'Equatable'
public let displayPriority: MKFeatureDisplayPriority
^
Swift.==:1:24: note: candidate would match if 'Annotations' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Annotations' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Annotations' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
^
Swift._Pointer.==:2:20: note: candidate would match if 'Annotations' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
Swift._Pointer.==:2:31: note: candidate would match if 'Annotations' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
^
Swift.Strideable.==:2:31: note: candidate would match if 'Annotations' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool}
^
Swift.StringProtocol.==:2:31: note: candidate would match if 'Annotations' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
^
Swift.SIMD.==:2:20: note: candidate would match if 'Annotations' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool}
^
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'Annotations' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
^
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Annotations' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool}
^
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'Annotations' conformed to '_CFObject'
public static func == (left: Self, right: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:39:15: note: add stubs for conformance
public struct Annotations: Identifiable, Equatable, Hashable {
^
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Annotations, Annotations) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:117:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
extension CLLocationCoordinate2D: Hashable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:117:1: note: add '@retroactive' to silence this warning
extension CLLocationCoordinate2D: Hashable {
^ ~~~~~~~~
@retroactive Hashable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:133:94: error: 'MKMapCamera' is unavailable in watchOS
public static func defaultCameraAngle(location: CLLocationCoordinate2D, zoom: Double) -> MKMapCamera {
^~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h:18:12: note: 'MKMapCamera' has been explicitly marked unavailable here
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:10:29: error: cannot find type 'MKMapView' in scope
@State var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:20:34: error: cannot find type 'MKMapView' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:20:54: error: cannot find type 'Context' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:25:42: error: cannot find type 'MKMapView' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:25:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:34:27: error: cannot find type 'MKMapView' in scope
func addPoints(myMap: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:68:32: error: cannot find type 'MKMapView' in scope
func updatePoints(mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:137:58: error: cannot find type 'MKMapViewDelegate' in scope
class rawExistingAnnotationMapCoordinator: NSObject, MKMapViewDelegate {
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:147:55: error: cannot find type 'MKMapView' in scope
func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:153:81: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:153:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:190:52: error: cannot find type 'MKMapView' in scope
func mapViewDidFinishLoadingMap(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:195:47: error: cannot find type 'MKMapView' in scope
@objc func updateAnnotations(mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:200:54: error: cannot find type 'MKMapView' in scope
func mapViewWillStartLocatingUser(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:203:52: error: cannot find type 'MKMapView' in scope
func mapViewDidStopLocatingUser(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:206:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didFailToLocateUserWithError error: Error) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:209:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:209:60: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:244:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:244:62: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:7:34: error: cannot find type 'UIViewRepresentable' in scope
struct RawExistingAnnotationMap: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:250:1: warning: extension declares a conformance of imported type 'MKCoordinateSpan' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
extension MKCoordinateSpan: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:250:1: note: add '@retroactive' to silence this warning
extension MKCoordinateSpan: Equatable {
^ ~~~~~~~~~
@retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:263:1: warning: extension declares a conformance of imported type 'MKCoordinateRegion' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
extension MKCoordinateRegion: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:263:1: note: add '@retroactive' to silence this warning
extension MKCoordinateRegion: Equatable {
^ ~~~~~~~~~
@retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:75:36: error: cannot find type 'MKMapView' in scope
@State public var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:112:277: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, points: Binding<[Annotations]>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:151:348: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, points: Binding<[Annotations]>, isUserLocationVisible: Binding<Bool>, isFirstResponder: Binding<Bool>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:205:293: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, points: Binding<[Annotations]>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:242:364: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, points: Binding<[Annotations]>, isUserLocationVisible: Binding<Bool>, isFirstResponder: Binding<Bool>, selected: @escaping (_ Title: String, _ Subtitle: String, _ Location: Location, _ isCluster: Bool) -> Void, deselected: @escaping () -> Void, advancedModifiers: @escaping (_ map: MKMapView) -> Void) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:264:34: error: cannot find type 'MKMapView' in scope
func setDefaultCamera(_ map: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:387:44: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public func pointsOfInterest(_ filter: MKPointOfInterestFilter) -> AnnotationMapView {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:452:33: error: 'MKMapType' is unavailable in watchOS
public func mapType(_ type: MKMapType) -> AnnotationMapView {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:12:29: note: 'MKMapType' has been explicitly marked unavailable here
typedef NS_ENUM(NSUInteger, MKMapType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:465:34: error: 'MKMapCamera' is unavailable in watchOS
public func camera(_ camera: MKMapCamera) -> AnnotationMapView {
^~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h:18:12: note: 'MKMapCamera' has been explicitly marked unavailable here
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:492:44: error: cannot find type 'MKMapView' in scope
public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> AnnotationMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:505:42: error: cannot find type 'MKMapView' in scope
public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> AnnotationMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:583:42: error: cannot find type 'MKUserTrackingMode' in scope
public func userTrackingMode(_ mode: MKUserTrackingMode) -> AnnotationMapView {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:9:22: error: cannot find type 'MKMapView' in scope
var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:12:34: error: cannot find type 'MKMapView' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:12:54: error: cannot find type 'Context' in scope
func updateUIView(_ mapView: MKMapView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:16:46: error: cannot find type 'MKMapView' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:16:34: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> MKMapView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:56:57: error: cannot find type 'MKMapViewDelegate' in scope
class rawMutableAnnotationMapCoordinator: NSObject, MKMapViewDelegate {
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:58:35: error: 'MKPointAnnotation' is unavailable in watchOS
var currentAnnotations = [MKPointAnnotation]()
^~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointAnnotation.h:16:12: note: 'MKPointAnnotation' has been explicitly marked unavailable here
@interface MKPointAnnotation : MKShape
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:62:55: error: cannot find type 'MKMapView' in scope
func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:65:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:65:60: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:68:33: error: cannot find type 'MKMapView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:68:62: error: cannot find type 'MKAnnotationView' in scope
func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:70:43: error: cannot find type 'UIGestureRecognizer' in scope
@objc func addAnnotation(gesture: UIGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:7:33: error: cannot find type 'UIViewRepresentable' in scope
struct rawMutableAnnotationMap: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:115:36: error: cannot find type 'MKMapView' in scope
@State public var modifierMap: MKMapView
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:129:91: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:154:124: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, address: Binding<String>, isFirstResponder: Binding<Bool>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:178:107: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:201:140: error: cannot find type 'MKMapView' in scope
public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, isFirstResponder: Binding<Bool>, advancedModifiers: () -> MKMapView) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:293:44: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public func pointsOfInterest(_ filter: MKPointOfInterestFilter) -> MutableMapView {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:358:33: error: 'MKMapType' is unavailable in watchOS
public func mapType(_ type: MKMapType) -> MutableMapView {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:12:29: note: 'MKMapType' has been explicitly marked unavailable here
typedef NS_ENUM(NSUInteger, MKMapType) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:371:34: error: 'MKMapCamera' is unavailable in watchOS
public func camera(_ camera: MKMapCamera) -> MutableMapView {
^~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h:18:12: note: 'MKMapCamera' has been explicitly marked unavailable here
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:397:44: error: cannot find type 'MKMapView' in scope
public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> MutableMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:410:42: error: cannot find type 'MKMapView' in scope
public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> MutableMapView {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:488:42: error: cannot find type 'MKUserTrackingMode' in scope
public func userTrackingMode(_ mode: MKUserTrackingMode) -> MutableMapView {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:14:36: error: cannot find type 'UISearchBar' in scope
@Binding var searchBarDetails: UISearchBar
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:18:34: error: cannot find type 'UISearchBarDelegate' in scope
class Coordinator: NSObject, UISearchBarDelegate {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:28:37: error: cannot find type 'UISearchBar' in scope
func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:32:56: error: cannot find type 'UISearchBar' in scope
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:72: error: cannot find type 'UISearchBar' in scope
func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:30: error: cannot find type 'UIViewRepresentableContext' in scope
func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:33: error: cannot find type 'UISearchBar' in scope
func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:55: error: cannot find type 'UIViewRepresentableContext' in scope
func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:13:19: error: cannot find type 'UIViewRepresentable' in scope
struct SearchBar: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:38:29: error: 'MKLocalSearchCompletion' is unavailable in watchOS
@State var completion = MKLocalSearchCompletion()
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:39:34: error: cannot find type 'UISearchBar' in scope
@State var searchBarDetails: UISearchBar = UISearchBar()
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:41:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:47:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:47:88: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:53:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:59:30: error: 'MKLocalSearchCompleter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:59:88: error: 'MKPointOfInterestFilter' is unavailable in watchOS
public init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?, onSelectAdvanced: @escaping (_ title: String, _ placemark: CLPlacemark) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:138:44: error: cannot find type 'UIBarButtonItem' in scope
public func toolbarButtons(_ buttons: [UIBarButtonItem]) -> Self {
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:147:39: error: 'MKLocalSearchCompletion' is unavailable in watchOS
@Published var locationResults : [MKLocalSearchCompletion] = []
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:152:35: error: 'MKLocalSearchCompleter' is unavailable in watchOS
private var searchCompleter = MKLocalSearchCompleter()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:153:44: error: 'MKLocalSearchCompletion' is unavailable in watchOS
private var currentPromise : ((Result<[MKLocalSearchCompletion], Error>) -> Void)?
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:155:23: error: 'MKLocalSearchCompleter' is unavailable in watchOS
init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:155:81: error: 'MKPointOfInterestFilter' is unavailable in watchOS
init(resultTypes: MKLocalSearchCompleter.ResultType, pointOfInterestFilter: MKPointOfInterestFilter?) {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h:14:12: note: 'MKPointOfInterestFilter' has been explicitly marked unavailable here
@interface MKPointOfInterestFilter : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:175:61: error: 'MKLocalSearchCompletion' is unavailable in watchOS
func searchTermToResults(searchTerm: String) -> Future<[MKLocalSearchCompletion], Error> {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:71:12: note: 'MKLocalSearchCompletion' has been explicitly marked unavailable here
@interface MKLocalSearchCompletion : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:184:49: error: 'MKLocalSearchCompleter' is unavailable in watchOS
func completerDidUpdateResults(_ completer: MKLocalSearchCompleter) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:188:33: error: 'MKLocalSearchCompleter' is unavailable in watchOS
func completer(_ completer: MKLocalSearchCompleter, didFailWithError error: Error) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:36:12: note: 'MKLocalSearchCompleter' has been explicitly marked unavailable here
@interface MKLocalSearchCompleter : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:183:23: error: 'MKLocalSearchCompleterDelegate' is unavailable in watchOS
extension MapSearch : MKLocalSearchCompleterDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h:62:11: note: 'MKLocalSearchCompleterDelegate' has been explicitly marked unavailable here
@protocol MKLocalSearchCompleterDelegate <NSObject>
^
SwiftCompile normal arm64_32 Compiling\ Search\ View.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ View.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
Command SwiftCompile failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIMap (in target 'SwiftUIMap' from project 'SwiftUIMap')
EmitSwiftModule normal arm64 (in target 'SwiftUIMap' from project 'SwiftUIMap')
EmitSwiftModule normal arm64_32 (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal arm64_32 Compiling\ Search\ View.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ View.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
Building workspace spi-builder-workspace with scheme SwiftUIMap
(5 failures)
BUILD FAILURE 6.1 watchOS