Build Information
Failed to build SwiftUIMap, reference main (f3d621), with Swift 6.4 for watchOS using Xcode 27.0 on 19 Sep 2026 22:01:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftUIMap -destination generic/platform=watchOSBuild Log
161 | #endif
162 | @property (nonatomic) BOOL showsBuildings API_DEPRECATED("None", macos(10.9, API_TO_BE_DEPRECATED), ios(7.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // Affects MKMapTypeStandard
| `- note: 'showsBuildings' has been explicitly marked unavailable here
163 | @property (nonatomic) BOOL showsTraffic API_DEPRECATED("Use showsTraffic on respective MKMapConfiguration", macos(10.11, API_TO_BE_DEPRECATED), ios(9.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // Affects MKMapTypeStandard and MKMapTypeHybrid
164 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:372:21: error: 'camera' is unavailable in watchOS
370 | */
371 | public func camera(_ camera: MKMapCamera) -> MutableMapView {
372 | modifierMap.camera = camera
| `- error: 'camera' is unavailable in watchOS
373 | return self
374 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:398:21: error: 'cameraBoundary' is unavailable in watchOS
396 | */
397 | public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> MutableMapView {
398 | modifierMap.cameraBoundary = boundary
| `- error: 'cameraBoundary' is unavailable in watchOS
399 | return self
400 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:125:60: note: 'cameraBoundary' has been explicitly marked unavailable here
123 | - (void)setCameraZoomRange:(nullable MKMapCameraZoomRange *)cameraZoomRange animated:(BOOL)animated API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
124 |
125 | @property (nonatomic, copy, nullable) MKMapCameraBoundary *cameraBoundary API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'cameraBoundary' has been explicitly marked unavailable here
126 | - (void)setCameraBoundary:(nullable MKMapCameraBoundary *)cameraBoundary animated:(BOOL)animated API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:411:21: error: 'cameraZoomRange' is unavailable in watchOS
409 | */
410 | public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> MutableMapView {
411 | modifierMap.cameraZoomRange = range
| `- error: 'cameraZoomRange' is unavailable in watchOS
412 | return self
413 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:122:68: note: 'cameraZoomRange' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
122 | @property (nonatomic, copy, null_resettable) MKMapCameraZoomRange *cameraZoomRange API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'cameraZoomRange' has been explicitly marked unavailable here
123 | - (void)setCameraZoomRange:(nullable MKMapCameraZoomRange *)cameraZoomRange animated:(BOOL)animated API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
124 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:424:21: error: 'isPitchEnabled' is unavailable in watchOS
422 | */
423 | public func isPitchEnabled(_ enabled: Bool) -> MutableMapView {
424 | modifierMap.isPitchEnabled = enabled
| `- error: 'isPitchEnabled' is unavailable in watchOS
425 | return self
426 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:146:51: note: 'isPitchEnabled' has been explicitly marked unavailable here
144 | // Rotate and pitch are enabled by default on Mac OS X and on iOS 7.0 and later.
145 | @property (nonatomic, getter=isRotateEnabled) BOOL rotateEnabled API_AVAILABLE(macos(10.9), ios(7.0)) API_UNAVAILABLE(tvos, watchos);
146 | @property (nonatomic, getter=isPitchEnabled) BOOL pitchEnabled API_AVAILABLE(macos(10.9), ios(7.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'isPitchEnabled' has been explicitly marked unavailable here
147 |
148 | @property (nonatomic, assign) BOOL showsUserTrackingButton API_AVAILABLE(ios(17.0), tvos(17.0), macos(14.0), macCatalyst(17.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:437:21: error: 'isRotateEnabled' is unavailable in watchOS
435 | */
436 | public func isRotateEnabled(_ enabled: Bool) -> MutableMapView {
437 | modifierMap.isRotateEnabled = enabled
| `- error: 'isRotateEnabled' is unavailable in watchOS
438 | return self
439 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:145:52: note: 'isRotateEnabled' has been explicitly marked unavailable here
143 | @property (nonatomic, getter=isScrollEnabled) BOOL scrollEnabled;
144 | // Rotate and pitch are enabled by default on Mac OS X and on iOS 7.0 and later.
145 | @property (nonatomic, getter=isRotateEnabled) BOOL rotateEnabled API_AVAILABLE(macos(10.9), ios(7.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'isRotateEnabled' has been explicitly marked unavailable here
146 | @property (nonatomic, getter=isPitchEnabled) BOOL pitchEnabled API_AVAILABLE(macos(10.9), ios(7.0)) API_UNAVAILABLE(tvos, watchos);
147 |
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
builtin-SwiftPerFileCompile MutatableAnnotationMap.swift
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')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:14:36: error: 'UISearchBar' is unavailable in watchOS
12 |
13 | struct SearchBar: UIViewRepresentable {
14 | @Binding var searchBarDetails: UISearchBar
| `- error: 'UISearchBar' is unavailable in watchOS
15 | @Binding var text: String
16 | var onCommit: (_ value: String) -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:28:37: error: 'UISearchBar' is unavailable in watchOS
26 | }
27 |
28 | func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
| `- error: 'UISearchBar' is unavailable in watchOS
29 | text = searchText
30 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:32:56: error: 'UISearchBar' is unavailable in watchOS
30 | }
31 |
32 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
33 | print("resign keyboard")
34 | searchBar.resignFirstResponder()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:18:34: error: 'UISearchBarDelegate' is unavailable in watchOS
16 | var onCommit: (_ value: String) -> Void
17 |
18 | class Coordinator: NSObject, UISearchBarDelegate {
| `- error: 'UISearchBarDelegate' is unavailable in watchOS
19 |
20 | @Binding var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:176:11: note: 'UISearchBarDelegate' has been explicitly marked unavailable here
174 |
175 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
176 | @protocol UISearchBarDelegate <UIBarPositioningDelegate>
| `- note: 'UISearchBarDelegate' has been explicitly marked unavailable here
177 |
178 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:30: error: cannot find type 'UIViewRepresentableContext' in scope
42 | }
43 |
44 | func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
45 | let searchBar = searchBarDetails
46 | searchBar.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:72: error: 'UISearchBar' is unavailable in watchOS
42 | }
43 |
44 | func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
| `- error: 'UISearchBar' is unavailable in watchOS
45 | let searchBar = searchBarDetails
46 | searchBar.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:55: error: cannot find type 'UIViewRepresentableContext' in scope
58 | return searchBar
59 | }
60 | func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
61 | uiView.text = text
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:33: error: 'UISearchBar' is unavailable in watchOS
58 | return searchBar
59 | }
60 | func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
| `- error: 'UISearchBar' is unavailable in watchOS
61 | uiView.text = text
62 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ Bar.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Search\ Bar.swift
SwiftCompile normal arm64_32 Compiling\ ReversedGeoLocation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/ReversedGeoLocation.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftCompile normal arm64_32 /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
builtin-SwiftPerFileCompile ReversedGeoLocation.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIMap (in target 'SwiftUIMap' from project 'SwiftUIMap')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:47:33: error: 'MKFeatureDisplayPriority' is unavailable in watchOS
45 | public let markerTintColor: UIColor
46 | public let glyphTintColor: UIColor
47 | public let displayPriority: MKFeatureDisplayPriority
| `- error: 'MKFeatureDisplayPriority' is unavailable in watchOS
48 |
49 | public init(title: String, subtitle: String, location: Location, glyphImage: glyphImage, markerTintColor: UIColor, glyphTintColor: UIColor, displayPriority: MKFeatureDisplayPriority) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h:33:15: note: 'MKFeatureDisplayPriority' has been explicitly marked unavailable here
31 | } API_AVAILABLE(macos(10.9), ios(4.0)) API_UNAVAILABLE(tvos, watchos);
32 |
33 | typedef float MKFeatureDisplayPriority NS_TYPED_EXTENSIBLE_ENUM NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos);
| `- note: 'MKFeatureDisplayPriority' has been explicitly marked unavailable here
34 | static const MKFeatureDisplayPriority MKFeatureDisplayPriorityRequired NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos) = 1000;
35 | static const MKFeatureDisplayPriority MKFeatureDisplayPriorityDefaultHigh NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos) = 750;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:49:162: error: 'MKFeatureDisplayPriority' is unavailable in watchOS
47 | public let displayPriority: MKFeatureDisplayPriority
48 |
49 | public init(title: String, subtitle: String, location: Location, glyphImage: glyphImage, markerTintColor: UIColor, glyphTintColor: UIColor, displayPriority: MKFeatureDisplayPriority) {
| `- error: 'MKFeatureDisplayPriority' is unavailable in watchOS
50 | self.title = title
51 | self.subtitle = subtitle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h:33:15: note: 'MKFeatureDisplayPriority' has been explicitly marked unavailable here
31 | } API_AVAILABLE(macos(10.9), ios(4.0)) API_UNAVAILABLE(tvos, watchos);
32 |
33 | typedef float MKFeatureDisplayPriority NS_TYPED_EXTENSIBLE_ENUM NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos);
| `- note: 'MKFeatureDisplayPriority' has been explicitly marked unavailable here
34 | static const MKFeatureDisplayPriority MKFeatureDisplayPriorityRequired NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos) = 1000;
35 | static const MKFeatureDisplayPriority MKFeatureDisplayPriorityDefaultHigh NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos) = 750;
/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 '_LocationEssentials' introduce this conformance in the future
115 | public typealias LocationCoordinate = CLLocationCoordinate2D
116 | public typealias LocationRegion = MKCoordinateRegion
117 | extension CLLocationCoordinate2D: Hashable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
118 | public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
119 | (lhs.latitude, lhs.longitude) > (rhs.latitude, rhs.longitude)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:10:29: error: 'MKMapView' is unavailable in watchOS
8 | @Binding var region: MKCoordinateRegion
9 | @Binding var points: [Annotations]
10 | @State var modifierMap: MKMapView
| `- error: 'MKMapView' is unavailable in watchOS
11 | @State var selected: (_ Title: String, _ Subtitle: String, _ Location: Location, _ Cluster: Bool) -> Void
12 | @State var deselected: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
macro expansion @State:1:45: error: 'MKMapView' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:10:38: note: expanded code originates here
8 | @Binding var region: MKCoordinateRegion
9 | @Binding var points: [Annotations]
10 | @State var modifierMap: MKMapView
| `- note: in expansion of macro 'State' on property 'modifierMap' here
+--- macro expansion @State ----------------------------------------
|1 | private var _modifierMap: SwiftUICore.State<MKMapView>
| | `- error: 'MKMapView' is unavailable in watchOS
|2 |
|3 | var $modifierMap: SwiftUICore.Binding<MKMapView> {
+-------------------------------------------------------------------
11 | @State var selected: (_ Title: String, _ Subtitle: String, _ Location: Location, _ Cluster: Bool) -> Void
12 | @State var deselected: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
macro expansion @State:3:39: error: 'MKMapView' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:10:38: note: expanded code originates here
8 | @Binding var region: MKCoordinateRegion
9 | @Binding var points: [Annotations]
10 | @State var modifierMap: MKMapView
| `- note: in expansion of macro 'State' on property 'modifierMap' here
+--- macro expansion @State ----------------------------------------
|1 | private var _modifierMap: SwiftUICore.State<MKMapView>
|2 |
|3 | var $modifierMap: SwiftUICore.Binding<MKMapView> {
| | `- error: 'MKMapView' is unavailable in watchOS
|4 | _modifierMap.projectedValue
|5 | }
+-------------------------------------------------------------------
11 | @State var selected: (_ Title: String, _ Subtitle: String, _ Location: Location, _ Cluster: Bool) -> Void
12 | @State var deselected: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:20:54: error: cannot find type 'Context' in scope
18 |
19 | // var annotationSelected: MKAnnotationView
20 | func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
21 | mapView.setRegion(self.region, animated: true)
22 | // self.updatePoints(mapView: mapView)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:20:34: error: 'MKMapView' is unavailable in watchOS
18 |
19 | // var annotationSelected: MKAnnotationView
20 | func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
21 | mapView.setRegion(self.region, animated: true)
22 | // self.updatePoints(mapView: mapView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:25:30: error: cannot find type 'Context' in scope
23 | }
24 |
25 | func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
26 | let myMap = modifierMap
27 | self.addPoints(myMap: myMap)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:25:42: error: 'MKMapView' is unavailable in watchOS
23 | }
24 |
25 | func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
26 | let myMap = modifierMap
27 | self.addPoints(myMap: myMap)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:34:27: error: 'MKMapView' is unavailable in watchOS
32 | }
33 |
34 | func addPoints(myMap: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
35 | myMap.removeAnnotations(addedPoints)
36 | for point in points {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:68:32: error: 'MKMapView' is unavailable in watchOS
66 | }
67 | }
68 | func updatePoints(mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
69 | for point in self.points {
70 | print("check point \(point)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:147:55: error: 'MKMapView' is unavailable in watchOS
145 | }
146 |
147 | func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
148 | if self.entireMapViewController.region != mapView.region {
149 | self.entireMapViewController.region = mapView.region
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:153:33: error: 'MKMapView' is unavailable in watchOS
151 | }
152 |
153 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
154 | let annotationView = MKMarkerAnnotationView(annotation: annotation, reuseIdentifier: String(describing: annotation.title))
155 | if self.entireMapViewController.points != [] && self.entireMapViewController.points.contains(where: {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:153:81: error: 'MKAnnotationView' is unavailable in watchOS
151 | }
152 |
153 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
154 | let annotationView = MKMarkerAnnotationView(annotation: annotation, reuseIdentifier: String(describing: annotation.title))
155 | if self.entireMapViewController.points != [] && self.entireMapViewController.points.contains(where: {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h:54:12: note: 'MKAnnotationView' has been explicitly marked unavailable here
52 | #if TARGET_OS_IPHONE
53 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
54 | @interface MKAnnotationView : UIView
| `- note: 'MKAnnotationView' has been explicitly marked unavailable here
55 | #else
56 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:190:52: error: 'MKMapView' is unavailable in watchOS
188 | }
189 | }
190 | func mapViewDidFinishLoadingMap(_ mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
191 | NotificationCenter.default.addObserver(forName: NSNotification.Name("SwiftUIMap.updateAnnotations"), object: true, queue: .main) { _ in
192 | self.updateAnnotations(mapView: mapView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:195:47: error: 'MKMapView' is unavailable in watchOS
193 | }
194 | }
195 | @objc func updateAnnotations(mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
196 | print("points changed!")
197 | print("check, points.count = \(self.entireMapViewController.points.count)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:200:54: error: 'MKMapView' is unavailable in watchOS
198 | entireMapViewController.updatePoints(mapView: mapView)
199 | }
200 | func mapViewWillStartLocatingUser(_ mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
201 | entireMapViewController.userLocationBecomesVisible()
202 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:203:52: error: 'MKMapView' is unavailable in watchOS
201 | entireMapViewController.userLocationBecomesVisible()
202 | }
203 | func mapViewDidStopLocatingUser(_ mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
204 | entireMapViewController.userLocationBecomesInvisible()
205 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:206:33: error: 'MKMapView' is unavailable in watchOS
204 | entireMapViewController.userLocationBecomesInvisible()
205 | }
206 | func mapView(_ mapView: MKMapView, didFailToLocateUserWithError error: Error) {
| `- error: 'MKMapView' is unavailable in watchOS
207 | entireMapViewController.userLocationBecomesInvisible()
208 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:209:33: error: 'MKMapView' is unavailable in watchOS
207 | entireMapViewController.userLocationBecomesInvisible()
208 | }
209 | func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
| `- error: 'MKMapView' is unavailable in watchOS
210 | let coordinates = view.annotation!.coordinate
211 | let annotationCluster = view.annotation as? MKClusterAnnotation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:209:60: error: 'MKAnnotationView' is unavailable in watchOS
207 | entireMapViewController.userLocationBecomesInvisible()
208 | }
209 | func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
| `- error: 'MKAnnotationView' is unavailable in watchOS
210 | let coordinates = view.annotation!.coordinate
211 | let annotationCluster = view.annotation as? MKClusterAnnotation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h:54:12: note: 'MKAnnotationView' has been explicitly marked unavailable here
52 | #if TARGET_OS_IPHONE
53 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
54 | @interface MKAnnotationView : UIView
| `- note: 'MKAnnotationView' has been explicitly marked unavailable here
55 | #else
56 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:244:33: error: 'MKMapView' is unavailable in watchOS
242 | }
243 | }
244 | func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
| `- error: 'MKMapView' is unavailable in watchOS
245 | deselected()
246 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:244:62: error: 'MKAnnotationView' is unavailable in watchOS
242 | }
243 | }
244 | func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
| `- error: 'MKAnnotationView' is unavailable in watchOS
245 | deselected()
246 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h:54:12: note: 'MKAnnotationView' has been explicitly marked unavailable here
52 | #if TARGET_OS_IPHONE
53 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
54 | @interface MKAnnotationView : UIView
| `- note: 'MKAnnotationView' has been explicitly marked unavailable here
55 | #else
56 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:137:58: error: 'MKMapViewDelegate' is unavailable in watchOS
135 | }
136 |
137 | class rawExistingAnnotationMapCoordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
138 | var entireMapViewController: RawExistingAnnotationMap
139 | var selected: (_ Title: String, _ Subtitle: String, _ Location: Location, _ Cluster: Bool) -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:260:11: note: 'MKMapViewDelegate' has been explicitly marked unavailable here
258 | API_UNAVAILABLE(watchos)
259 | NS_SWIFT_UI_ACTOR
260 | @protocol MKMapViewDelegate <NSObject>
| `- note: 'MKMapViewDelegate' has been explicitly marked unavailable here
261 | @optional
262 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:147:14: error: cannot override 'mapViewDidChangeVisibleRegion' which has been marked unavailable
145 | }
146 |
147 | func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
| `- error: cannot override 'mapViewDidChangeVisibleRegion' which has been marked unavailable
148 | if self.entireMapViewController.region != mapView.region {
149 | self.entireMapViewController.region = mapView.region
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:266:1: note: 'mapViewDidChangeVisibleRegion' has been explicitly marked unavailable here
264 | - (void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated;
265 |
266 | - (void)mapViewDidChangeVisibleRegion:(MKMapView *)mapView API_AVAILABLE(ios(11), tvos(11), macos(10.13)) API_UNAVAILABLE(watchos);
| `- note: 'mapViewDidChangeVisibleRegion' has been explicitly marked unavailable here
267 |
268 | - (void)mapViewWillStartLoadingMap:(MKMapView *)mapView;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:209:14: error: cannot override 'mapView' which has been marked unavailable
207 | entireMapViewController.userLocationBecomesInvisible()
208 | }
209 | func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
| `- error: cannot override 'mapView' which has been marked unavailable
210 | let coordinates = view.annotation!.coordinate
211 | let annotationCluster = view.annotation as? MKClusterAnnotation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:290:1: note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
288 | #endif
289 |
290 | - (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
291 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
292 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:244:14: error: cannot override 'mapView' which has been marked unavailable
242 | }
243 | }
244 | func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
| `- error: cannot override 'mapView' which has been marked unavailable
245 | deselected()
246 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:291:1: note: 'mapView(_:didDeselect:)' has been explicitly marked unavailable here
289 |
290 | - (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
291 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapView(_:didDeselect:)' has been explicitly marked unavailable here
292 |
293 | - (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:200:14: error: cannot override 'mapViewWillStartLocatingUser' which has been marked unavailable
198 | entireMapViewController.updatePoints(mapView: mapView)
199 | }
200 | func mapViewWillStartLocatingUser(_ mapView: MKMapView) {
| `- error: cannot override 'mapViewWillStartLocatingUser' which has been marked unavailable
201 | entireMapViewController.userLocationBecomesVisible()
202 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:313:1: note: 'mapViewWillStartLocatingUser' has been explicitly marked unavailable here
311 | #endif
312 |
313 | - (void)mapViewWillStartLocatingUser:(MKMapView *)mapView API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapViewWillStartLocatingUser' has been explicitly marked unavailable here
314 | - (void)mapViewDidStopLocatingUser:(MKMapView *)mapView API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
315 | - (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:203:14: error: cannot override 'mapViewDidStopLocatingUser' which has been marked unavailable
201 | entireMapViewController.userLocationBecomesVisible()
202 | }
203 | func mapViewDidStopLocatingUser(_ mapView: MKMapView) {
| `- error: cannot override 'mapViewDidStopLocatingUser' which has been marked unavailable
204 | entireMapViewController.userLocationBecomesInvisible()
205 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:314:1: note: 'mapViewDidStopLocatingUser' has been explicitly marked unavailable here
312 |
313 | - (void)mapViewWillStartLocatingUser:(MKMapView *)mapView API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
314 | - (void)mapViewDidStopLocatingUser:(MKMapView *)mapView API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapViewDidStopLocatingUser' has been explicitly marked unavailable here
315 | - (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
316 | - (void)mapView:(MKMapView *)mapView didFailToLocateUserWithError:(NSError *)error API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:206:14: error: cannot override 'mapView' which has been marked unavailable
204 | entireMapViewController.userLocationBecomesInvisible()
205 | }
206 | func mapView(_ mapView: MKMapView, didFailToLocateUserWithError error: Error) {
| `- error: cannot override 'mapView' which has been marked unavailable
207 | entireMapViewController.userLocationBecomesInvisible()
208 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:316:1: note: 'mapView(_:didFailToLocateUserWithError:)' has been explicitly marked unavailable here
314 | - (void)mapViewDidStopLocatingUser:(MKMapView *)mapView API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
315 | - (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
316 | - (void)mapView:(MKMapView *)mapView didFailToLocateUserWithError:(NSError *)error API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapView(_:didFailToLocateUserWithError:)' has been explicitly marked unavailable here
317 |
318 | - (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view didChangeDragState:(MKAnnotationViewDragState)newState
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/AnnotationMapView.swift:7:34: error: cannot find type 'UIViewRepresentable' in scope
5 | #if os(iOS) || os(tvOS) || os(watchOS)// || os(macOS)
6 |
7 | struct RawExistingAnnotationMap: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
8 | @Binding var region: MKCoordinateRegion
9 | @Binding var points: [Annotations]
/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
248 | }
249 |
250 | extension MKCoordinateSpan: Equatable {
| |- 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
| `- note: add '@retroactive' to silence this warning
251 | public static func == (lhs: MKCoordinateSpan, rhs: MKCoordinateSpan) -> Bool {
252 | guard lhs.latitudeDelta.rounded(toPlaces: 1) > 0.1,
/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
261 | }
262 | }
263 | extension MKCoordinateRegion: Equatable {
| |- 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
| `- note: add '@retroactive' to silence this warning
264 | public static func == (lhs: MKCoordinateRegion, rhs: MKCoordinateRegion) -> Bool {
265 | return lhs.center.latitude.rounded(toPlaces: 4) == rhs.center.latitude.rounded(toPlaces: 4) && lhs.center.longitude.rounded(toPlaces: 4) == rhs.center.longitude.rounded(toPlaces: 4) && lhs.span == rhs.span
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:75:36: error: 'MKMapView' is unavailable in watchOS
73 | @Binding public var points: [Annotations]
74 | @State private var region: LocationRegion
75 | @State public var modifierMap: MKMapView
| `- error: 'MKMapView' is unavailable in watchOS
76 | @State public var selected: (_ Title: String, _ Subtitle: String, _ Location: Location, _ Cluster: Bool) -> Void
77 | @State public var deselected: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
macro expansion @State:1:45: error: 'MKMapView' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:75:45: note: expanded code originates here
73 | @Binding public var points: [Annotations]
74 | @State private var region: LocationRegion
75 | @State public var modifierMap: MKMapView
| `- note: in expansion of macro 'State' on property 'modifierMap' here
+--- macro expansion @State ----------------------------------------
|1 | private var _modifierMap: SwiftUICore.State<MKMapView>
| | `- error: 'MKMapView' is unavailable in watchOS
|2 |
|3 | public var $modifierMap: SwiftUICore.Binding<MKMapView> {
+-------------------------------------------------------------------
76 | @State public var selected: (_ Title: String, _ Subtitle: String, _ Location: Location, _ Cluster: Bool) -> Void
77 | @State public var deselected: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
macro expansion @State:3:46: error: 'MKMapView' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:75:45: note: expanded code originates here
73 | @Binding public var points: [Annotations]
74 | @State private var region: LocationRegion
75 | @State public var modifierMap: MKMapView
| `- note: in expansion of macro 'State' on property 'modifierMap' here
+--- macro expansion @State ----------------------------------------
|1 | private var _modifierMap: SwiftUICore.State<MKMapView>
|2 |
|3 | public var $modifierMap: SwiftUICore.Binding<MKMapView> {
| | `- error: 'MKMapView' is unavailable in watchOS
|4 | _modifierMap.projectedValue
|5 | }
+-------------------------------------------------------------------
76 | @State public var selected: (_ Title: String, _ Subtitle: String, _ Location: Location, _ Cluster: Bool) -> Void
77 | @State public var deselected: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:112:277: error: 'MKMapView' is unavailable in watchOS
110 | setCoordinatesFromAddress()
111 | }
112 | 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) {
| `- error: 'MKMapView' is unavailable in watchOS
113 | self._zoom = zoom
114 | self._address = address
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:151:348: error: 'MKMapView' is unavailable in watchOS
149 | self.setCoordinatesFromAddress()
150 | }
151 | 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) {
| `- error: 'MKMapView' is unavailable in watchOS
152 | self._zoom = zoom
153 | self._address = address
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:205:293: error: 'MKMapView' is unavailable in watchOS
203 | setDefaultCamera(self.modifierMap)
204 | }
205 | 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) {
| `- error: 'MKMapView' is unavailable in watchOS
206 | self._zoom = zoom
207 | self._coordinates = coordinates
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:242:364: error: 'MKMapView' is unavailable in watchOS
240 | self.setDefaultCamera(self.modifierMap)
241 | }
242 | 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) {
| `- error: 'MKMapView' is unavailable in watchOS
243 | self._zoom = zoom
244 | self._coordinates = coordinates
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:264:34: error: 'MKMapView' is unavailable in watchOS
262 | }
263 |
264 | func setDefaultCamera(_ map: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
265 | if map == MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0) {
266 | let geoCoder = CLGeocoder()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:452:33: error: 'MKMapType' is unavailable in watchOS
450 | ```
451 | */
452 | public func mapType(_ type: MKMapType) -> AnnotationMapView {
| `- error: 'MKMapType' is unavailable in watchOS
453 | modifierMap.mapType = type
454 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:12:29: note: 'MKMapType' has been explicitly marked unavailable here
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | typedef NS_ENUM(NSUInteger, MKMapType) {
| `- note: 'MKMapType' has been explicitly marked unavailable here
13 | MKMapTypeStandard = 0,
14 | MKMapTypeSatellite,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:492:44: error: 'MKMapView' is unavailable in watchOS
490 | ```
491 | */
492 | public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> AnnotationMapView {
| `- error: 'MKMapView' is unavailable in watchOS
493 | modifierMap.cameraBoundary = boundary
494 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:505:42: error: 'MKMapView' is unavailable in watchOS
503 | ```
504 | */
505 | public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> AnnotationMapView {
| `- error: 'MKMapView' is unavailable in watchOS
506 | modifierMap.cameraZoomRange = range
507 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:583:42: error: 'MKUserTrackingMode' is unavailable in watchOS
581 | ```
582 | */
583 | public func userTrackingMode(_ mode: MKUserTrackingMode) -> AnnotationMapView {
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
584 | modifierMap.userTrackingMode = mode
585 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:50:28: note: 'MKUserTrackingMode' has been explicitly marked unavailable here
48 | #if MK_SUPPORTS_VIEW_CLASSES
49 |
50 | typedef NS_ENUM(NSInteger, MKUserTrackingMode) {
| `- note: 'MKUserTrackingMode' has been explicitly marked unavailable here
51 | MKUserTrackingModeNone = 0, // the user's location is not followed
52 | MKUserTrackingModeFollow, // the map follows the user's location
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:9:22: error: 'MKMapView' is unavailable in watchOS
7 | struct rawMutableAnnotationMap: UIViewRepresentable {
8 | @Binding var region: MKCoordinateRegion
9 | var modifierMap: MKMapView
| `- error: 'MKMapView' is unavailable in watchOS
10 |
11 | // var annotationSelected: MKAnnotationView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:12:54: error: cannot find type 'Context' in scope
10 |
11 | // var annotationSelected: MKAnnotationView
12 | func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
13 | mapView.setRegion(self.region, animated: true)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:12:34: error: 'MKMapView' is unavailable in watchOS
10 |
11 | // var annotationSelected: MKAnnotationView
12 | func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
13 | mapView.setRegion(self.region, animated: true)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:16:34: error: cannot find type 'Context' in scope
14 | }
15 |
16 | func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
17 |
18 | let myMap = MKMapView(frame: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:16:46: error: 'MKMapView' is unavailable in watchOS
14 | }
15 |
16 | func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
17 |
18 | let myMap = MKMapView(frame: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:62:55: error: 'MKMapView' is unavailable in watchOS
60 | self.entireMapViewController = control
61 | }
62 | func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
63 | self.entireMapViewController.region = mapView.region
64 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:65:33: error: 'MKMapView' is unavailable in watchOS
63 | self.entireMapViewController.region = mapView.region
64 | }
65 | func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
| `- error: 'MKMapView' is unavailable in watchOS
66 | mapView.removeAnnotation(view.annotation!)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:65:60: error: 'MKAnnotationView' is unavailable in watchOS
63 | self.entireMapViewController.region = mapView.region
64 | }
65 | func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
| `- error: 'MKAnnotationView' is unavailable in watchOS
66 | mapView.removeAnnotation(view.annotation!)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h:54:12: note: 'MKAnnotationView' has been explicitly marked unavailable here
52 | #if TARGET_OS_IPHONE
53 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
54 | @interface MKAnnotationView : UIView
| `- note: 'MKAnnotationView' has been explicitly marked unavailable here
55 | #else
56 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:68:33: error: 'MKMapView' is unavailable in watchOS
66 | mapView.removeAnnotation(view.annotation!)
67 | }
68 | func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
| `- error: 'MKMapView' is unavailable in watchOS
69 | }
70 | @objc func addAnnotation(gesture: UIGestureRecognizer) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:68:62: error: 'MKAnnotationView' is unavailable in watchOS
66 | mapView.removeAnnotation(view.annotation!)
67 | }
68 | func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
| `- error: 'MKAnnotationView' is unavailable in watchOS
69 | }
70 | @objc func addAnnotation(gesture: UIGestureRecognizer) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h:54:12: note: 'MKAnnotationView' has been explicitly marked unavailable here
52 | #if TARGET_OS_IPHONE
53 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
54 | @interface MKAnnotationView : UIView
| `- note: 'MKAnnotationView' has been explicitly marked unavailable here
55 | #else
56 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:70:43: error: 'UIGestureRecognizer' is unavailable in watchOS
68 | func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
69 | }
70 | @objc func addAnnotation(gesture: UIGestureRecognizer) {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
71 |
72 | if gesture.state == .began {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:56:57: error: 'MKMapViewDelegate' is unavailable in watchOS
54 | }
55 |
56 | class rawMutableAnnotationMapCoordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
57 | var entireMapViewController: rawMutableAnnotationMap
58 | var currentAnnotations = [MKPointAnnotation]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:260:11: note: 'MKMapViewDelegate' has been explicitly marked unavailable here
258 | API_UNAVAILABLE(watchos)
259 | NS_SWIFT_UI_ACTOR
260 | @protocol MKMapViewDelegate <NSObject>
| `- note: 'MKMapViewDelegate' has been explicitly marked unavailable here
261 | @optional
262 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:62:14: error: cannot override 'mapViewDidChangeVisibleRegion' which has been marked unavailable
60 | self.entireMapViewController = control
61 | }
62 | func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
| `- error: cannot override 'mapViewDidChangeVisibleRegion' which has been marked unavailable
63 | self.entireMapViewController.region = mapView.region
64 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:266:1: note: 'mapViewDidChangeVisibleRegion' has been explicitly marked unavailable here
264 | - (void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated;
265 |
266 | - (void)mapViewDidChangeVisibleRegion:(MKMapView *)mapView API_AVAILABLE(ios(11), tvos(11), macos(10.13)) API_UNAVAILABLE(watchos);
| `- note: 'mapViewDidChangeVisibleRegion' has been explicitly marked unavailable here
267 |
268 | - (void)mapViewWillStartLoadingMap:(MKMapView *)mapView;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:65:14: error: cannot override 'mapView' which has been marked unavailable
63 | self.entireMapViewController.region = mapView.region
64 | }
65 | func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
| `- error: cannot override 'mapView' which has been marked unavailable
66 | mapView.removeAnnotation(view.annotation!)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:290:1: note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
288 | #endif
289 |
290 | - (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
291 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
292 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:68:14: error: cannot override 'mapView' which has been marked unavailable
66 | mapView.removeAnnotation(view.annotation!)
67 | }
68 | func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
| `- error: cannot override 'mapView' which has been marked unavailable
69 | }
70 | @objc func addAnnotation(gesture: UIGestureRecognizer) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:291:1: note: 'mapView(_:didDeselect:)' has been explicitly marked unavailable here
289 |
290 | - (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
291 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapView(_:didDeselect:)' has been explicitly marked unavailable here
292 |
293 | - (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:7:33: error: cannot find type 'UIViewRepresentable' in scope
5 | #if os(iOS) || os(tvOS) || os(watchOS)// || os(macOS)
6 |
7 | struct rawMutableAnnotationMap: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
8 | @Binding var region: MKCoordinateRegion
9 | var modifierMap: MKMapView
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:115:36: error: 'MKMapView' is unavailable in watchOS
113 | @State private var region: LocationRegion
114 | @Binding public private(set) var isFirstResponder: Bool
115 | @State public var modifierMap: MKMapView
| `- error: 'MKMapView' is unavailable in watchOS
116 |
117 | public init(zoom: Binding<Double>, address: Binding<String>) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
macro expansion @State:1:45: error: 'MKMapView' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:115:45: note: expanded code originates here
113 | @State private var region: LocationRegion
114 | @Binding public private(set) var isFirstResponder: Bool
115 | @State public var modifierMap: MKMapView
| `- note: in expansion of macro 'State' on property 'modifierMap' here
+--- macro expansion @State ----------------------------------------
|1 | private var _modifierMap: SwiftUICore.State<MKMapView>
| | `- error: 'MKMapView' is unavailable in watchOS
|2 |
|3 | public var $modifierMap: SwiftUICore.Binding<MKMapView> {
+-------------------------------------------------------------------
116 |
117 | public init(zoom: Binding<Double>, address: Binding<String>) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
macro expansion @State:3:46: error: 'MKMapView' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:115:45: note: expanded code originates here
113 | @State private var region: LocationRegion
114 | @Binding public private(set) var isFirstResponder: Bool
115 | @State public var modifierMap: MKMapView
| `- note: in expansion of macro 'State' on property 'modifierMap' here
+--- macro expansion @State ----------------------------------------
|1 | private var _modifierMap: SwiftUICore.State<MKMapView>
|2 |
|3 | public var $modifierMap: SwiftUICore.Binding<MKMapView> {
| | `- error: 'MKMapView' is unavailable in watchOS
|4 | _modifierMap.projectedValue
|5 | }
+-------------------------------------------------------------------
116 |
117 | public init(zoom: Binding<Double>, address: Binding<String>) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:129:91: error: 'MKMapView' is unavailable in watchOS
127 | self.setCoordinatesFromAddress()
128 | }
129 | public init(zoom: Binding<Double>, address: Binding<String>, advancedModifiers: () -> MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
130 | self._zoom = zoom
131 | self._address = address
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:154:124: error: 'MKMapView' is unavailable in watchOS
152 | self.setCoordinatesFromAddress()
153 | }
154 | public init(zoom: Binding<Double>, address: Binding<String>, isFirstResponder: Binding<Bool>, advancedModifiers: () -> MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
155 | self._zoom = zoom
156 | self._address = address
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:178:107: error: 'MKMapView' is unavailable in watchOS
176 | self._isFirstResponder = .constant(false)
177 | }
178 | public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, advancedModifiers: () -> MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
179 | self._zoom = zoom
180 | self._coordinates = coordinates
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:201:140: error: 'MKMapView' is unavailable in watchOS
199 | self.checkInfo()
200 | }
201 | public init(zoom: Binding<Double>, coordinates: Binding<LocationCoordinate>, isFirstResponder: Binding<Bool>, advancedModifiers: () -> MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
202 | self._zoom = zoom
203 | self._coordinates = coordinates
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:358:33: error: 'MKMapType' is unavailable in watchOS
356 | ```
357 | */
358 | public func mapType(_ type: MKMapType) -> MutableMapView {
| `- error: 'MKMapType' is unavailable in watchOS
359 | modifierMap.mapType = type
360 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:12:29: note: 'MKMapType' has been explicitly marked unavailable here
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | typedef NS_ENUM(NSUInteger, MKMapType) {
| `- note: 'MKMapType' has been explicitly marked unavailable here
13 | MKMapTypeStandard = 0,
14 | MKMapTypeSatellite,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:397:44: error: 'MKMapView' is unavailable in watchOS
395 | ```
396 | */
397 | public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> MutableMapView {
| `- error: 'MKMapView' is unavailable in watchOS
398 | modifierMap.cameraBoundary = boundary
399 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:410:42: error: 'MKMapView' is unavailable in watchOS
408 | ```
409 | */
410 | public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> MutableMapView {
| `- error: 'MKMapView' is unavailable in watchOS
411 | modifierMap.cameraZoomRange = range
412 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Mutatable Annotation Map/MutatableAnnotationMap.swift:488:42: error: 'MKUserTrackingMode' is unavailable in watchOS
486 | ```
487 | */
488 | public func userTrackingMode(_ mode: MKUserTrackingMode) -> MutableMapView {
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
489 | modifierMap.userTrackingMode = mode
490 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:50:28: note: 'MKUserTrackingMode' has been explicitly marked unavailable here
48 | #if MK_SUPPORTS_VIEW_CLASSES
49 |
50 | typedef NS_ENUM(NSInteger, MKUserTrackingMode) {
| `- note: 'MKUserTrackingMode' has been explicitly marked unavailable here
51 | MKUserTrackingModeNone = 0, // the user's location is not followed
52 | MKUserTrackingModeFollow, // the map follows the user's location
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:14:36: error: 'UISearchBar' is unavailable in watchOS
12 |
13 | struct SearchBar: UIViewRepresentable {
14 | @Binding var searchBarDetails: UISearchBar
| `- error: 'UISearchBar' is unavailable in watchOS
15 | @Binding var text: String
16 | var onCommit: (_ value: String) -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:28:37: error: 'UISearchBar' is unavailable in watchOS
26 | }
27 |
28 | func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
| `- error: 'UISearchBar' is unavailable in watchOS
29 | text = searchText
30 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:32:56: error: 'UISearchBar' is unavailable in watchOS
30 | }
31 |
32 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
33 | print("resign keyboard")
34 | searchBar.resignFirstResponder()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:18:34: error: 'UISearchBarDelegate' is unavailable in watchOS
16 | var onCommit: (_ value: String) -> Void
17 |
18 | class Coordinator: NSObject, UISearchBarDelegate {
| `- error: 'UISearchBarDelegate' is unavailable in watchOS
19 |
20 | @Binding var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:176:11: note: 'UISearchBarDelegate' has been explicitly marked unavailable here
174 |
175 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
176 | @protocol UISearchBarDelegate <UIBarPositioningDelegate>
| `- note: 'UISearchBarDelegate' has been explicitly marked unavailable here
177 |
178 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:30: error: cannot find type 'UIViewRepresentableContext' in scope
42 | }
43 |
44 | func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
45 | let searchBar = searchBarDetails
46 | searchBar.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:72: error: 'UISearchBar' is unavailable in watchOS
42 | }
43 |
44 | func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
| `- error: 'UISearchBar' is unavailable in watchOS
45 | let searchBar = searchBarDetails
46 | searchBar.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:55: error: cannot find type 'UIViewRepresentableContext' in scope
58 | return searchBar
59 | }
60 | func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
61 | uiView.text = text
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:33: error: 'UISearchBar' is unavailable in watchOS
58 | return searchBar
59 | }
60 | func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
| `- error: 'UISearchBar' is unavailable in watchOS
61 | uiView.text = text
62 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:13:19: error: cannot find type 'UIViewRepresentable' in scope
11 | import MapKit
12 |
13 | struct SearchBar: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
14 | @Binding var searchBarDetails: UISearchBar
15 | @Binding var text: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:39:34: error: 'UISearchBar' is unavailable in watchOS
37 | @State private var isBtnActive = false
38 | @State var completion = MKLocalSearchCompletion()
39 | @State var searchBarDetails: UISearchBar = UISearchBar()
| `- error: 'UISearchBar' is unavailable in watchOS
40 |
41 | public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:39:48: error: 'UISearchBar' is unavailable in watchOS
37 | @State private var isBtnActive = false
38 | @State var completion = MKLocalSearchCompletion()
39 | @State var searchBarDetails: UISearchBar = UISearchBar()
| `- error: 'UISearchBar' is unavailable in watchOS
40 |
41 | public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
macro expansion @State:1:51: error: 'UISearchBar' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:39:61: note: expanded code originates here
37 | @State private var isBtnActive = false
38 | @State var completion = MKLocalSearchCompletion()
39 | @State var searchBarDetails: UISearchBar = UISearchBar()
| `- note: in expansion of macro 'State' on property 'searchBarDetails' here
+--- macro expansion @State ----------------------------------------
|1 | private var _searchBarDetails = SwiftUICore.State<UISearchBar>(initialValue: UISearchBar())
| | `- error: 'UISearchBar' is unavailable in watchOS
|2 |
|3 | @SwiftUICore._PropertyWrapperProjectedValue
+-------------------------------------------------------------------
40 |
41 | public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
macro expansion @State:1:78: error: 'UISearchBar' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:39:61: note: expanded code originates here
37 | @State private var isBtnActive = false
38 | @State var completion = MKLocalSearchCompletion()
39 | @State var searchBarDetails: UISearchBar = UISearchBar()
| `- note: in expansion of macro 'State' on property 'searchBarDetails' here
+--- macro expansion @State ----------------------------------------
|1 | private var _searchBarDetails = SwiftUICore.State<UISearchBar>(initialValue: UISearchBar())
| | `- error: 'UISearchBar' is unavailable in watchOS
|2 |
|3 | @SwiftUICore._PropertyWrapperProjectedValue
+-------------------------------------------------------------------
40 |
41 | public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
macro expansion @State:4:43: error: 'UISearchBar' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:39:61: note: expanded code originates here
37 | @State private var isBtnActive = false
38 | @State var completion = MKLocalSearchCompletion()
39 | @State var searchBarDetails: UISearchBar = UISearchBar()
| `- note: in expansion of macro 'State' on property 'searchBarDetails' here
+--- macro expansion @State ----------------------------------------
|2 |
|3 | @SwiftUICore._PropertyWrapperProjectedValue
|4 | var $searchBarDetails = SwiftUICore.State<UISearchBar>(initialValue: UISearchBar()).projectedValue
| | `- error: 'UISearchBar' is unavailable in watchOS
+-------------------------------------------------------------------
40 |
41 | public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
macro expansion @State:4:70: error: 'UISearchBar' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search View.swift:39:61: note: expanded code originates here
37 | @State private var isBtnActive = false
38 | @State var completion = MKLocalSearchCompletion()
39 | @State var searchBarDetails: UISearchBar = UISearchBar()
| `- note: in expansion of macro 'State' on property 'searchBarDetails' here
+--- macro expansion @State ----------------------------------------
|2 |
|3 | @SwiftUICore._PropertyWrapperProjectedValue
|4 | var $searchBarDetails = SwiftUICore.State<UISearchBar>(initialValue: UISearchBar()).projectedValue
| | `- error: 'UISearchBar' is unavailable in watchOS
+-------------------------------------------------------------------
40 |
41 | public init(resultTypes: MKLocalSearchCompleter.ResultType, onSelect: @escaping (_ title: String, _ address: String) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
SwiftCompile normal arm64 (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Search\ Bar.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ Bar.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:14:36: error: 'UISearchBar' is unavailable in watchOS
12 |
13 | struct SearchBar: UIViewRepresentable {
14 | @Binding var searchBarDetails: UISearchBar
| `- error: 'UISearchBar' is unavailable in watchOS
15 | @Binding var text: String
16 | var onCommit: (_ value: String) -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:28:37: error: 'UISearchBar' is unavailable in watchOS
26 | }
27 |
28 | func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
| `- error: 'UISearchBar' is unavailable in watchOS
29 | text = searchText
30 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:32:56: error: 'UISearchBar' is unavailable in watchOS
30 | }
31 |
32 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
33 | print("resign keyboard")
34 | searchBar.resignFirstResponder()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:18:34: error: 'UISearchBarDelegate' is unavailable in watchOS
16 | var onCommit: (_ value: String) -> Void
17 |
18 | class Coordinator: NSObject, UISearchBarDelegate {
| `- error: 'UISearchBarDelegate' is unavailable in watchOS
19 |
20 | @Binding var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:176:11: note: 'UISearchBarDelegate' has been explicitly marked unavailable here
174 |
175 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
176 | @protocol UISearchBarDelegate <UIBarPositioningDelegate>
| `- note: 'UISearchBarDelegate' has been explicitly marked unavailable here
177 |
178 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:30: error: cannot find type 'UIViewRepresentableContext' in scope
42 | }
43 |
44 | func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
45 | let searchBar = searchBarDetails
46 | searchBar.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:44:72: error: 'UISearchBar' is unavailable in watchOS
42 | }
43 |
44 | func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
| `- error: 'UISearchBar' is unavailable in watchOS
45 | let searchBar = searchBarDetails
46 | searchBar.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:55: error: cannot find type 'UIViewRepresentableContext' in scope
58 | return searchBar
59 | }
60 | func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
61 | uiView.text = text
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search Bar.swift:60:33: error: 'UISearchBar' is unavailable in watchOS
58 | return searchBar
59 | }
60 | func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
| `- error: 'UISearchBar' is unavailable in watchOS
61 | uiView.text = text
62 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Search/Search\ Bar.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Search\ Bar.swift
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')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:75:36: error: 'MKMapView' is unavailable in watchOS
73 | @Binding public var points: [Annotations]
74 | @State private var region: LocationRegion
75 | @State public var modifierMap: MKMapView
| `- error: 'MKMapView' is unavailable in watchOS
76 | @State public var selected: (_ Title: String, _ Subtitle: String, _ Location: Location, _ Cluster: Bool) -> Void
77 | @State public var deselected: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
macro expansion @State:1:45: error: 'MKMapView' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:75:45: note: expanded code originates here
73 | @Binding public var points: [Annotations]
74 | @State private var region: LocationRegion
75 | @State public var modifierMap: MKMapView
| `- note: in expansion of macro 'State' on property 'modifierMap' here
+--- macro expansion @State ----------------------------------------
|1 | private var _modifierMap: SwiftUICore.State<MKMapView>
| | `- error: 'MKMapView' is unavailable in watchOS
|2 |
|3 | public var $modifierMap: SwiftUICore.Binding<MKMapView> {
+-------------------------------------------------------------------
76 | @State public var selected: (_ Title: String, _ Subtitle: String, _ Location: Location, _ Cluster: Bool) -> Void
77 | @State public var deselected: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
macro expansion @State:3:46: error: 'MKMapView' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:75:45: note: expanded code originates here
73 | @Binding public var points: [Annotations]
74 | @State private var region: LocationRegion
75 | @State public var modifierMap: MKMapView
| `- note: in expansion of macro 'State' on property 'modifierMap' here
+--- macro expansion @State ----------------------------------------
|1 | private var _modifierMap: SwiftUICore.State<MKMapView>
|2 |
|3 | public var $modifierMap: SwiftUICore.Binding<MKMapView> {
| | `- error: 'MKMapView' is unavailable in watchOS
|4 | _modifierMap.projectedValue
|5 | }
+-------------------------------------------------------------------
76 | @State public var selected: (_ Title: String, _ Subtitle: String, _ Location: Location, _ Cluster: Bool) -> Void
77 | @State public var deselected: () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:112:277: error: 'MKMapView' is unavailable in watchOS
110 | setCoordinatesFromAddress()
111 | }
112 | 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) {
| `- error: 'MKMapView' is unavailable in watchOS
113 | self._zoom = zoom
114 | self._address = address
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:151:348: error: 'MKMapView' is unavailable in watchOS
149 | self.setCoordinatesFromAddress()
150 | }
151 | 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) {
| `- error: 'MKMapView' is unavailable in watchOS
152 | self._zoom = zoom
153 | self._address = address
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:205:293: error: 'MKMapView' is unavailable in watchOS
203 | setDefaultCamera(self.modifierMap)
204 | }
205 | 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) {
| `- error: 'MKMapView' is unavailable in watchOS
206 | self._zoom = zoom
207 | self._coordinates = coordinates
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:242:364: error: 'MKMapView' is unavailable in watchOS
240 | self.setDefaultCamera(self.modifierMap)
241 | }
242 | 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) {
| `- error: 'MKMapView' is unavailable in watchOS
243 | self._zoom = zoom
244 | self._coordinates = coordinates
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:264:34: error: 'MKMapView' is unavailable in watchOS
262 | }
263 |
264 | func setDefaultCamera(_ map: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
265 | if map == MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0) {
266 | let geoCoder = CLGeocoder()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:452:33: error: 'MKMapType' is unavailable in watchOS
450 | ```
451 | */
452 | public func mapType(_ type: MKMapType) -> AnnotationMapView {
| `- error: 'MKMapType' is unavailable in watchOS
453 | modifierMap.mapType = type
454 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:12:29: note: 'MKMapType' has been explicitly marked unavailable here
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | typedef NS_ENUM(NSUInteger, MKMapType) {
| `- note: 'MKMapType' has been explicitly marked unavailable here
13 | MKMapTypeStandard = 0,
14 | MKMapTypeSatellite,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:492:44: error: 'MKMapView' is unavailable in watchOS
490 | ```
491 | */
492 | public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> AnnotationMapView {
| `- error: 'MKMapView' is unavailable in watchOS
493 | modifierMap.cameraBoundary = boundary
494 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:505:42: error: 'MKMapView' is unavailable in watchOS
503 | ```
504 | */
505 | public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> AnnotationMapView {
| `- error: 'MKMapView' is unavailable in watchOS
506 | modifierMap.cameraZoomRange = range
507 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:583:42: error: 'MKUserTrackingMode' is unavailable in watchOS
581 | ```
582 | */
583 | public func userTrackingMode(_ mode: MKUserTrackingMode) -> AnnotationMapView {
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
584 | modifierMap.userTrackingMode = mode
585 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:50:28: note: 'MKUserTrackingMode' has been explicitly marked unavailable here
48 | #if MK_SUPPORTS_VIEW_CLASSES
49 |
50 | typedef NS_ENUM(NSInteger, MKUserTrackingMode) {
| `- note: 'MKUserTrackingMode' has been explicitly marked unavailable here
51 | MKUserTrackingModeNone = 0, // the user's location is not followed
52 | MKUserTrackingModeFollow, // the map follows the user's location
macro expansion @State:15:25: warning: attempting to modify 'refresh' within its own setter
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:64:33: note: expanded code originates here
62 | @Binding public var coordinates: LocationCoordinate
63 | @Binding var isUserLocationVisible: Bool
64 | @State var refresh = false {
| |- note: in expansion of macro 'State' on property 'refresh' here
| `- note: in expansion of macro 'State' on property 'refresh' here
+--- macro expansion @State ----------------------------------------
|13 | if refresh {
|14 | DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(50)) {
|15 | refresh = false
| | |- warning: attempting to modify 'refresh' within its own setter
| | `- note: access 'self' explicitly to silence this warning
|16 | }
|17 | }
+-------------------------------------------------------------------
65 | didSet {
66 | if refresh {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:90:28: error: 'MKMapView' is unavailable in watchOS
88 | self.deselected = deselected
89 | self._isUserLocationVisible = .constant(false)
90 | self.modifierMap = MKMapView(frame: .zero)
| `- error: 'MKMapView' is unavailable in watchOS
91 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
92 | setDefaultCamera(self.modifierMap)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:91:21: error: 'camera' is unavailable in watchOS
89 | self._isUserLocationVisible = .constant(false)
90 | self.modifierMap = MKMapView(frame: .zero)
91 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
92 | setDefaultCamera(self.modifierMap)
93 | setCoordinatesFromAddress()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:107:28: error: 'MKMapView' is unavailable in watchOS
105 | self.deselected = {}
106 | self._isUserLocationVisible = .constant(false)
107 | self.modifierMap = MKMapView(frame: .zero)
| `- error: 'MKMapView' is unavailable in watchOS
108 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
109 | setDefaultCamera(self.modifierMap)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:108:21: error: 'camera' is unavailable in watchOS
106 | self._isUserLocationVisible = .constant(false)
107 | self.modifierMap = MKMapView(frame: .zero)
108 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
109 | setDefaultCamera(self.modifierMap)
110 | setCoordinatesFromAddress()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:124:29: error: 'MKMapView' is unavailable in watchOS
122 | self.deselected = deselected
123 | self._isUserLocationVisible = .constant(false)
124 | let finalMap: () -> MKMapView = {
| `- error: 'MKMapView' is unavailable in watchOS
125 | let map = MKMapView()
126 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:125:23: error: 'MKMapView' is unavailable in watchOS
123 | self._isUserLocationVisible = .constant(false)
124 | let finalMap: () -> MKMapView = {
125 | let map = MKMapView()
| `- error: 'MKMapView' is unavailable in watchOS
126 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
127 | advancedModifiers(map)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:125:23: error: 'init()' is unavailable in watchOS
123 | self._isUserLocationVisible = .constant(false)
124 | let finalMap: () -> MKMapView = {
125 | let map = MKMapView()
| `- error: 'init()' is unavailable in watchOS
126 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
127 | advancedModifiers(map)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:126:17: error: 'camera' is unavailable in watchOS
124 | let finalMap: () -> MKMapView = {
125 | let map = MKMapView()
126 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
127 | advancedModifiers(map)
128 | return map
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:146:28: error: 'MKMapView' is unavailable in watchOS
144 | self.deselected = deselected
145 | self._isUserLocationVisible = isUserLocationVisible
146 | self.modifierMap = MKMapView(frame: .zero)
| `- error: 'MKMapView' is unavailable in watchOS
147 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
148 | self.setDefaultCamera(self.modifierMap)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:147:21: error: 'camera' is unavailable in watchOS
145 | self._isUserLocationVisible = isUserLocationVisible
146 | self.modifierMap = MKMapView(frame: .zero)
147 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
148 | self.setDefaultCamera(self.modifierMap)
149 | self.setCoordinatesFromAddress()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:163:29: error: 'MKMapView' is unavailable in watchOS
161 | self.deselected = deselected
162 | self._isUserLocationVisible = isUserLocationVisible
163 | let finalMap: () -> MKMapView = {
| `- error: 'MKMapView' is unavailable in watchOS
164 | let map = MKMapView()
165 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:164:23: error: 'MKMapView' is unavailable in watchOS
162 | self._isUserLocationVisible = isUserLocationVisible
163 | let finalMap: () -> MKMapView = {
164 | let map = MKMapView()
| `- error: 'MKMapView' is unavailable in watchOS
165 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
166 | advancedModifiers(map)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:164:23: error: 'init()' is unavailable in watchOS
162 | self._isUserLocationVisible = isUserLocationVisible
163 | let finalMap: () -> MKMapView = {
164 | let map = MKMapView()
| `- error: 'init()' is unavailable in watchOS
165 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
166 | advancedModifiers(map)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:165:17: error: 'camera' is unavailable in watchOS
163 | let finalMap: () -> MKMapView = {
164 | let map = MKMapView()
165 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
166 | advancedModifiers(map)
167 | return map
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:185:28: error: 'MKMapView' is unavailable in watchOS
183 | self.deselected = deselected
184 | self._isUserLocationVisible = .constant(false)
185 | self.modifierMap = MKMapView(frame: .zero)
| `- error: 'MKMapView' is unavailable in watchOS
186 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
187 | setDefaultCamera(self.modifierMap)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:186:21: error: 'camera' is unavailable in watchOS
184 | self._isUserLocationVisible = .constant(false)
185 | self.modifierMap = MKMapView(frame: .zero)
186 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
187 | setDefaultCamera(self.modifierMap)
188 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:201:28: error: 'MKMapView' is unavailable in watchOS
199 | self.deselected = {}
200 | self._isUserLocationVisible = .constant(false)
201 | self.modifierMap = MKMapView(frame: .zero)
| `- error: 'MKMapView' is unavailable in watchOS
202 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
203 | setDefaultCamera(self.modifierMap)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:202:21: error: 'camera' is unavailable in watchOS
200 | self._isUserLocationVisible = .constant(false)
201 | self.modifierMap = MKMapView(frame: .zero)
202 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
203 | setDefaultCamera(self.modifierMap)
204 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:217:29: error: 'MKMapView' is unavailable in watchOS
215 | self.deselected = deselected
216 | self._isUserLocationVisible = .constant(false)
217 | let finalMap: () -> MKMapView = {
| `- error: 'MKMapView' is unavailable in watchOS
218 | let map = MKMapView()
219 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:218:23: error: 'MKMapView' is unavailable in watchOS
216 | self._isUserLocationVisible = .constant(false)
217 | let finalMap: () -> MKMapView = {
218 | let map = MKMapView()
| `- error: 'MKMapView' is unavailable in watchOS
219 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
220 | advancedModifiers(map)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:218:23: error: 'init()' is unavailable in watchOS
216 | self._isUserLocationVisible = .constant(false)
217 | let finalMap: () -> MKMapView = {
218 | let map = MKMapView()
| `- error: 'init()' is unavailable in watchOS
219 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
220 | advancedModifiers(map)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:219:17: error: 'camera' is unavailable in watchOS
217 | let finalMap: () -> MKMapView = {
218 | let map = MKMapView()
219 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
220 | advancedModifiers(map)
221 | return map
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:238:28: error: 'MKMapView' is unavailable in watchOS
236 | self.deselected = deselected
237 | self._isUserLocationVisible = isUserLocationVisible
238 | self.modifierMap = MKMapView(frame: .zero)
| `- error: 'MKMapView' is unavailable in watchOS
239 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
240 | self.setDefaultCamera(self.modifierMap)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:239:21: error: 'camera' is unavailable in watchOS
237 | self._isUserLocationVisible = isUserLocationVisible
238 | self.modifierMap = MKMapView(frame: .zero)
239 | modifierMap.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
240 | self.setDefaultCamera(self.modifierMap)
241 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:254:29: error: 'MKMapView' is unavailable in watchOS
252 | self.deselected = deselected
253 | self._isUserLocationVisible = isUserLocationVisible
254 | let finalMap: () -> MKMapView = {
| `- error: 'MKMapView' is unavailable in watchOS
255 | let map = MKMapView()
256 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:255:23: error: 'MKMapView' is unavailable in watchOS
253 | self._isUserLocationVisible = isUserLocationVisible
254 | let finalMap: () -> MKMapView = {
255 | let map = MKMapView()
| `- error: 'MKMapView' is unavailable in watchOS
256 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
257 | advancedModifiers(map)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:255:23: error: 'init()' is unavailable in watchOS
253 | self._isUserLocationVisible = isUserLocationVisible
254 | let finalMap: () -> MKMapView = {
255 | let map = MKMapView()
| `- error: 'init()' is unavailable in watchOS
256 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
257 | advancedModifiers(map)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:256:17: error: 'camera' is unavailable in watchOS
254 | let finalMap: () -> MKMapView = {
255 | let map = MKMapView()
256 | map.camera = MKMapCamera(lookingAtCenter: CLLocationCoordinate2D(), fromDistance: CLLocationDistance(), pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
257 | advancedModifiers(map)
258 | return map
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:279:25: error: 'camera' is unavailable in watchOS
277 | // Use your location
278 | let loc = CLLocationCoordinate2D(latitude: location.coordinate.latitude, longitude: location.coordinate.longitude)
279 | map.camera = MKMapCamera(lookingAtCenter: loc, fromDistance: zoom*252555, pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
280 | }
281 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:283:21: error: 'camera' is unavailable in watchOS
281 | } else {
282 | let coordinates = CLLocationCoordinate2D(latitude: coordinates.latitude, longitude: coordinates.longitude)
283 | map.camera = MKMapCamera(lookingAtCenter: coordinates, fromDistance: zoom*252555, pitch: 0, heading: 0)
| `- error: 'camera' is unavailable in watchOS
284 | }
285 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:309:25: error: generic struct 'VStack' requires that 'RawExistingAnnotationMap' conform to 'View'
307 | public var body: some View {
308 | VStack {
309 | if !refresh {
| `- error: generic struct 'VStack' requires that 'RawExistingAnnotationMap' conform to 'View'
310 | RawExistingAnnotationMap(region: $region, points: $points, modifierMap: modifierMap, selected: { Title, Subtitle, Location, Cluster in
311 | // location = Location
SwiftUI.VStack:2:35: note: where 'Content' = 'RawExistingAnnotationMap'
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen nonisolated public struct VStack<Content> : View, ~Sendable where Content : View {
| `- note: where 'Content' = 'RawExistingAnnotationMap'
3 | @inlinable nonisolated public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ContentBuilder content: () -> Content)
4 | public static func _makeView(view: _GraphValue<VStack<Content>>, inputs: _ViewInputs) -> _ViewOutputs
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:308:16: error: cannot convert value of type 'RawExistingAnnotationMap?' to closure result type 'RawExistingAnnotationMap'
306 |
307 | public var body: some View {
308 | VStack {
| `- error: cannot convert value of type 'RawExistingAnnotationMap?' to closure result type 'RawExistingAnnotationMap'
309 | if !refresh {
310 | RawExistingAnnotationMap(region: $region, points: $points, modifierMap: modifierMap, selected: { Title, Subtitle, Location, Cluster in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:362:21: error: 'pointOfInterestFilter' is unavailable in watchOS
360 | */
361 | public func pointOfInterestCategories(include points: [MKPointOfInterestCategory]) -> AnnotationMapView {
362 | modifierMap.pointOfInterestFilter = MKPointOfInterestFilter(including: points)
| `- error: 'pointOfInterestFilter' is unavailable in watchOS
363 | return self
364 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:155:64: note: 'pointOfInterestFilter' has been explicitly marked unavailable here
153 | @property (nonatomic) BOOL showsScale API_AVAILABLE(macos(10.9), ios(9.0), tvos(9.2)) API_UNAVAILABLE(watchos);
154 |
155 | @property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter API_DEPRECATED("Use pointOfInterestFilter on respective MKMapConfiguration", macos(10.15, API_TO_BE_DEPRECATED), ios(13.0, API_TO_BE_DEPRECATED), tvos(13.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos);
| `- note: 'pointOfInterestFilter' has been explicitly marked unavailable here
156 | @property (nonatomic) BOOL showsPointsOfInterest
157 | #if defined(TARGET_OS_VISION) && TARGET_OS_VISION
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:375:21: error: 'pointOfInterestFilter' is unavailable in watchOS
373 | */
374 | public func pointOfInterestCategories(exclude points: [MKPointOfInterestCategory]) -> AnnotationMapView {
375 | modifierMap.pointOfInterestFilter = MKPointOfInterestFilter(excluding: points)
| `- error: 'pointOfInterestFilter' is unavailable in watchOS
376 | return self
377 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:155:64: note: 'pointOfInterestFilter' has been explicitly marked unavailable here
153 | @property (nonatomic) BOOL showsScale API_AVAILABLE(macos(10.9), ios(9.0), tvos(9.2)) API_UNAVAILABLE(watchos);
154 |
155 | @property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter API_DEPRECATED("Use pointOfInterestFilter on respective MKMapConfiguration", macos(10.15, API_TO_BE_DEPRECATED), ios(13.0, API_TO_BE_DEPRECATED), tvos(13.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos);
| `- note: 'pointOfInterestFilter' has been explicitly marked unavailable here
156 | @property (nonatomic) BOOL showsPointsOfInterest
157 | #if defined(TARGET_OS_VISION) && TARGET_OS_VISION
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:388:21: error: 'pointOfInterestFilter' is unavailable in watchOS
386 | */
387 | public func pointsOfInterest(_ filter: MKPointOfInterestFilter) -> AnnotationMapView {
388 | modifierMap.pointOfInterestFilter = filter
| `- error: 'pointOfInterestFilter' is unavailable in watchOS
389 | return self
390 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:155:64: note: 'pointOfInterestFilter' has been explicitly marked unavailable here
153 | @property (nonatomic) BOOL showsScale API_AVAILABLE(macos(10.9), ios(9.0), tvos(9.2)) API_UNAVAILABLE(watchos);
154 |
155 | @property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter API_DEPRECATED("Use pointOfInterestFilter on respective MKMapConfiguration", macos(10.15, API_TO_BE_DEPRECATED), ios(13.0, API_TO_BE_DEPRECATED), tvos(13.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos);
| `- note: 'pointOfInterestFilter' has been explicitly marked unavailable here
156 | @property (nonatomic) BOOL showsPointsOfInterest
157 | #if defined(TARGET_OS_VISION) && TARGET_OS_VISION
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:401:21: error: 'showsCompass' is unavailable in watchOS
399 | */
400 | public func showCompass(_ show: Bool) -> AnnotationMapView {
401 | modifierMap.showsCompass = show
| `- error: 'showsCompass' is unavailable in watchOS
402 | return self
403 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:152:28: note: 'showsCompass' has been explicitly marked unavailable here
150 | @property (nonatomic) BOOL showsPitchControl API_AVAILABLE(macos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(ios, watchos, tvos);
151 | @property (nonatomic) BOOL showsZoomControls API_AVAILABLE(macos(10.9), macCatalyst(13.0)) API_UNAVAILABLE(ios, watchos, tvos);
152 | @property (nonatomic) BOOL showsCompass API_AVAILABLE(macos(10.9), ios(9.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'showsCompass' has been explicitly marked unavailable here
153 | @property (nonatomic) BOOL showsScale API_AVAILABLE(macos(10.9), ios(9.0), tvos(9.2)) API_UNAVAILABLE(watchos);
154 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:414:21: error: 'showsScale' is unavailable in watchOS
412 | */
413 | public func showScale(_ show: Bool) -> AnnotationMapView {
414 | modifierMap.showsScale = show
| `- error: 'showsScale' is unavailable in watchOS
415 | return self
416 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:153:28: note: 'showsScale' has been explicitly marked unavailable here
151 | @property (nonatomic) BOOL showsZoomControls API_AVAILABLE(macos(10.9), macCatalyst(13.0)) API_UNAVAILABLE(ios, watchos, tvos);
152 | @property (nonatomic) BOOL showsCompass API_AVAILABLE(macos(10.9), ios(9.0)) API_UNAVAILABLE(tvos, watchos);
153 | @property (nonatomic) BOOL showsScale API_AVAILABLE(macos(10.9), ios(9.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'showsScale' has been explicitly marked unavailable here
154 |
155 | @property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter API_DEPRECATED("Use pointOfInterestFilter on respective MKMapConfiguration", macos(10.15, API_TO_BE_DEPRECATED), ios(13.0, API_TO_BE_DEPRECATED), tvos(13.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:427:21: error: 'showsTraffic' is unavailable in watchOS
425 | */
426 | public func showTraffic(_ show: Bool) -> AnnotationMapView {
427 | modifierMap.showsTraffic = show
| `- error: 'showsTraffic' is unavailable in watchOS
428 | return self
429 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:163:28: note: 'showsTraffic' has been explicitly marked unavailable here
161 | #endif
162 | @property (nonatomic) BOOL showsBuildings API_DEPRECATED("None", macos(10.9, API_TO_BE_DEPRECATED), ios(7.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // Affects MKMapTypeStandard
163 | @property (nonatomic) BOOL showsTraffic API_DEPRECATED("Use showsTraffic on respective MKMapConfiguration", macos(10.11, API_TO_BE_DEPRECATED), ios(9.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // Affects MKMapTypeStandard and MKMapTypeHybrid
| `- note: 'showsTraffic' has been explicitly marked unavailable here
164 |
165 | // Set to YES to add the user location annotation to the map and start updating its location
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:440:21: error: 'showsBuildings' is unavailable in watchOS
438 | */
439 | public func showBuildings(_ show: Bool) -> AnnotationMapView {
440 | modifierMap.showsBuildings = show
| `- error: 'showsBuildings' is unavailable in watchOS
441 | return self
442 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:162:28: note: 'showsBuildings' has been explicitly marked unavailable here
160 | API_DEPRECATED("Use pointOfInterestFilter", macos(10.9, 10.15), ios(7.0, 13.0), tvos(9.2, 13.0)) API_UNAVAILABLE(watchos); // Affects MKMapTypeStandard and MKMapTypeHybrid
161 | #endif
162 | @property (nonatomic) BOOL showsBuildings API_DEPRECATED("None", macos(10.9, API_TO_BE_DEPRECATED), ios(7.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // Affects MKMapTypeStandard
| `- note: 'showsBuildings' has been explicitly marked unavailable here
163 | @property (nonatomic) BOOL showsTraffic API_DEPRECATED("Use showsTraffic on respective MKMapConfiguration", macos(10.11, API_TO_BE_DEPRECATED), ios(9.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // Affects MKMapTypeStandard and MKMapTypeHybrid
164 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:466:50: error: 'camera' is unavailable in watchOS
464 | */
465 | public func camera(_ camera: MKMapCamera) -> AnnotationMapView {
466 | print("set current camera (\(modifierMap.camera)) to \(camera)")
| `- error: 'camera' is unavailable in watchOS
467 | modifierMap.camera = camera
468 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:467:21: error: 'camera' is unavailable in watchOS
465 | public func camera(_ camera: MKMapCamera) -> AnnotationMapView {
466 | print("set current camera (\(modifierMap.camera)) to \(camera)")
467 | modifierMap.camera = camera
| `- error: 'camera' is unavailable in watchOS
468 | return self
469 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:119:42: note: 'camera' has been explicitly marked unavailable here
117 | #endif
118 |
119 | @property (nonatomic, copy) MKMapCamera *camera API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'camera' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:493:21: error: 'cameraBoundary' is unavailable in watchOS
491 | */
492 | public func cameraBoundary(_ boundary: MKMapView.CameraBoundary?) -> AnnotationMapView {
493 | modifierMap.cameraBoundary = boundary
| `- error: 'cameraBoundary' is unavailable in watchOS
494 | return self
495 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:125:60: note: 'cameraBoundary' has been explicitly marked unavailable here
123 | - (void)setCameraZoomRange:(nullable MKMapCameraZoomRange *)cameraZoomRange animated:(BOOL)animated API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
124 |
125 | @property (nonatomic, copy, nullable) MKMapCameraBoundary *cameraBoundary API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'cameraBoundary' has been explicitly marked unavailable here
126 | - (void)setCameraBoundary:(nullable MKMapCameraBoundary *)cameraBoundary animated:(BOOL)animated API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:506:21: error: 'cameraZoomRange' is unavailable in watchOS
504 | */
505 | public func cameraZoomRange(_ range: MKMapView.CameraZoomRange!) -> AnnotationMapView {
506 | modifierMap.cameraZoomRange = range
| `- error: 'cameraZoomRange' is unavailable in watchOS
507 | return self
508 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:122:68: note: 'cameraZoomRange' has been explicitly marked unavailable here
120 | - (void)setCamera:(MKMapCamera *)camera animated:(BOOL)animated API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
121 |
122 | @property (nonatomic, copy, null_resettable) MKMapCameraZoomRange *cameraZoomRange API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'cameraZoomRange' has been explicitly marked unavailable here
123 | - (void)setCameraZoomRange:(nullable MKMapCameraZoomRange *)cameraZoomRange animated:(BOOL)animated API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
124 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:519:21: error: 'isPitchEnabled' is unavailable in watchOS
517 | */
518 | public func isPitchEnabled(_ enabled: Bool) -> AnnotationMapView {
519 | modifierMap.isPitchEnabled = enabled
| `- error: 'isPitchEnabled' is unavailable in watchOS
520 | return self
521 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:146:51: note: 'isPitchEnabled' has been explicitly marked unavailable here
144 | // Rotate and pitch are enabled by default on Mac OS X and on iOS 7.0 and later.
145 | @property (nonatomic, getter=isRotateEnabled) BOOL rotateEnabled API_AVAILABLE(macos(10.9), ios(7.0)) API_UNAVAILABLE(tvos, watchos);
146 | @property (nonatomic, getter=isPitchEnabled) BOOL pitchEnabled API_AVAILABLE(macos(10.9), ios(7.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'isPitchEnabled' has been explicitly marked unavailable here
147 |
148 | @property (nonatomic, assign) BOOL showsUserTrackingButton API_AVAILABLE(ios(17.0), tvos(17.0), macos(14.0), macCatalyst(17.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Existing Annotation Map/Public View.swift:532:21: error: 'isRotateEnabled' is unavailable in watchOS
530 | */
531 | public func isRotateEnabled(_ enabled: Bool) -> AnnotationMapView {
532 | modifierMap.isRotateEnabled = enabled
| `- error: 'isRotateEnabled' is unavailable in watchOS
533 | return self
534 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:145:52: note: 'isRotateEnabled' has been explicitly marked unavailable here
143 | @property (nonatomic, getter=isScrollEnabled) BOOL scrollEnabled;
144 | // Rotate and pitch are enabled by default on Mac OS X and on iOS 7.0 and later.
145 | @property (nonatomic, getter=isRotateEnabled) BOOL rotateEnabled API_AVAILABLE(macos(10.9), ios(7.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'isRotateEnabled' has been explicitly marked unavailable here
146 | @property (nonatomic, getter=isPitchEnabled) BOOL pitchEnabled API_AVAILABLE(macos(10.9), ios(7.0)) API_UNAVAILABLE(tvos, watchos);
147 |
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
builtin-SwiftPerFileCompile Public\ View.swift
SwiftCompile normal arm64 Compiling\ Data\ Structs.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data\ Structs.swift (in target 'SwiftUIMap' from project 'SwiftUIMap')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:47:33: error: 'MKFeatureDisplayPriority' is unavailable in watchOS
45 | public let markerTintColor: UIColor
46 | public let glyphTintColor: UIColor
47 | public let displayPriority: MKFeatureDisplayPriority
| `- error: 'MKFeatureDisplayPriority' is unavailable in watchOS
48 |
49 | public init(title: String, subtitle: String, location: Location, glyphImage: glyphImage, markerTintColor: UIColor, glyphTintColor: UIColor, displayPriority: MKFeatureDisplayPriority) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h:33:15: note: 'MKFeatureDisplayPriority' has been explicitly marked unavailable here
31 | } API_AVAILABLE(macos(10.9), ios(4.0)) API_UNAVAILABLE(tvos, watchos);
32 |
33 | typedef float MKFeatureDisplayPriority NS_TYPED_EXTENSIBLE_ENUM NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos);
| `- note: 'MKFeatureDisplayPriority' has been explicitly marked unavailable here
34 | static const MKFeatureDisplayPriority MKFeatureDisplayPriorityRequired NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos) = 1000;
35 | static const MKFeatureDisplayPriority MKFeatureDisplayPriorityDefaultHigh NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos) = 750;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:49:162: error: 'MKFeatureDisplayPriority' is unavailable in watchOS
47 | public let displayPriority: MKFeatureDisplayPriority
48 |
49 | public init(title: String, subtitle: String, location: Location, glyphImage: glyphImage, markerTintColor: UIColor, glyphTintColor: UIColor, displayPriority: MKFeatureDisplayPriority) {
| `- error: 'MKFeatureDisplayPriority' is unavailable in watchOS
50 | self.title = title
51 | self.subtitle = subtitle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h:33:15: note: 'MKFeatureDisplayPriority' has been explicitly marked unavailable here
31 | } API_AVAILABLE(macos(10.9), ios(4.0)) API_UNAVAILABLE(tvos, watchos);
32 |
33 | typedef float MKFeatureDisplayPriority NS_TYPED_EXTENSIBLE_ENUM NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos);
| `- note: 'MKFeatureDisplayPriority' has been explicitly marked unavailable here
34 | static const MKFeatureDisplayPriority MKFeatureDisplayPriorityRequired NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos) = 1000;
35 | static const MKFeatureDisplayPriority MKFeatureDisplayPriorityDefaultHigh NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos) = 750;
/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 '_LocationEssentials' introduce this conformance in the future
115 | public typealias LocationCoordinate = CLLocationCoordinate2D
116 | public typealias LocationRegion = MKCoordinateRegion
117 | extension CLLocationCoordinate2D: Hashable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
118 | public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
119 | (lhs.latitude, lhs.longitude) > (rhs.latitude, rhs.longitude)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMap/Data Structs.swift:78:33: error: 'systemRed' is unavailable in watchOS
76 | self.glyphImage = UIImage()
77 | }
78 | self.markerTintColor = .systemRed
| `- error: 'systemRed' is unavailable in watchOS
79 | self.glyphTintColor = .white
80 | self.displayPriority = .defaultLow
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:121:49: note: 'systemRed' has been explicitly marked unavailable here
119 | * Do not make assumptions about the color spaces or actual colors used.
120 | */
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemRed' has been explicitly marked unavailable here
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
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
builtin-SwiftPerFileCompile Data\ Structs.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-19 18:01:05.370 xcodebuild[813:4878] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'SwiftUIMap' from project 'SwiftUIMap')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIMap (in target 'SwiftUIMap' from project 'SwiftUIMap')
Building workspace SwiftUIMap with scheme SwiftUIMap
(3 failures)
BUILD FAILURE 6.4 watchOS