Build Information
Failed to build LPMapView, reference 0.6.1 (cb0e63), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 22:23:03 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 LPMapView -destination generic/platform=watchOSBuild Log
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/LPMapView/MapCoordinator.swift:48:17: error: cannot override 'mapView' which has been marked unavailable
46 | }
47 |
48 | public func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {
| `- error: cannot override 'mapView' which has been marked unavailable
49 | configuration.onSelection?(annotation)
50 | }
/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:293:1: 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 |
293 | - (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
| `- note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
294 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:52:17: error: cannot override 'mapView' which has been marked unavailable
50 | }
51 |
52 | public func mapView(_ mapView: MKMapView, didUpdate userLocation: MKUserLocation) {
| `- error: cannot override 'mapView' which has been marked unavailable
53 | configuration.userLocationChanged?(userLocation, nil)
54 | }
/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:315:1: note: 'mapView(_:didUpdate:)' has been explicitly marked unavailable here
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);
315 | - (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapView(_:didUpdate:)' has been explicitly marked unavailable here
316 | - (void)mapView:(MKMapView *)mapView didFailToLocateUserWithError:(NSError *)error API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
317 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:56:17: error: cannot override 'mapView' which has been marked unavailable
54 | }
55 |
56 | public func mapView(_ mapView: MKMapView, didFailToLocateUserWithError error: Error) {
| `- error: cannot override 'mapView' which has been marked unavailable
57 | configuration.userLocationChanged?(nil, error)
58 | }
/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/LPMapView/MapCoordinator.swift:28:17: error: cannot override 'mapView' which has been marked unavailable
26 | }
27 |
28 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: cannot override 'mapView' which has been marked unavailable
29 | if let polyLine = overlay as? MKPolyline {
30 | let renderer = MKPolylineRenderer(polyline: polyLine)
/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:323:1: note: 'mapView(_:rendererFor:)' has been explicitly marked unavailable here
321 | - (void)mapView:(MKMapView *)mapView didChangeUserTrackingMode:(MKUserTrackingMode)mode animated:(BOOL)animated API_AVAILABLE(ios(5.0), tvos(9.2), macos(11.0)) API_UNAVAILABLE(watchos);
322 |
323 | - (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id <MKOverlay>)overlay API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapView(_:rendererFor:)' has been explicitly marked unavailable here
324 | - (void)mapView:(MKMapView *)mapView didAddOverlayRenderers:(NSArray<MKOverlayRenderer *> *)renderers API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
325 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:30:28: error: 'MKPolylineRenderer' is unavailable in watchOS
28 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
29 | if let polyLine = overlay as? MKPolyline {
30 | let renderer = MKPolylineRenderer(polyline: polyLine)
| `- error: 'MKPolylineRenderer' is unavailable in watchOS
31 | renderer.strokeColor = configuration.routeStyle.tint
32 | renderer.lineWidth = configuration.routeStyle.lineWidth
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPolylineRenderer.h:15:12: note: 'MKPolylineRenderer' has been explicitly marked unavailable here
13 |
14 | NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
15 | @interface MKPolylineRenderer : MKOverlayPathRenderer
| `- note: 'MKPolylineRenderer' has been explicitly marked unavailable here
16 |
17 | - (instancetype)initWithPolyline:(MKPolyline *)polyline;
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:38:16: error: 'MKPolygonRenderer' is unavailable in watchOS
36 | return renderer
37 | }
38 | return MKPolygonRenderer()
| `- error: 'MKPolygonRenderer' is unavailable in watchOS
39 | }
40 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPolygonRenderer.h:14:12: note: 'MKPolygonRenderer' has been explicitly marked unavailable here
12 |
13 | NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
14 | @interface MKPolygonRenderer : MKOverlayPathRenderer
| `- note: 'MKPolygonRenderer' has been explicitly marked unavailable here
15 |
16 | - (instancetype)initWithPolygon:(MKPolygon *)polygon;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapCoordinator.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapView+Compatibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:61:30: error: 'MKMarkerAnnotationView' is unavailable in watchOS
59 |
60 | private func markerAnnotationView(from annotation: MapViewAnnotation) -> MKMarkerAnnotationView {
61 | let annotationView = MKMarkerAnnotationView(annotation: annotation, reuseIdentifier: nil)
| `- error: 'MKMarkerAnnotationView' is unavailable in watchOS
62 | annotationView.animatesWhenAdded = false
63 | annotationView.markerTintColor = annotation.tint ?? configuration.annotationTint
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMarkerAnnotationView.h:18:12: note: 'MKMarkerAnnotationView' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(ios(11.0), tvos(11.0), macos(11.0)) API_UNAVAILABLE(watchos)
18 | @interface MKMarkerAnnotationView : MKAnnotationView
| `- note: 'MKMarkerAnnotationView' has been explicitly marked unavailable here
19 |
20 | @property (nonatomic) MKFeatureVisibility titleVisibility;
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:64:24: error: 'displayPriority' is unavailable in watchOS
62 | annotationView.animatesWhenAdded = false
63 | annotationView.markerTintColor = annotation.tint ?? configuration.annotationTint
64 | annotationView.displayPriority = annotation.displayPriority
| `- error: 'displayPriority' is unavailable in watchOS
65 | if let systemImage = annotation.systemImage {
66 | annotationView.glyphImage = UIImage(systemName: systemImage)
/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:156:48: note: 'displayPriority' has been explicitly marked unavailable here
154 |
155 | // Default is MKFeatureDisplayPriorityRequired, other values opts into collision occlusion by priority.
156 | @property (nonatomic) MKFeatureDisplayPriority displayPriority API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'displayPriority' has been explicitly marked unavailable here
157 |
158 | @property (nonatomic) MKAnnotationViewZPriority zPriority API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:67:55: error: 'UIImageView' is unavailable in watchOS
65 | if let systemImage = annotation.systemImage {
66 | annotationView.glyphImage = UIImage(systemName: systemImage)
67 | annotationView.leftCalloutAccessoryView = UIImageView(image: .init(systemName: systemImage))
| `- error: 'UIImageView' is unavailable in watchOS
68 | }
69 | if annotation.title != nil {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:71:56: error: 'UIView' is unavailable in watchOS
69 | if annotation.title != nil {
70 | annotationView.canShowCallout = configuration.showCallout
71 | annotationView.rightCalloutAccessoryView = UIView(frame: .zero)
| `- error: 'UIView' is unavailable in watchOS
72 | }
73 | return annotationView
/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:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:77:39: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
75 |
76 | @objc func action(sender: Any?) {
77 | if let longPress = sender as? UILongPressGestureRecognizer,
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
78 | let mapView = longPress.view as? MKMapView {
79 | let location = longPress.location(in: mapView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
SwiftEmitModule normal arm64 Emitting\ module\ for\ LPMapView (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:18:28: error: 'UIGestureRecognizer' is unavailable in watchOS
16 | var routeStyle: MapRouteStyle
17 | var onSelection: ((MKAnnotation) -> Void)?
18 | var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
19 | var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
20 | }
/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/LPMapView/MapCoordinator.swift:19:36: error: 'MKUserLocation' is unavailable in watchOS
17 | var onSelection: ((MKAnnotation) -> Void)?
18 | var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
19 | var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
| `- error: 'MKUserLocation' is unavailable in watchOS
20 | }
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:28:36: error: 'MKMapView' is unavailable in watchOS
26 | }
27 |
28 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKMapView' is unavailable in watchOS
29 | if let polyLine = overlay as? MKPolyline {
30 | let renderer = MKPolylineRenderer(polyline: polyLine)
/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/LPMapView/MapCoordinator.swift:28:82: error: 'MKOverlayRenderer' is unavailable in watchOS
26 | }
27 |
28 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
29 | if let polyLine = overlay as? MKPolyline {
30 | let renderer = MKPolylineRenderer(polyline: polyLine)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKOverlayRenderer.h:15:12: note: 'MKOverlayRenderer' has been explicitly marked unavailable here
13 |
14 | NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
15 | @interface MKOverlayRenderer : NSObject
| `- note: 'MKOverlayRenderer' has been explicitly marked unavailable here
16 |
17 | - (instancetype)initWithOverlay:(id <MKOverlay>)overlay NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:41:36: error: 'MKMapView' is unavailable in watchOS
39 | }
40 |
41 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
42 | if let annotation = annotation as? MapViewAnnotation {
43 | return markerAnnotationView(from: annotation)
/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/LPMapView/MapCoordinator.swift:41:84: error: 'MKAnnotationView' is unavailable in watchOS
39 | }
40 |
41 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
42 | if let annotation = annotation as? MapViewAnnotation {
43 | return markerAnnotationView(from: annotation)
/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/LPMapView/MapCoordinator.swift:48:36: error: 'MKMapView' is unavailable in watchOS
46 | }
47 |
48 | public func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {
| `- error: 'MKMapView' is unavailable in watchOS
49 | configuration.onSelection?(annotation)
50 | }
/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/LPMapView/MapCoordinator.swift:52:36: error: 'MKMapView' is unavailable in watchOS
50 | }
51 |
52 | public func mapView(_ mapView: MKMapView, didUpdate userLocation: MKUserLocation) {
| `- error: 'MKMapView' is unavailable in watchOS
53 | configuration.userLocationChanged?(userLocation, nil)
54 | }
/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/LPMapView/MapCoordinator.swift:52:71: error: 'MKUserLocation' is unavailable in watchOS
50 | }
51 |
52 | public func mapView(_ mapView: MKMapView, didUpdate userLocation: MKUserLocation) {
| `- error: 'MKUserLocation' is unavailable in watchOS
53 | configuration.userLocationChanged?(userLocation, nil)
54 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:56:36: error: 'MKMapView' is unavailable in watchOS
54 | }
55 |
56 | public func mapView(_ mapView: MKMapView, didFailToLocateUserWithError error: Error) {
| `- error: 'MKMapView' is unavailable in watchOS
57 | configuration.userLocationChanged?(nil, error)
58 | }
/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/LPMapView/MapCoordinator.swift:60:78: error: 'MKMarkerAnnotationView' is unavailable in watchOS
58 | }
59 |
60 | private func markerAnnotationView(from annotation: MapViewAnnotation) -> MKMarkerAnnotationView {
| `- error: 'MKMarkerAnnotationView' is unavailable in watchOS
61 | let annotationView = MKMarkerAnnotationView(annotation: annotation, reuseIdentifier: nil)
62 | annotationView.animatesWhenAdded = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMarkerAnnotationView.h:18:12: note: 'MKMarkerAnnotationView' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(ios(11.0), tvos(11.0), macos(11.0)) API_UNAVAILABLE(watchos)
18 | @interface MKMarkerAnnotationView : MKAnnotationView
| `- note: 'MKMarkerAnnotationView' has been explicitly marked unavailable here
19 |
20 | @property (nonatomic) MKFeatureVisibility titleVisibility;
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:11:40: error: 'MKMapViewDelegate' is unavailable in watchOS
9 | import MapKit
10 |
11 | public class MapCoordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
12 |
13 | struct Configuration {
/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/LPMapView/MapCoordinator.swift:48:17: error: cannot override 'mapView' which has been marked unavailable
46 | }
47 |
48 | public func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {
| `- error: cannot override 'mapView' which has been marked unavailable
49 | configuration.onSelection?(annotation)
50 | }
/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:293:1: 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 |
293 | - (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
| `- note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
294 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:52:17: error: cannot override 'mapView' which has been marked unavailable
50 | }
51 |
52 | public func mapView(_ mapView: MKMapView, didUpdate userLocation: MKUserLocation) {
| `- error: cannot override 'mapView' which has been marked unavailable
53 | configuration.userLocationChanged?(userLocation, nil)
54 | }
/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:315:1: note: 'mapView(_:didUpdate:)' has been explicitly marked unavailable here
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);
315 | - (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapView(_:didUpdate:)' has been explicitly marked unavailable here
316 | - (void)mapView:(MKMapView *)mapView didFailToLocateUserWithError:(NSError *)error API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
317 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:56:17: error: cannot override 'mapView' which has been marked unavailable
54 | }
55 |
56 | public func mapView(_ mapView: MKMapView, didFailToLocateUserWithError error: Error) {
| `- error: cannot override 'mapView' which has been marked unavailable
57 | configuration.userLocationChanged?(nil, error)
58 | }
/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/LPMapView/MapCoordinator.swift:28:17: error: cannot override 'mapView' which has been marked unavailable
26 | }
27 |
28 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: cannot override 'mapView' which has been marked unavailable
29 | if let polyLine = overlay as? MKPolyline {
30 | let renderer = MKPolylineRenderer(polyline: polyLine)
/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:323:1: note: 'mapView(_:rendererFor:)' has been explicitly marked unavailable here
321 | - (void)mapView:(MKMapView *)mapView didChangeUserTrackingMode:(MKUserTrackingMode)mode animated:(BOOL)animated API_AVAILABLE(ios(5.0), tvos(9.2), macos(11.0)) API_UNAVAILABLE(watchos);
322 |
323 | - (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id <MKOverlay>)overlay API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapView(_:rendererFor:)' has been explicitly marked unavailable here
324 | - (void)mapView:(MKMapView *)mapView didAddOverlayRenderers:(NSArray<MKOverlayRenderer *> *)renderers API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
325 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:13:35: error: 'MKMapView' is unavailable in watchOS
11 | @available(iOS, deprecated: 16, renamed: "MapView")
12 | public struct LMapView: UIViewRepresentable {
13 | public typealias UIViewType = MKMapView
| `- error: 'MKMapView' is unavailable in watchOS
14 |
15 | // MARK: - Environment
/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/LPMapView/MapView+Compatibility.swift:38:35: error: 'MKUserTrackingMode' is unavailable in watchOS
36 |
37 | private var showsUserLocation: Bool = false
38 | private var userTrackingMode: MKUserTrackingMode = .none
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
39 |
40 | @Binding
/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/LPMapView/MapView+Compatibility.swift:44:32: error: 'UIGestureRecognizer' is unavailable in watchOS
42 |
43 | private var onSelection: ((MKAnnotation) -> Void)?
44 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
45 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
46 |
/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/LPMapView/MapView+Compatibility.swift:45:40: error: 'MKUserLocation' is unavailable in watchOS
43 | private var onSelection: ((MKAnnotation) -> Void)?
44 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
45 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
| `- error: 'MKUserLocation' is unavailable in watchOS
46 |
47 | // MARK: - Init
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:72:27: error: 'MKUserTrackingMode' is unavailable in watchOS
70 | region: Binding<MKCoordinateRegion>,
71 | showsUserLocation: Bool = false,
72 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
73 | annotations: Binding<[MapViewAnnotation]>,
74 | onSelection: ((MKAnnotation) -> Void)? = nil,
/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/LPMapView/MapView+Compatibility.swift:75:24: error: 'UIGestureRecognizer' is unavailable in watchOS
73 | annotations: Binding<[MapViewAnnotation]>,
74 | onSelection: ((MKAnnotation) -> Void)? = nil,
75 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
76 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
77 | ) {
/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/LPMapView/MapView+Compatibility.swift:76:32: error: 'MKUserLocation' is unavailable in watchOS
74 | onSelection: ((MKAnnotation) -> Void)? = nil,
75 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
76 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
77 | ) {
78 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:106:27: error: 'MKUserTrackingMode' is unavailable in watchOS
104 | region: Binding<MKCoordinateRegion>,
105 | showsUserLocation: Bool = false,
106 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
107 | annotations: Binding<[MapViewAnnotation]>,
108 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> 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: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/LPMapView/MapView+Compatibility.swift:108:24: error: 'UIGestureRecognizer' is unavailable in watchOS
106 | userTrackingMode: MKUserTrackingMode = .none,
107 | annotations: Binding<[MapViewAnnotation]>,
108 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
109 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
110 | ) {
/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/LPMapView/MapView+Compatibility.swift:109:32: error: 'MKUserLocation' is unavailable in watchOS
107 | annotations: Binding<[MapViewAnnotation]>,
108 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
109 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
110 | ) {
111 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:138:27: error: 'MKUserTrackingMode' is unavailable in watchOS
136 | region: Binding<MKCoordinateRegion>,
137 | showsUserLocation: Bool = false,
138 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
139 | annotations: Binding<[MapViewAnnotation]>,
140 | onSelection: ((MKAnnotation) -> 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: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/LPMapView/MapView+Compatibility.swift:141:32: error: 'MKUserLocation' is unavailable in watchOS
139 | annotations: Binding<[MapViewAnnotation]>,
140 | onSelection: ((MKAnnotation) -> Void)?,
141 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
142 | ) {
143 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:152:37: error: cannot find type 'Context' in scope
150 | }
151 |
152 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
153 | let mapView = MKMapView()
154 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:152:49: error: 'MKMapView' is unavailable in watchOS
150 | }
151 |
152 | public func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
153 | let mapView = MKMapView()
154 | mapView.delegate = context.coordinator
/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/LPMapView/MapView+Compatibility.swift:169:61: error: cannot find type 'Context' in scope
167 | }
168 |
169 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
170 | mapView.removeOverlays(mapView.overlays)
171 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:169:41: error: 'MKMapView' is unavailable in watchOS
167 | }
168 |
169 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
170 | mapView.removeOverlays(mapView.overlays)
171 | mapView.removeAnnotations(mapView.annotations)
/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/LPMapView/MapView+Compatibility.swift:215:32: error: 'MKMapType' is unavailable in watchOS
213 | // MARK: - Methods
214 |
215 | private func mapStyle() -> MKMapType {
| `- error: 'MKMapType' is unavailable in watchOS
216 | switch mapConfiguration {
217 | case .standard:
/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/LPMapView/MapView+Compatibility.swift:226:47: error: cannot find type 'Context' in scope
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
227 | UILongPressGestureRecognizer(
228 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:59: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
227 | UILongPressGestureRecognizer(
228 | target: 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/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:12:25: error: cannot find type 'UIViewRepresentable' in scope
10 |
11 | @available(iOS, deprecated: 16, renamed: "MapView")
12 | public struct LMapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | public typealias UIViewType = MKMapView
14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:6: error: generic parameter 'Value' could not be inferred
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: generic parameter 'Value' could not be inferred
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot infer key path type from context; consider explicitly specifying a root type
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:13:35: error: 'MKMapView' is unavailable in watchOS
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
13 | public typealias UIViewType = MKMapView
| `- error: 'MKMapView' is unavailable in watchOS
14 |
15 | // MARK: - Environment
/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/LPMapView/MapView.swift:43:35: error: 'MKUserTrackingMode' is unavailable in watchOS
41 |
42 | private var showsUserLocation: Bool = false
43 | private var userTrackingMode: MKUserTrackingMode = .none
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
44 |
45 | @Binding
/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/LPMapView/MapView.swift:49:32: error: 'UIGestureRecognizer' is unavailable in watchOS
47 |
48 | private var onSelection: ((MKAnnotation) -> Void)?
49 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
50 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
51 |
/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/LPMapView/MapView.swift:50:40: error: 'MKUserLocation' is unavailable in watchOS
48 | private var onSelection: ((MKAnnotation) -> Void)?
49 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
50 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
| `- error: 'MKUserLocation' is unavailable in watchOS
51 |
52 | // MARK: - Init
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:77:27: error: 'MKUserTrackingMode' is unavailable in watchOS
75 | region: Binding<MKCoordinateRegion>,
76 | showsUserLocation: Bool = false,
77 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
78 | annotations: Binding<[MapViewAnnotation]>,
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
/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/LPMapView/MapView.swift:80:24: error: 'UIGestureRecognizer' is unavailable in watchOS
78 | annotations: Binding<[MapViewAnnotation]>,
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
80 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
81 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
82 | ) {
/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/LPMapView/MapView.swift:81:32: error: 'MKUserLocation' is unavailable in watchOS
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
80 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
81 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
82 | ) {
83 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:111:27: error: 'MKUserTrackingMode' is unavailable in watchOS
109 | region: Binding<MKCoordinateRegion>,
110 | showsUserLocation: Bool = false,
111 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> 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: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/LPMapView/MapView.swift:113:24: error: 'UIGestureRecognizer' is unavailable in watchOS
111 | userTrackingMode: MKUserTrackingMode = .none,
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
114 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
115 | ) {
/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/LPMapView/MapView.swift:114:32: error: 'MKUserLocation' is unavailable in watchOS
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
114 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
115 | ) {
116 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:143:27: error: 'MKUserTrackingMode' is unavailable in watchOS
141 | region: Binding<MKCoordinateRegion>,
142 | showsUserLocation: Bool = false,
143 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
144 | annotations: Binding<[MapViewAnnotation]>,
145 | onSelection: ((MKAnnotation) -> 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: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/LPMapView/MapView.swift:146:32: error: 'MKUserLocation' is unavailable in watchOS
144 | annotations: Binding<[MapViewAnnotation]>,
145 | onSelection: ((MKAnnotation) -> Void)?,
146 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
147 | ) {
148 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:159:37: error: cannot find type 'Context' in scope
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:159:49: error: 'MKMapView' is unavailable in watchOS
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
/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/LPMapView/MapView.swift:176:61: error: cannot find type 'Context' in scope
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:176:41: error: 'MKMapView' is unavailable in watchOS
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
/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/LPMapView/MapView.swift:242:47: error: cannot find type 'Context' in scope
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:59: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
243 | UILongPressGestureRecognizer(
244 | target: 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/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:12:24: error: cannot find type 'UIViewRepresentable' in scope
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | public typealias UIViewType = MKMapView
14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:30:33: error: 'MKFeatureDisplayPriority' is unavailable in watchOS
28 |
29 | /// The display priority of the annotation view.
30 | public var displayPriority: MKFeatureDisplayPriority
| `- error: 'MKFeatureDisplayPriority' is unavailable in watchOS
31 |
32 | /// Creates a new ``MapViewAnnotation``.
/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/LPMapView/MapViewAnnotation.swift:49:26: error: 'MKFeatureDisplayPriority' is unavailable in watchOS
47 | systemImage: String? = nil,
48 | tint: UIColor? = nil,
49 | displayPriotity: MKFeatureDisplayPriority = .required
| `- error: 'MKFeatureDisplayPriority' is unavailable in watchOS
50 | ) {
51 | self.coordinate = coordinate
/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/LPMapView/MapViewAnnotation.swift:49:54: error: 'required' is unavailable in watchOS
47 | systemImage: String? = nil,
48 | tint: UIColor? = nil,
49 | displayPriotity: MKFeatureDisplayPriority = .required
| `- error: 'required' is unavailable in watchOS
50 | ) {
51 | self.coordinate = coordinate
MapKit.MKFeatureDisplayPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct MKFeatureDisplayPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: MKFeatureDisplayPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:28:39: error: 'systemRed' is unavailable in watchOS
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
28 | static let defaultValue = UIColor.systemRed
| `- error: 'systemRed' is unavailable in watchOS
29 | }
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/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);
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:60:30: error: cannot find type 'MKMapFeatureOptions' in scope
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
60 | static let defaultValue: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
61 | }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:59:8: error: type 'MapSelectableFeaturesKey' does not conform to protocol 'EnvironmentKey'
57 |
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
| |- error: type 'MapSelectableFeaturesKey' does not conform to protocol 'EnvironmentKey'
| `- note: add stubs for conformance
60 | static let defaultValue: MKMapFeatureOptions = []
61 | }
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:81:29: error: cannot find type 'MKMapFeatureOptions' in scope
79 | elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
80 | poiFilter: MKPointOfInterestFilter = .includingAll,
81 | selectableFeatures: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
82 | ) -> some View {
83 | self
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewVisibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -swift-module-cross-import MapKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Modules/MapKit.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import MapKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Modules/MapKit.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64/LPMapView-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LPMapView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64/LPMapView_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64/LPMapView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64/LPMapView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64/LPMapView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64/LPMapView.abi.json
SwiftCompile normal arm64 (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MapViewVisibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewVisibility.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewVisibility.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewVisibility.swift
SwiftCompile normal arm64 Compiling\ DashedMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DashedMapRouteStyle.swift
SwiftCompile normal arm64 Compiling\ MapViewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewConfiguration.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewConfiguration.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewConfiguration.swift
SwiftCompile normal arm64 Compiling\ EnvironmentValues.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:28:39: error: 'systemRed' is unavailable in watchOS
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
28 | static let defaultValue = UIColor.systemRed
| `- error: 'systemRed' is unavailable in watchOS
29 | }
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/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);
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:60:30: error: cannot find type 'MKMapFeatureOptions' in scope
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
60 | static let defaultValue: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
61 | }
62 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EnvironmentValues.swift
SwiftCompile normal arm64 Compiling\ View+MapModifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:81:29: error: cannot find type 'MKMapFeatureOptions' in scope
79 | elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
80 | poiFilter: MKPointOfInterestFilter = .includingAll,
81 | selectableFeatures: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
82 | ) -> some View {
83 | self
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+MapModifiers.swift
SwiftCompile normal arm64 Compiling\ MapView.swift,\ MapViewAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:6: error: generic parameter 'Value' could not be inferred
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: generic parameter 'Value' could not be inferred
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot infer key path type from context; consider explicitly specifying a root type
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:13:35: error: 'MKMapView' is unavailable in watchOS
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
13 | public typealias UIViewType = MKMapView
| `- error: 'MKMapView' is unavailable in watchOS
14 |
15 | // MARK: - Environment
/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/LPMapView/MapView.swift:43:35: error: 'MKUserTrackingMode' is unavailable in watchOS
41 |
42 | private var showsUserLocation: Bool = false
43 | private var userTrackingMode: MKUserTrackingMode = .none
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
44 |
45 | @Binding
/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/LPMapView/MapView.swift:49:32: error: 'UIGestureRecognizer' is unavailable in watchOS
47 |
48 | private var onSelection: ((MKAnnotation) -> Void)?
49 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
50 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
51 |
/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/LPMapView/MapView.swift:50:40: error: 'MKUserLocation' is unavailable in watchOS
48 | private var onSelection: ((MKAnnotation) -> Void)?
49 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
50 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
| `- error: 'MKUserLocation' is unavailable in watchOS
51 |
52 | // MARK: - Init
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:77:27: error: 'MKUserTrackingMode' is unavailable in watchOS
75 | region: Binding<MKCoordinateRegion>,
76 | showsUserLocation: Bool = false,
77 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
78 | annotations: Binding<[MapViewAnnotation]>,
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
/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/LPMapView/MapView.swift:80:24: error: 'UIGestureRecognizer' is unavailable in watchOS
78 | annotations: Binding<[MapViewAnnotation]>,
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
80 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
81 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
82 | ) {
/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/LPMapView/MapView.swift:81:32: error: 'MKUserLocation' is unavailable in watchOS
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
80 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
81 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
82 | ) {
83 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:111:27: error: 'MKUserTrackingMode' is unavailable in watchOS
109 | region: Binding<MKCoordinateRegion>,
110 | showsUserLocation: Bool = false,
111 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> 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: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/LPMapView/MapView.swift:113:24: error: 'UIGestureRecognizer' is unavailable in watchOS
111 | userTrackingMode: MKUserTrackingMode = .none,
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
114 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
115 | ) {
/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/LPMapView/MapView.swift:114:32: error: 'MKUserLocation' is unavailable in watchOS
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
114 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
115 | ) {
116 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:143:27: error: 'MKUserTrackingMode' is unavailable in watchOS
141 | region: Binding<MKCoordinateRegion>,
142 | showsUserLocation: Bool = false,
143 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
144 | annotations: Binding<[MapViewAnnotation]>,
145 | onSelection: ((MKAnnotation) -> 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: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/LPMapView/MapView.swift:146:32: error: 'MKUserLocation' is unavailable in watchOS
144 | annotations: Binding<[MapViewAnnotation]>,
145 | onSelection: ((MKAnnotation) -> Void)?,
146 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
147 | ) {
148 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:159:37: error: cannot find type 'Context' in scope
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:159:49: error: 'MKMapView' is unavailable in watchOS
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
/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/LPMapView/MapView.swift:176:61: error: cannot find type 'Context' in scope
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:176:41: error: 'MKMapView' is unavailable in watchOS
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
/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/LPMapView/MapView.swift:242:47: error: cannot find type 'Context' in scope
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:59: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
243 | UILongPressGestureRecognizer(
244 | target: 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/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:12:24: error: cannot find type 'UIViewRepresentable' in scope
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | public typealias UIViewType = MKMapView
14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:160:23: error: 'MKMapView' is unavailable in watchOS
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
160 | let mapView = MKMapView()
| `- error: 'MKMapView' is unavailable in watchOS
161 | mapView.delegate = context.coordinator
162 | mapView.setRegion(region, animated: animated)
/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/LPMapView/MapView.swift:160:23: error: 'init()' is unavailable in watchOS
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
160 | let mapView = MKMapView()
| `- error: 'init()' is unavailable in watchOS
161 | mapView.delegate = context.coordinator
162 | mapView.setRegion(region, animated: animated)
/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/LPMapView/MapView.swift:164:17: error: 'userTrackingMode' is unavailable in watchOS
162 | mapView.setRegion(region, animated: animated)
163 | mapView.showsUserLocation = showsUserLocation
164 | mapView.userTrackingMode = userTrackingMode
| `- error: 'userTrackingMode' is unavailable in watchOS
165 | mapView.selectableMapFeatures = selectableFeatures
166 | mapView.isZoomEnabled = zoomEnabled
/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:171:42: note: 'userTrackingMode' has been explicitly marked unavailable here
169 | @property (nonatomic, readonly) MKUserLocation *userLocation;
170 |
171 | @property (nonatomic) MKUserTrackingMode userTrackingMode API_AVAILABLE(ios(5.0), tvos(9.2), macos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'userTrackingMode' has been explicitly marked unavailable here
172 | - (void)setUserTrackingMode:(MKUserTrackingMode)mode animated:(BOOL)animated API_AVAILABLE(ios(5.0), tvos(9.2), macos(11.0)) API_UNAVAILABLE(watchos);
173 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:165:17: error: value of type 'MKMapView' has no member 'selectableMapFeatures'
163 | mapView.showsUserLocation = showsUserLocation
164 | mapView.userTrackingMode = userTrackingMode
165 | mapView.selectableMapFeatures = selectableFeatures
| `- error: value of type 'MKMapView' has no member 'selectableMapFeatures'
166 | mapView.isZoomEnabled = zoomEnabled
167 | mapView.isScrollEnabled = scrollEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:168:17: error: 'isPitchEnabled' is unavailable in watchOS
166 | mapView.isZoomEnabled = zoomEnabled
167 | mapView.isScrollEnabled = scrollEnabled
168 | mapView.isPitchEnabled = pitchEnabled
| `- error: 'isPitchEnabled' is unavailable in watchOS
169 | mapView.isRotateEnabled = rotateEnabled
170 |
/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/LPMapView/MapView.swift:169:17: error: 'isRotateEnabled' is unavailable in watchOS
167 | mapView.isScrollEnabled = scrollEnabled
168 | mapView.isPitchEnabled = pitchEnabled
169 | mapView.isRotateEnabled = rotateEnabled
| `- error: 'isRotateEnabled' is unavailable in watchOS
170 |
171 | mapView.preferredConfiguration = preferredConfiguration()
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:171:17: error: 'preferredConfiguration' is unavailable in watchOS
169 | mapView.isRotateEnabled = rotateEnabled
170 |
171 | mapView.preferredConfiguration = preferredConfiguration()
| `- error: 'preferredConfiguration' is unavailable in watchOS
172 | mapView.addGestureRecognizer(longPressGesture(in: context))
173 | return 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:85:49: note: 'preferredConfiguration' has been explicitly marked unavailable here
83 | @property (nonatomic) MKMapType mapType API_DEPRECATED("Use respective MKMapConfiguration", macos(10.9, API_TO_BE_DEPRECATED), ios(3.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED));
84 |
85 | @property (nonatomic, copy) MKMapConfiguration *preferredConfiguration API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos);
| `- note: 'preferredConfiguration' has been explicitly marked unavailable here
86 |
87 | #if TARGET_OS_IOS
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:177:17: error: 'removeOverlays' is unavailable in watchOS
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
177 | mapView.removeOverlays(mapView.overlays)
| `- error: 'removeOverlays' is unavailable in watchOS
178 | mapView.removeAnnotations(mapView.annotations)
179 |
/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:223:1: note: 'removeOverlays' has been explicitly marked unavailable here
221 |
222 | - (void)removeOverlay:(id <MKOverlay>)overlay API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
223 | - (void)removeOverlays:(NSArray<id<MKOverlay>> *)overlays API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'removeOverlays' has been explicitly marked unavailable here
224 |
225 | - (void)insertOverlay:(id <MKOverlay>)overlay atIndex:(NSUInteger)index level:(MKOverlayLevel)level API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:177:40: error: 'overlays' is unavailable in watchOS
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
177 | mapView.removeOverlays(mapView.overlays)
| `- error: 'overlays' is unavailable in watchOS
178 | mapView.removeAnnotations(mapView.annotations)
179 |
/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:232:57: note: 'overlays' has been explicitly marked unavailable here
230 | - (void)exchangeOverlay:(id <MKOverlay>)overlay1 withOverlay:(id <MKOverlay>)overlay2 API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
231 |
232 | @property (nonatomic, readonly) NSArray<id<MKOverlay>> *overlays API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'overlays' has been explicitly marked unavailable here
233 | - (NSArray<id<MKOverlay>> *)overlaysInLevel:(MKOverlayLevel)level API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
234 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:181:17: error: 'userTrackingMode' is unavailable in watchOS
179 |
180 | mapView.showsUserLocation = showsUserLocation
181 | mapView.userTrackingMode = userTrackingMode
| `- error: 'userTrackingMode' is unavailable in watchOS
182 | mapView.selectableMapFeatures = selectableFeatures
183 | mapView.isZoomEnabled = zoomEnabled
/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:171:42: note: 'userTrackingMode' has been explicitly marked unavailable here
169 | @property (nonatomic, readonly) MKUserLocation *userLocation;
170 |
171 | @property (nonatomic) MKUserTrackingMode userTrackingMode API_AVAILABLE(ios(5.0), tvos(9.2), macos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'userTrackingMode' has been explicitly marked unavailable here
172 | - (void)setUserTrackingMode:(MKUserTrackingMode)mode animated:(BOOL)animated API_AVAILABLE(ios(5.0), tvos(9.2), macos(11.0)) API_UNAVAILABLE(watchos);
173 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:182:17: error: value of type 'MKMapView' has no member 'selectableMapFeatures'
180 | mapView.showsUserLocation = showsUserLocation
181 | mapView.userTrackingMode = userTrackingMode
182 | mapView.selectableMapFeatures = selectableFeatures
| `- error: value of type 'MKMapView' has no member 'selectableMapFeatures'
183 | mapView.isZoomEnabled = zoomEnabled
184 | mapView.isScrollEnabled = scrollEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:185:17: error: 'isPitchEnabled' is unavailable in watchOS
183 | mapView.isZoomEnabled = zoomEnabled
184 | mapView.isScrollEnabled = scrollEnabled
185 | mapView.isPitchEnabled = pitchEnabled
| `- error: 'isPitchEnabled' is unavailable in watchOS
186 | mapView.isRotateEnabled = rotateEnabled
187 | mapView.preferredConfiguration = preferredConfiguration()
/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/LPMapView/MapView.swift:186:17: error: 'isRotateEnabled' is unavailable in watchOS
184 | mapView.isScrollEnabled = scrollEnabled
185 | mapView.isPitchEnabled = pitchEnabled
186 | mapView.isRotateEnabled = rotateEnabled
| `- error: 'isRotateEnabled' is unavailable in watchOS
187 | mapView.preferredConfiguration = preferredConfiguration()
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: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/LPMapView/MapView.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewAnnotation.swift
SwiftCompile normal arm64 Compiling\ MapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapRouteStyle.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ LPMapView (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:18:28: error: 'UIGestureRecognizer' is unavailable in watchOS
16 | var routeStyle: MapRouteStyle
17 | var onSelection: ((MKAnnotation) -> Void)?
18 | var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
19 | var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
20 | }
/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/LPMapView/MapCoordinator.swift:19:36: error: 'MKUserLocation' is unavailable in watchOS
17 | var onSelection: ((MKAnnotation) -> Void)?
18 | var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
19 | var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
| `- error: 'MKUserLocation' is unavailable in watchOS
20 | }
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:28:36: error: 'MKMapView' is unavailable in watchOS
26 | }
27 |
28 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKMapView' is unavailable in watchOS
29 | if let polyLine = overlay as? MKPolyline {
30 | let renderer = MKPolylineRenderer(polyline: polyLine)
/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/LPMapView/MapCoordinator.swift:28:82: error: 'MKOverlayRenderer' is unavailable in watchOS
26 | }
27 |
28 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
29 | if let polyLine = overlay as? MKPolyline {
30 | let renderer = MKPolylineRenderer(polyline: polyLine)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKOverlayRenderer.h:15:12: note: 'MKOverlayRenderer' has been explicitly marked unavailable here
13 |
14 | NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
15 | @interface MKOverlayRenderer : NSObject
| `- note: 'MKOverlayRenderer' has been explicitly marked unavailable here
16 |
17 | - (instancetype)initWithOverlay:(id <MKOverlay>)overlay NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:41:36: error: 'MKMapView' is unavailable in watchOS
39 | }
40 |
41 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
42 | if let annotation = annotation as? MapViewAnnotation {
43 | return markerAnnotationView(from: annotation)
/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/LPMapView/MapCoordinator.swift:41:84: error: 'MKAnnotationView' is unavailable in watchOS
39 | }
40 |
41 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
42 | if let annotation = annotation as? MapViewAnnotation {
43 | return markerAnnotationView(from: annotation)
/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/LPMapView/MapCoordinator.swift:48:36: error: 'MKMapView' is unavailable in watchOS
46 | }
47 |
48 | public func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {
| `- error: 'MKMapView' is unavailable in watchOS
49 | configuration.onSelection?(annotation)
50 | }
/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/LPMapView/MapCoordinator.swift:52:36: error: 'MKMapView' is unavailable in watchOS
50 | }
51 |
52 | public func mapView(_ mapView: MKMapView, didUpdate userLocation: MKUserLocation) {
| `- error: 'MKMapView' is unavailable in watchOS
53 | configuration.userLocationChanged?(userLocation, nil)
54 | }
/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/LPMapView/MapCoordinator.swift:52:71: error: 'MKUserLocation' is unavailable in watchOS
50 | }
51 |
52 | public func mapView(_ mapView: MKMapView, didUpdate userLocation: MKUserLocation) {
| `- error: 'MKUserLocation' is unavailable in watchOS
53 | configuration.userLocationChanged?(userLocation, nil)
54 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:56:36: error: 'MKMapView' is unavailable in watchOS
54 | }
55 |
56 | public func mapView(_ mapView: MKMapView, didFailToLocateUserWithError error: Error) {
| `- error: 'MKMapView' is unavailable in watchOS
57 | configuration.userLocationChanged?(nil, error)
58 | }
/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/LPMapView/MapCoordinator.swift:60:78: error: 'MKMarkerAnnotationView' is unavailable in watchOS
58 | }
59 |
60 | private func markerAnnotationView(from annotation: MapViewAnnotation) -> MKMarkerAnnotationView {
| `- error: 'MKMarkerAnnotationView' is unavailable in watchOS
61 | let annotationView = MKMarkerAnnotationView(annotation: annotation, reuseIdentifier: nil)
62 | annotationView.animatesWhenAdded = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMarkerAnnotationView.h:18:12: note: 'MKMarkerAnnotationView' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(ios(11.0), tvos(11.0), macos(11.0)) API_UNAVAILABLE(watchos)
18 | @interface MKMarkerAnnotationView : MKAnnotationView
| `- note: 'MKMarkerAnnotationView' has been explicitly marked unavailable here
19 |
20 | @property (nonatomic) MKFeatureVisibility titleVisibility;
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:11:40: error: 'MKMapViewDelegate' is unavailable in watchOS
9 | import MapKit
10 |
11 | public class MapCoordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
12 |
13 | struct Configuration {
/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/LPMapView/MapCoordinator.swift:48:17: error: cannot override 'mapView' which has been marked unavailable
46 | }
47 |
48 | public func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {
| `- error: cannot override 'mapView' which has been marked unavailable
49 | configuration.onSelection?(annotation)
50 | }
/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:293:1: 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 |
293 | - (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
| `- note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
294 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:52:17: error: cannot override 'mapView' which has been marked unavailable
50 | }
51 |
52 | public func mapView(_ mapView: MKMapView, didUpdate userLocation: MKUserLocation) {
| `- error: cannot override 'mapView' which has been marked unavailable
53 | configuration.userLocationChanged?(userLocation, nil)
54 | }
/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:315:1: note: 'mapView(_:didUpdate:)' has been explicitly marked unavailable here
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);
315 | - (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapView(_:didUpdate:)' has been explicitly marked unavailable here
316 | - (void)mapView:(MKMapView *)mapView didFailToLocateUserWithError:(NSError *)error API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
317 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:56:17: error: cannot override 'mapView' which has been marked unavailable
54 | }
55 |
56 | public func mapView(_ mapView: MKMapView, didFailToLocateUserWithError error: Error) {
| `- error: cannot override 'mapView' which has been marked unavailable
57 | configuration.userLocationChanged?(nil, error)
58 | }
/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/LPMapView/MapCoordinator.swift:28:17: error: cannot override 'mapView' which has been marked unavailable
26 | }
27 |
28 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: cannot override 'mapView' which has been marked unavailable
29 | if let polyLine = overlay as? MKPolyline {
30 | let renderer = MKPolylineRenderer(polyline: polyLine)
/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:323:1: note: 'mapView(_:rendererFor:)' has been explicitly marked unavailable here
321 | - (void)mapView:(MKMapView *)mapView didChangeUserTrackingMode:(MKUserTrackingMode)mode animated:(BOOL)animated API_AVAILABLE(ios(5.0), tvos(9.2), macos(11.0)) API_UNAVAILABLE(watchos);
322 |
323 | - (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id <MKOverlay>)overlay API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'mapView(_:rendererFor:)' has been explicitly marked unavailable here
324 | - (void)mapView:(MKMapView *)mapView didAddOverlayRenderers:(NSArray<MKOverlayRenderer *> *)renderers API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
325 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:13:35: error: 'MKMapView' is unavailable in watchOS
11 | @available(iOS, deprecated: 16, renamed: "MapView")
12 | public struct LMapView: UIViewRepresentable {
13 | public typealias UIViewType = MKMapView
| `- error: 'MKMapView' is unavailable in watchOS
14 |
15 | // MARK: - Environment
/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/LPMapView/MapView+Compatibility.swift:38:35: error: 'MKUserTrackingMode' is unavailable in watchOS
36 |
37 | private var showsUserLocation: Bool = false
38 | private var userTrackingMode: MKUserTrackingMode = .none
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
39 |
40 | @Binding
/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/LPMapView/MapView+Compatibility.swift:44:32: error: 'UIGestureRecognizer' is unavailable in watchOS
42 |
43 | private var onSelection: ((MKAnnotation) -> Void)?
44 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
45 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
46 |
/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/LPMapView/MapView+Compatibility.swift:45:40: error: 'MKUserLocation' is unavailable in watchOS
43 | private var onSelection: ((MKAnnotation) -> Void)?
44 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
45 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
| `- error: 'MKUserLocation' is unavailable in watchOS
46 |
47 | // MARK: - Init
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:72:27: error: 'MKUserTrackingMode' is unavailable in watchOS
70 | region: Binding<MKCoordinateRegion>,
71 | showsUserLocation: Bool = false,
72 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
73 | annotations: Binding<[MapViewAnnotation]>,
74 | onSelection: ((MKAnnotation) -> Void)? = nil,
/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/LPMapView/MapView+Compatibility.swift:75:24: error: 'UIGestureRecognizer' is unavailable in watchOS
73 | annotations: Binding<[MapViewAnnotation]>,
74 | onSelection: ((MKAnnotation) -> Void)? = nil,
75 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
76 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
77 | ) {
/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/LPMapView/MapView+Compatibility.swift:76:32: error: 'MKUserLocation' is unavailable in watchOS
74 | onSelection: ((MKAnnotation) -> Void)? = nil,
75 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
76 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
77 | ) {
78 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:106:27: error: 'MKUserTrackingMode' is unavailable in watchOS
104 | region: Binding<MKCoordinateRegion>,
105 | showsUserLocation: Bool = false,
106 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
107 | annotations: Binding<[MapViewAnnotation]>,
108 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> 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: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/LPMapView/MapView+Compatibility.swift:108:24: error: 'UIGestureRecognizer' is unavailable in watchOS
106 | userTrackingMode: MKUserTrackingMode = .none,
107 | annotations: Binding<[MapViewAnnotation]>,
108 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
109 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
110 | ) {
/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/LPMapView/MapView+Compatibility.swift:109:32: error: 'MKUserLocation' is unavailable in watchOS
107 | annotations: Binding<[MapViewAnnotation]>,
108 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
109 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
110 | ) {
111 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:138:27: error: 'MKUserTrackingMode' is unavailable in watchOS
136 | region: Binding<MKCoordinateRegion>,
137 | showsUserLocation: Bool = false,
138 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
139 | annotations: Binding<[MapViewAnnotation]>,
140 | onSelection: ((MKAnnotation) -> 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: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/LPMapView/MapView+Compatibility.swift:141:32: error: 'MKUserLocation' is unavailable in watchOS
139 | annotations: Binding<[MapViewAnnotation]>,
140 | onSelection: ((MKAnnotation) -> Void)?,
141 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
142 | ) {
143 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:152:37: error: cannot find type 'Context' in scope
150 | }
151 |
152 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
153 | let mapView = MKMapView()
154 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:152:49: error: 'MKMapView' is unavailable in watchOS
150 | }
151 |
152 | public func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
153 | let mapView = MKMapView()
154 | mapView.delegate = context.coordinator
/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/LPMapView/MapView+Compatibility.swift:169:61: error: cannot find type 'Context' in scope
167 | }
168 |
169 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
170 | mapView.removeOverlays(mapView.overlays)
171 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:169:41: error: 'MKMapView' is unavailable in watchOS
167 | }
168 |
169 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
170 | mapView.removeOverlays(mapView.overlays)
171 | mapView.removeAnnotations(mapView.annotations)
/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/LPMapView/MapView+Compatibility.swift:215:32: error: 'MKMapType' is unavailable in watchOS
213 | // MARK: - Methods
214 |
215 | private func mapStyle() -> MKMapType {
| `- error: 'MKMapType' is unavailable in watchOS
216 | switch mapConfiguration {
217 | case .standard:
/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/LPMapView/MapView+Compatibility.swift:226:47: error: cannot find type 'Context' in scope
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
227 | UILongPressGestureRecognizer(
228 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:59: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
227 | UILongPressGestureRecognizer(
228 | target: 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/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:12:25: error: cannot find type 'UIViewRepresentable' in scope
10 |
11 | @available(iOS, deprecated: 16, renamed: "MapView")
12 | public struct LMapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | public typealias UIViewType = MKMapView
14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:6: error: generic parameter 'Value' could not be inferred
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: generic parameter 'Value' could not be inferred
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot infer key path type from context; consider explicitly specifying a root type
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:13:35: error: 'MKMapView' is unavailable in watchOS
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
13 | public typealias UIViewType = MKMapView
| `- error: 'MKMapView' is unavailable in watchOS
14 |
15 | // MARK: - Environment
/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/LPMapView/MapView.swift:43:35: error: 'MKUserTrackingMode' is unavailable in watchOS
41 |
42 | private var showsUserLocation: Bool = false
43 | private var userTrackingMode: MKUserTrackingMode = .none
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
44 |
45 | @Binding
/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/LPMapView/MapView.swift:49:32: error: 'UIGestureRecognizer' is unavailable in watchOS
47 |
48 | private var onSelection: ((MKAnnotation) -> Void)?
49 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
50 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
51 |
/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/LPMapView/MapView.swift:50:40: error: 'MKUserLocation' is unavailable in watchOS
48 | private var onSelection: ((MKAnnotation) -> Void)?
49 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
50 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
| `- error: 'MKUserLocation' is unavailable in watchOS
51 |
52 | // MARK: - Init
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:77:27: error: 'MKUserTrackingMode' is unavailable in watchOS
75 | region: Binding<MKCoordinateRegion>,
76 | showsUserLocation: Bool = false,
77 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
78 | annotations: Binding<[MapViewAnnotation]>,
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
/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/LPMapView/MapView.swift:80:24: error: 'UIGestureRecognizer' is unavailable in watchOS
78 | annotations: Binding<[MapViewAnnotation]>,
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
80 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
81 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
82 | ) {
/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/LPMapView/MapView.swift:81:32: error: 'MKUserLocation' is unavailable in watchOS
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
80 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
81 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
82 | ) {
83 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:111:27: error: 'MKUserTrackingMode' is unavailable in watchOS
109 | region: Binding<MKCoordinateRegion>,
110 | showsUserLocation: Bool = false,
111 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> 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: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/LPMapView/MapView.swift:113:24: error: 'UIGestureRecognizer' is unavailable in watchOS
111 | userTrackingMode: MKUserTrackingMode = .none,
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
114 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
115 | ) {
/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/LPMapView/MapView.swift:114:32: error: 'MKUserLocation' is unavailable in watchOS
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
114 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
115 | ) {
116 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:143:27: error: 'MKUserTrackingMode' is unavailable in watchOS
141 | region: Binding<MKCoordinateRegion>,
142 | showsUserLocation: Bool = false,
143 | userTrackingMode: MKUserTrackingMode = .none,
| `- error: 'MKUserTrackingMode' is unavailable in watchOS
144 | annotations: Binding<[MapViewAnnotation]>,
145 | onSelection: ((MKAnnotation) -> 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: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/LPMapView/MapView.swift:146:32: error: 'MKUserLocation' is unavailable in watchOS
144 | annotations: Binding<[MapViewAnnotation]>,
145 | onSelection: ((MKAnnotation) -> Void)?,
146 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
| `- error: 'MKUserLocation' is unavailable in watchOS
147 | ) {
148 | self._region = 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/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:159:37: error: cannot find type 'Context' in scope
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:159:49: error: 'MKMapView' is unavailable in watchOS
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
/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/LPMapView/MapView.swift:176:61: error: cannot find type 'Context' in scope
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:176:41: error: 'MKMapView' is unavailable in watchOS
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
/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/LPMapView/MapView.swift:242:47: error: cannot find type 'Context' in scope
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:59: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
243 | UILongPressGestureRecognizer(
244 | target: 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/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:12:24: error: cannot find type 'UIViewRepresentable' in scope
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | public typealias UIViewType = MKMapView
14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:30:33: error: 'MKFeatureDisplayPriority' is unavailable in watchOS
28 |
29 | /// The display priority of the annotation view.
30 | public var displayPriority: MKFeatureDisplayPriority
| `- error: 'MKFeatureDisplayPriority' is unavailable in watchOS
31 |
32 | /// Creates a new ``MapViewAnnotation``.
/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/LPMapView/MapViewAnnotation.swift:49:26: error: 'MKFeatureDisplayPriority' is unavailable in watchOS
47 | systemImage: String? = nil,
48 | tint: UIColor? = nil,
49 | displayPriotity: MKFeatureDisplayPriority = .required
| `- error: 'MKFeatureDisplayPriority' is unavailable in watchOS
50 | ) {
51 | self.coordinate = coordinate
/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/LPMapView/MapViewAnnotation.swift:49:54: error: 'required' is unavailable in watchOS
47 | systemImage: String? = nil,
48 | tint: UIColor? = nil,
49 | displayPriotity: MKFeatureDisplayPriority = .required
| `- error: 'required' is unavailable in watchOS
50 | ) {
51 | self.coordinate = coordinate
MapKit.MKFeatureDisplayPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct MKFeatureDisplayPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: MKFeatureDisplayPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:28:39: error: 'systemRed' is unavailable in watchOS
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
28 | static let defaultValue = UIColor.systemRed
| `- error: 'systemRed' is unavailable in watchOS
29 | }
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/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);
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:60:30: error: cannot find type 'MKMapFeatureOptions' in scope
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
60 | static let defaultValue: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
61 | }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:59:8: error: type 'MapSelectableFeaturesKey' does not conform to protocol 'EnvironmentKey'
57 |
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
| |- error: type 'MapSelectableFeaturesKey' does not conform to protocol 'EnvironmentKey'
| `- note: add stubs for conformance
60 | static let defaultValue: MKMapFeatureOptions = []
61 | }
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:81:29: error: cannot find type 'MKMapFeatureOptions' in scope
79 | elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
80 | poiFilter: MKPointOfInterestFilter = .includingAll,
81 | selectableFeatures: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
82 | ) -> some View {
83 | self
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewVisibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -swift-module-cross-import MapKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Modules/MapKit.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import MapKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Modules/MapKit.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64_32/LPMapView-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LPMapView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64_32/LPMapView_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64_32/LPMapView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64_32/LPMapView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64_32/LPMapView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64_32/LPMapView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64_32/LPMapView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64_32/LPMapView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug-watchos/LPMapView-t.build/Objects-normal/arm64_32/LPMapView.abi.json
SwiftCompile normal arm64_32 (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-18 18:23:02.369 xcodebuild[803:4870] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ LPMapView (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 (in target 'LPMapView' from project 'LPMapView')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ LPMapView (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64_32 (in target 'LPMapView' from project 'LPMapView')
Building workspace LPMapView with scheme LPMapView
(5 failures)
BUILD FAILURE 6.4 watchOS