Build Information
Failed to build SwiftUIMKMapView, reference main (7b45f4), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 03:31:15 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 SwiftUIMKMapView -destination generic/platform=watchOSBuild Log
| `- error: 'MKMapView' is unavailable in watchOS
13 | view.visibleRect = mapView.visibleMapRect
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:16:34: error: 'MKMapView' is unavailable in watchOS
14 | }
15 |
16 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
17 | view.annotationViewFactory.mapView(mapView, viewFor: annotation)
18 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:16:82: error: 'MKAnnotationView' is unavailable in watchOS
14 | }
15 |
16 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
17 | view.annotationViewFactory.mapView(mapView, viewFor: annotation)
18 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:34: error: 'MKMapView' is unavailable in watchOS
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKMapView' is unavailable in watchOS
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:80: error: 'MKOverlayRenderer' is unavailable in watchOS
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:4:50: error: 'MKMapViewDelegate' is unavailable in watchOS
2 |
3 | /// Coordinator for the MapView UIViewRepresentable.
4 | public final class MapViewCoordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
5 | init(view: MapView) {
6 | self.view = view
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:15: error: cannot override 'mapView' which has been marked unavailable
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: cannot override 'mapView' which has been marked unavailable
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewCoordinator.swift
SwiftCompile normal arm64_32 Compiling\ OverlayRendererFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/OverlayRendererFactory.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/OverlayRendererFactory.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OverlayRendererFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/OverlayRendererFactory.swift:6:50: error: 'MKOverlayRenderer' is unavailable in watchOS
4 | public struct OverlayRendererFactory {
5 | /// - Parameter renderer: A closure that returns optional render for provided overlay.
6 | public init(renderer: @escaping (MKOverlay) -> MKOverlayRenderer?) {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
7 | self.renderer = renderer
8 | }
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:10:32: error: 'MKOverlayRenderer' is unavailable in watchOS
8 | }
9 |
10 | var renderer: (MKOverlay) -> MKOverlayRenderer?
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
11 |
12 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:12:45: error: 'MKOverlayRenderer' is unavailable in watchOS
10 | var renderer: (MKOverlay) -> MKOverlayRenderer?
11 |
12 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
13 | renderer(overlay)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/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;
SwiftCompile normal arm64_32 Compiling\ LineOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LineOverlay.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIMKMapView (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/AnnotationViewFactory.swift:9:26: error: 'MKMapView' is unavailable in watchOS
7 | /// - view: A closure that returns the view associated with the specified annotation object.
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
| `- error: 'MKMapView' is unavailable in watchOS
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
11 | ) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:10:22: error: 'MKMapView' is unavailable in watchOS
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
11 | ) {
12 | self.register = register
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:10:50: error: 'MKAnnotationView' is unavailable in watchOS
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
11 | ) {
12 | self.register = register
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:16:18: error: 'MKMapView' is unavailable in watchOS
14 | }
15 |
16 | var register: (MKMapView) -> Void
| `- error: 'MKMapView' is unavailable in watchOS
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
18 |
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:17:14: error: 'MKMapView' is unavailable in watchOS
15 |
16 | var register: (MKMapView) -> Void
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
18 |
19 | func register(in mapView: MKMapView) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:17:42: error: 'MKAnnotationView' is unavailable in watchOS
15 |
16 | var register: (MKMapView) -> Void
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
18 |
19 | func register(in mapView: MKMapView) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:19:29: error: 'MKMapView' is unavailable in watchOS
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
18 |
19 | func register(in mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
20 | register(mapView)
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/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/SwiftUIMKMapView/AnnotationViewFactory.swift:23:27: error: 'MKMapView' is unavailable in watchOS
21 | }
22 |
23 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
24 | view(mapView, annotation)
25 | }
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:23:75: error: 'MKAnnotationView' is unavailable in watchOS
21 | }
22 |
23 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
24 | view(mapView, annotation)
25 | }
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:71:15: error: 'MKAnnotationView' is unavailable in watchOS
69 | ) -> Self
70 | where Annotation: MKAnnotation,
71 | View: MKAnnotationView
| `- error: 'MKAnnotationView' is unavailable in watchOS
72 | {
73 | let reuseIdentifier = [annotationClass, viewClass]
/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/SwiftUIMKMapView/DotAnnotation.swift:39:17: error: cannot override 'prepareForDisplay' which has been marked unavailable
37 | static let reuseIdentifier: String = String(describing: DotAnnotationView.self)
38 |
39 | override func prepareForDisplay() {
| |- error: cannot override 'prepareForDisplay' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'prepareForDisplay'
40 | super.prepareForDisplay()
41 | if image == 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/MKAnnotationView.h:68:1: note: 'prepareForDisplay()' has been explicitly marked unavailable here
66 | - (void)prepareForReuse;
67 |
68 | - (void)prepareForDisplay NS_REQUIRES_SUPER API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'prepareForDisplay()' has been explicitly marked unavailable here
69 |
70 | @property (nonatomic, strong, nullable) id <MKAnnotation> annotation;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:36:32: error: 'MKAnnotationView' is unavailable in watchOS
34 | }
35 |
36 | final class DotAnnotationView: MKAnnotationView {
| `- error: 'MKAnnotationView' is unavailable in watchOS
37 | static let reuseIdentifier: String = String(describing: DotAnnotationView.self)
38 |
/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/SwiftUIMKMapView/LineOverlay.swift:42:20: error: 'MKPolylineRenderer' is unavailable in watchOS
40 | /// Overlay renderer factory that uses `MKPolylineRenderer` to render `LineOverlay`.
41 | public static let rendererFactory: OverlayRendererFactory = .factory(for: LineOverlay.self) { line in
42 | let renderer = MKPolylineRenderer(polyline: line.polyline)
| `- error: 'MKPolylineRenderer' is unavailable in watchOS
43 | renderer.strokeColor = line.color
44 | renderer.lineWidth = line.width
/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/SwiftUIMKMapView/MapView.swift:40:35: error: cannot find type 'Context' in scope
38 | }
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
41 | let view = MKMapView()
42 | annotationViewFactory.register(in: view)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:40:47: error: 'MKMapView' is unavailable in watchOS
38 | }
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
41 | let view = MKMapView()
42 | annotationViewFactory.register(in: view)
/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/SwiftUIMKMapView/MapView.swift:47:58: error: cannot find type 'Context' in scope
45 | }
46 |
47 | public func updateUIView(_ uiView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
48 | uiView.setVisibleMapRect(visibleRect, animated: false)
49 | uiView.showsUserLocation = showsUserLocation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:47:38: error: 'MKMapView' is unavailable in watchOS
45 | }
46 |
47 | public func updateUIView(_ uiView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
48 | uiView.setVisibleMapRect(visibleRect, animated: false)
49 | uiView.showsUserLocation = showsUserLocation
/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/SwiftUIMKMapView/MapView.swift:5:24: error: cannot find type 'UIViewRepresentable' in scope
3 |
4 | /// MapKit's MKMapView representable.
5 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
6 | /// - Parameters:
7 | /// - visibleRect: Binding for map's visible rect.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:12:34: error: 'MKMapView' is unavailable in watchOS
10 | let view: MapView
11 |
12 | public func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
| `- error: 'MKMapView' is unavailable in watchOS
13 | view.visibleRect = mapView.visibleMapRect
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:16:34: error: 'MKMapView' is unavailable in watchOS
14 | }
15 |
16 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
17 | view.annotationViewFactory.mapView(mapView, viewFor: annotation)
18 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:16:82: error: 'MKAnnotationView' is unavailable in watchOS
14 | }
15 |
16 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
17 | view.annotationViewFactory.mapView(mapView, viewFor: annotation)
18 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:34: error: 'MKMapView' is unavailable in watchOS
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKMapView' is unavailable in watchOS
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:80: error: 'MKOverlayRenderer' is unavailable in watchOS
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:4:50: error: 'MKMapViewDelegate' is unavailable in watchOS
2 |
3 | /// Coordinator for the MapView UIViewRepresentable.
4 | public final class MapViewCoordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
5 | init(view: MapView) {
6 | self.view = view
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:15: error: cannot override 'mapView' which has been marked unavailable
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: cannot override 'mapView' which has been marked unavailable
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:6:50: error: 'MKOverlayRenderer' is unavailable in watchOS
4 | public struct OverlayRendererFactory {
5 | /// - Parameter renderer: A closure that returns optional render for provided overlay.
6 | public init(renderer: @escaping (MKOverlay) -> MKOverlayRenderer?) {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
7 | self.renderer = renderer
8 | }
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:10:32: error: 'MKOverlayRenderer' is unavailable in watchOS
8 | }
9 |
10 | var renderer: (MKOverlay) -> MKOverlayRenderer?
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
11 |
12 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:12:45: error: 'MKOverlayRenderer' is unavailable in watchOS
10 | var renderer: (MKOverlay) -> MKOverlayRenderer?
11 |
12 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
13 | renderer(overlay)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/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/SwiftUIMKMapView/OverlayRendererFactory.swift:55:40: error: 'MKOverlayRenderer' is unavailable in watchOS
53 | public static func factory<Overlay>(
54 | for overlayClass: Overlay.Type,
55 | _ renderer: @escaping (Overlay) -> MKOverlayRenderer
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
56 | ) -> Self
57 | where Overlay: MKOverlay
/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;
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/SwiftUIMKMapView/AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/OverlayRendererFactory.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/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView-dependencies-1.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/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftUIMKMapView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView_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/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView.abi.json
SwiftCompile normal arm64_32 (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/AnnotationViewFactory.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/AnnotationViewFactory.swift:9:26: error: 'MKMapView' is unavailable in watchOS
7 | /// - view: A closure that returns the view associated with the specified annotation object.
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
| `- error: 'MKMapView' is unavailable in watchOS
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
11 | ) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:10:22: error: 'MKMapView' is unavailable in watchOS
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
11 | ) {
12 | self.register = register
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:10:50: error: 'MKAnnotationView' is unavailable in watchOS
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
11 | ) {
12 | self.register = register
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:16:18: error: 'MKMapView' is unavailable in watchOS
14 | }
15 |
16 | var register: (MKMapView) -> Void
| `- error: 'MKMapView' is unavailable in watchOS
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
18 |
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:17:14: error: 'MKMapView' is unavailable in watchOS
15 |
16 | var register: (MKMapView) -> Void
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
18 |
19 | func register(in mapView: MKMapView) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:17:42: error: 'MKAnnotationView' is unavailable in watchOS
15 |
16 | var register: (MKMapView) -> Void
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
18 |
19 | func register(in mapView: MKMapView) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:19:29: error: 'MKMapView' is unavailable in watchOS
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
18 |
19 | func register(in mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
20 | register(mapView)
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/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/SwiftUIMKMapView/AnnotationViewFactory.swift:23:27: error: 'MKMapView' is unavailable in watchOS
21 | }
22 |
23 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
24 | view(mapView, annotation)
25 | }
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:23:75: error: 'MKAnnotationView' is unavailable in watchOS
21 | }
22 |
23 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
24 | view(mapView, annotation)
25 | }
/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)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/AnnotationViewFactory.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnnotationViewFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/AnnotationViewFactory.swift:71:15: error: 'MKAnnotationView' is unavailable in watchOS
69 | ) -> Self
70 | where Annotation: MKAnnotation,
71 | View: MKAnnotationView
| `- error: 'MKAnnotationView' is unavailable in watchOS
72 | {
73 | let reuseIdentifier = [annotationClass, viewClass]
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:78:15: error: 'register(_:forAnnotationViewWithReuseIdentifier:)' is unavailable in watchOS
76 |
77 | return .init(register: { mapView in
78 | mapView.register(
| `- error: 'register(_:forAnnotationViewWithReuseIdentifier:)' is unavailable in watchOS
79 | viewClass.self,
80 | forAnnotationViewWithReuseIdentifier: reuseIdentifier
/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:198:1: note: 'register(_:forAnnotationViewWithReuseIdentifier:)' has been explicitly marked unavailable here
196 |
197 | // Register a MKAnnotationView subclass to be instantiated when dequeueReusableAnnotationViewWithIdentifier: does not have a view to reuse.
198 | - (void)registerClass:(nullable Class)viewClass forAnnotationViewWithReuseIdentifier:(NSString *)identifier API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'register(_:forAnnotationViewWithReuseIdentifier:)' has been explicitly marked unavailable here
199 |
200 | // Select or deselect a given annotation. Asks the delegate for the corresponding annotation view if necessary.
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-APXDH8ULYLM6FD17YRA73TULO.pcm
SwiftCompile normal arm64 Compiling\ MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapView.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIMKMapView (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64 (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MapViewCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewCoordinator.swift
SwiftCompile normal arm64 Compiling\ OverlayRendererFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/OverlayRendererFactory.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/OverlayRendererFactory.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OverlayRendererFactory.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-17 23:31:05.134 xcodebuild[648:4172] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-17 23:31:05.282 xcodebuild[648:4172] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIMKMapView (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64_32 (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
Building workspace SwiftUIMKMapView with scheme SwiftUIMKMapView
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
SwiftUIMKMapView: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftUIMKMapView
2026-09-17 23:31:11.996 xcodebuild[793:4720] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-17 23:31:12.137 xcodebuild[793:4720] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftUIMKMapView",
"name" : "SwiftUIMKMapView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftUIMKMapView",
"targets" : [
"SwiftUIMKMapView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUIMKMapView",
"module_type" : "SwiftTarget",
"name" : "SwiftUIMKMapView",
"path" : "Sources/SwiftUIMKMapView",
"product_memberships" : [
"SwiftUIMKMapView"
],
"sources" : [
"AnnotationViewFactory.swift",
"DotAnnotation.swift",
"LineOverlay.swift",
"MapView.swift",
"MapViewCoordinator.swift",
"OverlayRendererFactory.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "SwiftUIMKMapView",
"schemes" : [
"SwiftUIMKMapView"
]
}
}
2026-09-17 23:31:13.169 xcodebuild[801:4792] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-17 23:31:13.309 xcodebuild[801:4792] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftUIMKMapView -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SwiftUIMKMapView -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftUIMKMapView: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'SwiftUIMKMapView-product' in project 'SwiftUIMKMapView'
➜ Explicit dependency on target 'SwiftUIMKMapView' in project 'SwiftUIMKMapView'
Target 'SwiftUIMKMapView' in project 'SwiftUIMKMapView' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver SwiftUIMKMapView normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftUIMKMapView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -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 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftUIMKMapView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftUIMKMapView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -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 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIMKMapView (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/AnnotationViewFactory.swift:9:26: error: 'MKMapView' is unavailable in watchOS
7 | /// - view: A closure that returns the view associated with the specified annotation object.
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
| `- error: 'MKMapView' is unavailable in watchOS
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
11 | ) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:10:22: error: 'MKMapView' is unavailable in watchOS
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
11 | ) {
12 | self.register = register
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:10:50: error: 'MKAnnotationView' is unavailable in watchOS
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
11 | ) {
12 | self.register = register
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:16:18: error: 'MKMapView' is unavailable in watchOS
14 | }
15 |
16 | var register: (MKMapView) -> Void
| `- error: 'MKMapView' is unavailable in watchOS
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
18 |
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:17:14: error: 'MKMapView' is unavailable in watchOS
15 |
16 | var register: (MKMapView) -> Void
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
18 |
19 | func register(in mapView: MKMapView) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:17:42: error: 'MKAnnotationView' is unavailable in watchOS
15 |
16 | var register: (MKMapView) -> Void
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
18 |
19 | func register(in mapView: MKMapView) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:19:29: error: 'MKMapView' is unavailable in watchOS
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
18 |
19 | func register(in mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
20 | register(mapView)
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/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/SwiftUIMKMapView/AnnotationViewFactory.swift:23:27: error: 'MKMapView' is unavailable in watchOS
21 | }
22 |
23 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
24 | view(mapView, annotation)
25 | }
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:23:75: error: 'MKAnnotationView' is unavailable in watchOS
21 | }
22 |
23 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
24 | view(mapView, annotation)
25 | }
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:71:15: error: 'MKAnnotationView' is unavailable in watchOS
69 | ) -> Self
70 | where Annotation: MKAnnotation,
71 | View: MKAnnotationView
| `- error: 'MKAnnotationView' is unavailable in watchOS
72 | {
73 | let reuseIdentifier = [annotationClass, viewClass]
/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/SwiftUIMKMapView/DotAnnotation.swift:39:17: error: cannot override 'prepareForDisplay' which has been marked unavailable
37 | static let reuseIdentifier: String = String(describing: DotAnnotationView.self)
38 |
39 | override func prepareForDisplay() {
| |- error: cannot override 'prepareForDisplay' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'prepareForDisplay'
40 | super.prepareForDisplay()
41 | if image == 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/MKAnnotationView.h:68:1: note: 'prepareForDisplay()' has been explicitly marked unavailable here
66 | - (void)prepareForReuse;
67 |
68 | - (void)prepareForDisplay NS_REQUIRES_SUPER API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'prepareForDisplay()' has been explicitly marked unavailable here
69 |
70 | @property (nonatomic, strong, nullable) id <MKAnnotation> annotation;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:36:32: error: 'MKAnnotationView' is unavailable in watchOS
34 | }
35 |
36 | final class DotAnnotationView: MKAnnotationView {
| `- error: 'MKAnnotationView' is unavailable in watchOS
37 | static let reuseIdentifier: String = String(describing: DotAnnotationView.self)
38 |
/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/SwiftUIMKMapView/LineOverlay.swift:42:20: error: 'MKPolylineRenderer' is unavailable in watchOS
40 | /// Overlay renderer factory that uses `MKPolylineRenderer` to render `LineOverlay`.
41 | public static let rendererFactory: OverlayRendererFactory = .factory(for: LineOverlay.self) { line in
42 | let renderer = MKPolylineRenderer(polyline: line.polyline)
| `- error: 'MKPolylineRenderer' is unavailable in watchOS
43 | renderer.strokeColor = line.color
44 | renderer.lineWidth = line.width
/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/SwiftUIMKMapView/MapView.swift:40:35: error: cannot find type 'Context' in scope
38 | }
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
41 | let view = MKMapView()
42 | annotationViewFactory.register(in: view)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:40:47: error: 'MKMapView' is unavailable in watchOS
38 | }
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
41 | let view = MKMapView()
42 | annotationViewFactory.register(in: view)
/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/SwiftUIMKMapView/MapView.swift:47:58: error: cannot find type 'Context' in scope
45 | }
46 |
47 | public func updateUIView(_ uiView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
48 | uiView.setVisibleMapRect(visibleRect, animated: false)
49 | uiView.showsUserLocation = showsUserLocation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:47:38: error: 'MKMapView' is unavailable in watchOS
45 | }
46 |
47 | public func updateUIView(_ uiView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
48 | uiView.setVisibleMapRect(visibleRect, animated: false)
49 | uiView.showsUserLocation = showsUserLocation
/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/SwiftUIMKMapView/MapView.swift:5:24: error: cannot find type 'UIViewRepresentable' in scope
3 |
4 | /// MapKit's MKMapView representable.
5 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
6 | /// - Parameters:
7 | /// - visibleRect: Binding for map's visible rect.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:12:34: error: 'MKMapView' is unavailable in watchOS
10 | let view: MapView
11 |
12 | public func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
| `- error: 'MKMapView' is unavailable in watchOS
13 | view.visibleRect = mapView.visibleMapRect
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:16:34: error: 'MKMapView' is unavailable in watchOS
14 | }
15 |
16 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
17 | view.annotationViewFactory.mapView(mapView, viewFor: annotation)
18 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:16:82: error: 'MKAnnotationView' is unavailable in watchOS
14 | }
15 |
16 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
17 | view.annotationViewFactory.mapView(mapView, viewFor: annotation)
18 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:34: error: 'MKMapView' is unavailable in watchOS
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKMapView' is unavailable in watchOS
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:80: error: 'MKOverlayRenderer' is unavailable in watchOS
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:4:50: error: 'MKMapViewDelegate' is unavailable in watchOS
2 |
3 | /// Coordinator for the MapView UIViewRepresentable.
4 | public final class MapViewCoordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
5 | init(view: MapView) {
6 | self.view = view
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:15: error: cannot override 'mapView' which has been marked unavailable
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: cannot override 'mapView' which has been marked unavailable
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:6:50: error: 'MKOverlayRenderer' is unavailable in watchOS
4 | public struct OverlayRendererFactory {
5 | /// - Parameter renderer: A closure that returns optional render for provided overlay.
6 | public init(renderer: @escaping (MKOverlay) -> MKOverlayRenderer?) {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
7 | self.renderer = renderer
8 | }
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:10:32: error: 'MKOverlayRenderer' is unavailable in watchOS
8 | }
9 |
10 | var renderer: (MKOverlay) -> MKOverlayRenderer?
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
11 |
12 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:12:45: error: 'MKOverlayRenderer' is unavailable in watchOS
10 | var renderer: (MKOverlay) -> MKOverlayRenderer?
11 |
12 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
13 | renderer(overlay)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKOverlayRen
SwiftCompile normal arm64_32 (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
derer.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/SwiftUIMKMapView/OverlayRendererFactory.swift:55:40: error: 'MKOverlayRenderer' is unavailable in watchOS
53 | public static func factory<Overlay>(
54 | for overlayClass: Overlay.Type,
55 | _ renderer: @escaping (Overlay) -> MKOverlayRenderer
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
56 | ) -> Self
57 | where Overlay: MKOverlay
/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;
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/SwiftUIMKMapView/AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/OverlayRendererFactory.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/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView-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/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftUIMKMapView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView_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/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64_32/SwiftUIMKMapView.abi.json
SwiftCompile normal arm64_32 Compiling\ AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/AnnotationViewFactory.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/AnnotationViewFactory.swift:9:26: error: 'MKMapView' is unavailable in watchOS
7 | /// - view: A closure that returns the view associated with the specified annotation object.
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
| `- error: 'MKMapView' is unavailable in watchOS
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
11 | ) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:10:22: error: 'MKMapView' is unavailable in watchOS
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
11 | ) {
12 | self.register = register
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:10:50: error: 'MKAnnotationView' is unavailable in watchOS
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
11 | ) {
12 | self.register = register
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:16:18: error: 'MKMapView' is unavailable in watchOS
14 | }
15 |
16 | var register: (MKMapView) -> Void
| `- error: 'MKMapView' is unavailable in watchOS
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
18 |
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:17:14: error: 'MKMapView' is unavailable in watchOS
15 |
16 | var register: (MKMapView) -> Void
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
18 |
19 | func register(in mapView: MKMapView) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:17:42: error: 'MKAnnotationView' is unavailable in watchOS
15 |
16 | var register: (MKMapView) -> Void
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
18 |
19 | func register(in mapView: MKMapView) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:19:29: error: 'MKMapView' is unavailable in watchOS
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
18 |
19 | func register(in mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
20 | register(mapView)
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/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/SwiftUIMKMapView/AnnotationViewFactory.swift:23:27: error: 'MKMapView' is unavailable in watchOS
21 | }
22 |
23 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
24 | view(mapView, annotation)
25 | }
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:23:75: error: 'MKAnnotationView' is unavailable in watchOS
21 | }
22 |
23 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
24 | view(mapView, annotation)
25 | }
/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)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/AnnotationViewFactory.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnnotationViewFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/AnnotationViewFactory.swift:71:15: error: 'MKAnnotationView' is unavailable in watchOS
69 | ) -> Self
70 | where Annotation: MKAnnotation,
71 | View: MKAnnotationView
| `- error: 'MKAnnotationView' is unavailable in watchOS
72 | {
73 | let reuseIdentifier = [annotationClass, viewClass]
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:78:15: error: 'register(_:forAnnotationViewWithReuseIdentifier:)' is unavailable in watchOS
76 |
77 | return .init(register: { mapView in
78 | mapView.register(
| `- error: 'register(_:forAnnotationViewWithReuseIdentifier:)' is unavailable in watchOS
79 | viewClass.self,
80 | forAnnotationViewWithReuseIdentifier: reuseIdentifier
/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:198:1: note: 'register(_:forAnnotationViewWithReuseIdentifier:)' has been explicitly marked unavailable here
196 |
197 | // Register a MKAnnotationView subclass to be instantiated when dequeueReusableAnnotationViewWithIdentifier: does not have a view to reuse.
198 | - (void)registerClass:(nullable Class)viewClass forAnnotationViewWithReuseIdentifier:(NSString *)identifier API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'register(_:forAnnotationViewWithReuseIdentifier:)' has been explicitly marked unavailable here
199 |
200 | // Select or deselect a given annotation. Asks the delegate for the corresponding annotation view if necessary.
SwiftCompile normal arm64_32 Compiling\ LineOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LineOverlay.swift
SwiftCompile normal arm64_32 Compiling\ MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:40:35: error: cannot find type 'Context' in scope
38 | }
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
41 | let view = MKMapView()
42 | annotationViewFactory.register(in: view)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:40:47: error: 'MKMapView' is unavailable in watchOS
38 | }
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
41 | let view = MKMapView()
42 | annotationViewFactory.register(in: view)
/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/SwiftUIMKMapView/MapView.swift:47:58: error: cannot find type 'Context' in scope
45 | }
46 |
47 | public func updateUIView(_ uiView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
48 | uiView.setVisibleMapRect(visibleRect, animated: false)
49 | uiView.showsUserLocation = showsUserLocation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:47:38: error: 'MKMapView' is unavailable in watchOS
45 | }
46 |
47 | public func updateUIView(_ uiView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
48 | uiView.setVisibleMapRect(visibleRect, animated: false)
49 | uiView.showsUserLocation = showsUserLocation
/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/SwiftUIMKMapView/MapView.swift:5:24: error: cannot find type 'UIViewRepresentable' in scope
3 |
4 | /// MapKit's MKMapView representable.
5 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
6 | /// - Parameters:
7 | /// - visibleRect: Binding for map's visible rect.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:41:16: error: 'MKMapView' is unavailable in watchOS
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
41 | let view = MKMapView()
| `- error: 'MKMapView' is unavailable in watchOS
42 | annotationViewFactory.register(in: view)
43 | view.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/SwiftUIMKMapView/MapView.swift:41:16: error: 'init()' is unavailable in watchOS
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
41 | let view = MKMapView()
| `- error: 'init()' is unavailable in watchOS
42 | annotationViewFactory.register(in: view)
43 | view.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftUIMKMapView/MapView.swift:62:12: error: 'overlays' is unavailable in watchOS
60 | }
61 |
62 | uiView.overlays.forEach { overlay in
| `- error: 'overlays' is unavailable in watchOS
63 | if !overlays.contains(where: { $0.isEqual(overlay) }) {
64 | uiView.removeOverlay(overlay)
/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/SwiftUIMKMapView/MapView.swift:64:16: error: 'removeOverlay' is unavailable in watchOS
62 | uiView.overlays.forEach { overlay in
63 | if !overlays.contains(where: { $0.isEqual(overlay) }) {
64 | uiView.removeOverlay(overlay)
| `- error: 'removeOverlay' is unavailable in watchOS
65 | }
66 | }
/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:222:1: note: 'removeOverlay' has been explicitly marked unavailable here
220 | - (void)addOverlays:(NSArray<id<MKOverlay>> *)overlays level:(MKOverlayLevel)level API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
221 |
222 | - (void)removeOverlay:(id <MKOverlay>)overlay API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'removeOverlay' has been explicitly marked unavailable here
223 | - (void)removeOverlays:(NSArray<id<MKOverlay>> *)overlays API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
224 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:68:18: error: 'overlays' is unavailable in watchOS
66 | }
67 | overlays.forEach { overlay in
68 | if !uiView.overlays.contains(where: { $0.isEqual(overlay) }) {
| `- error: 'overlays' is unavailable in watchOS
69 | uiView.addOverlay(overlay)
70 | }
/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 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapView.swift
SwiftCompile normal arm64_32 Compiling\ OverlayRendererFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/OverlayRendererFactory.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/OverlayRendererFactory.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OverlayRendererFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/OverlayRendererFactory.swift:6:50: error: 'MKOverlayRenderer' is unavailable in watchOS
4 | public struct OverlayRendererFactory {
5 | /// - Parameter renderer: A closure that returns optional render for provided overlay.
6 | public init(renderer: @escaping (MKOverlay) -> MKOverlayRenderer?) {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
7 | self.renderer = renderer
8 | }
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:10:32: error: 'MKOverlayRenderer' is unavailable in watchOS
8 | }
9 |
10 | var renderer: (MKOverlay) -> MKOverlayRenderer?
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
11 |
12 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:12:45: error: 'MKOverlayRenderer' is unavailable in watchOS
10 | var renderer: (MKOverlay) -> MKOverlayRenderer?
11 |
12 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
13 | renderer(overlay)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/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;
SwiftCompile normal arm64_32 Compiling\ MapViewCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:12:34: error: 'MKMapView' is unavailable in watchOS
10 | let view: MapView
11 |
12 | public func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
| `- error: 'MKMapView' is unavailable in watchOS
13 | view.visibleRect = mapView.visibleMapRect
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:16:34: error: 'MKMapView' is unavailable in watchOS
14 | }
15 |
16 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
17 | view.annotationViewFactory.mapView(mapView, viewFor: annotation)
18 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:16:82: error: 'MKAnnotationView' is unavailable in watchOS
14 | }
15 |
16 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
17 | view.annotationViewFactory.mapView(mapView, viewFor: annotation)
18 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:34: error: 'MKMapView' is unavailable in watchOS
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKMapView' is unavailable in watchOS
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:80: error: 'MKOverlayRenderer' is unavailable in watchOS
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:4:50: error: 'MKMapViewDelegate' is unavailable in watchOS
2 |
3 | /// Coordinator for the MapView UIViewRepresentable.
4 | public final class MapViewCoordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
5 | init(view: MapView) {
6 | self.view = view
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:15: error: cannot override 'mapView' which has been marked unavailable
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: cannot override 'mapView' which has been marked unavailable
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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 |
SwiftCompile normal arm64_32 Compiling\ DotAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:39:17: error: cannot override 'prepareForDisplay' which has been marked unavailable
37 | static let reuseIdentifier: String = String(describing: DotAnnotationView.self)
38 |
39 | override func prepareForDisplay() {
| |- error: cannot override 'prepareForDisplay' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'prepareForDisplay'
40 | super.prepareForDisplay()
41 | if image == 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/MKAnnotationView.h:68:1: note: 'prepareForDisplay()' has been explicitly marked unavailable here
66 | - (void)prepareForReuse;
67 |
68 | - (void)prepareForDisplay NS_REQUIRES_SUPER API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'prepareForDisplay()' has been explicitly marked unavailable here
69 |
70 | @property (nonatomic, strong, nullable) id <MKAnnotation> annotation;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:36:32: error: 'MKAnnotationView' is unavailable in watchOS
34 | }
35 |
36 | final class DotAnnotationView: MKAnnotationView {
| `- error: 'MKAnnotationView' is unavailable in watchOS
37 | static let reuseIdentifier: String = String(describing: DotAnnotationView.self)
38 |
/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/SwiftUIMKMapView/DotAnnotation.swift:40:11: error: 'prepareForDisplay()' is unavailable in watchOS
38 |
39 | override func prepareForDisplay() {
40 | super.prepareForDisplay()
| `- error: 'prepareForDisplay()' is unavailable in watchOS
41 | if image == nil {
42 | image = renderImage()
/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:68:1: note: 'prepareForDisplay()' has been explicitly marked unavailable here
66 | - (void)prepareForReuse;
67 |
68 | - (void)prepareForDisplay NS_REQUIRES_SUPER API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'prepareForDisplay()' has been explicitly marked unavailable here
69 |
70 | @property (nonatomic, strong, nullable) id <MKAnnotation> annotation;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:53:18: error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
51 | func renderImage() -> UIImage? {
52 | guard let annotation = annotation as? DotAnnotation else { return nil }
53 | let format = UIGraphicsImageRendererFormat()
| `- error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
54 | let bounds = CGRect(
55 | origin: .zero,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:27:12: note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
27 | @interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat
| `- note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
28 |
29 | @property (nonatomic) CGFloat scale; // display scale of the context. The preferredFormat uses the scale most appropriate for the main screen's current configuration.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DotAnnotation.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIMKMapView (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/AnnotationViewFactory.swift:9:26: error: 'MKMapView' is unavailable in watchOS
7 | /// - view: A closure that returns the view associated with the specified annotation object.
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
| `- error: 'MKMapView' is unavailable in watchOS
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
11 | ) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:10:22: error: 'MKMapView' is unavailable in watchOS
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
11 | ) {
12 | self.register = register
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:10:50: error: 'MKAnnotationView' is unavailable in watchOS
8 | public init(
9 | register: @escaping (MKMapView) -> Void,
10 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
11 | ) {
12 | self.register = register
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:16:18: error: 'MKMapView' is unavailable in watchOS
14 | }
15 |
16 | var register: (MKMapView) -> Void
| `- error: 'MKMapView' is unavailable in watchOS
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
18 |
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:17:14: error: 'MKMapView' is unavailable in watchOS
15 |
16 | var register: (MKMapView) -> Void
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
18 |
19 | func register(in mapView: MKMapView) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:17:42: error: 'MKAnnotationView' is unavailable in watchOS
15 |
16 | var register: (MKMapView) -> Void
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
18 |
19 | func register(in mapView: MKMapView) {
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:19:29: error: 'MKMapView' is unavailable in watchOS
17 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
18 |
19 | func register(in mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
20 | register(mapView)
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/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/SwiftUIMKMapView/AnnotationViewFactory.swift:23:27: error: 'MKMapView' is unavailable in watchOS
21 | }
22 |
23 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
24 | view(mapView, annotation)
25 | }
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:23:75: error: 'MKAnnotationView' is unavailable in watchOS
21 | }
22 |
23 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
24 | view(mapView, annotation)
25 | }
/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/SwiftUIMKMapView/AnnotationViewFactory.swift:71:15: error: 'MKAnnotationView' is unavailable in watchOS
69 | ) -> Self
70 | where Annotation: MKAnnotation,
71 | View: MKAnnotationView
| `- error: 'MKAnnotationView' is unavailable in watchOS
72 | {
73 | let reuseIdentifier = [annotationClass, viewClass]
/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/SwiftUIMKMapView/DotAnnotation.swift:39:17: error: cannot override 'prepareForDisplay' which has been marked unavailable
37 | static let reuseIdentifier: String = String(describing: DotAnnotationView.self)
38 |
39 | override func prepareForDisplay() {
| |- error: cannot override 'prepareForDisplay' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'prepareForDisplay'
40 | super.prepareForDisplay()
41 | if image == 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/MKAnnotationView.h:68:1: note: 'prepareForDisplay()' has been explicitly marked unavailable here
66 | - (void)prepareForReuse;
67 |
68 | - (void)prepareForDisplay NS_REQUIRES_SUPER API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'prepareForDisplay()' has been explicitly marked unavailable here
69 |
70 | @property (nonatomic, strong, nullable) id <MKAnnotation> annotation;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:36:32: error: 'MKAnnotationView' is unavailable in watchOS
34 | }
35 |
36 | final class DotAnnotationView: MKAnnotationView {
| `- error: 'MKAnnotationView' is unavailable in watchOS
37 | static let reuseIdentifier: String = String(describing: DotAnnotationView.self)
38 |
/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/SwiftUIMKMapView/LineOverlay.swift:42:20: error: 'MKPolylineRenderer' is unavailable in watchOS
40 | /// Overlay renderer factory that uses `MKPolylineRenderer` to render `LineOverlay`.
41 | public static let rendererFactory: OverlayRendererFactory = .factory(for: LineOverlay.self) { line in
42 | let renderer = MKPolylineRenderer(polyline: line.polyline)
| `- error: 'MKPolylineRenderer' is unavailable in watchOS
43 | renderer.strokeColor = line.color
44 | renderer.lineWidth = line.width
/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/SwiftUIMKMapView/MapView.swift:40:35: error: cannot find type 'Context' in scope
38 | }
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
41 | let view = MKMapView()
42 | annotationViewFactory.register(in: view)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:40:47: error: 'MKMapView' is unavailable in watchOS
38 | }
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
41 | let view = MKMapView()
42 | annotationViewFactory.register(in: view)
/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/SwiftUIMKMapView/MapView.swift:47:58: error: cannot find type 'Context' in scope
45 | }
46 |
47 | public func updateUIView(_ uiView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
48 | uiView.setVisibleMapRect(visibleRect, animated: false)
49 | uiView.showsUserLocation = showsUserLocation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:47:38: error: 'MKMapView' is unavailable in watchOS
45 | }
46 |
47 | public func updateUIView(_ uiView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
48 | uiView.setVisibleMapRect(visibleRect, animated: false)
49 | uiView.showsUserLocation = showsUserLocation
/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/SwiftUIMKMapView/MapView.swift:5:24: error: cannot find type 'UIViewRepresentable' in scope
3 |
4 | /// MapKit's MKMapView representable.
5 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
6 | /// - Parameters:
7 | /// - visibleRect: Binding for map's visible rect.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:12:34: error: 'MKMapView' is unavailable in watchOS
10 | let view: MapView
11 |
12 | public func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
| `- error: 'MKMapView' is unavailable in watchOS
13 | view.visibleRect = mapView.visibleMapRect
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:16:34: error: 'MKMapView' is unavailable in watchOS
14 | }
15 |
16 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
17 | view.annotationViewFactory.mapView(mapView, viewFor: annotation)
18 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:16:82: error: 'MKAnnotationView' is unavailable in watchOS
14 | }
15 |
16 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
17 | view.annotationViewFactory.mapView(mapView, viewFor: annotation)
18 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:34: error: 'MKMapView' is unavailable in watchOS
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKMapView' is unavailable in watchOS
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:80: error: 'MKOverlayRenderer' is unavailable in watchOS
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/MapViewCoordinator.swift:4:50: error: 'MKMapViewDelegate' is unavailable in watchOS
2 |
3 | /// Coordinator for the MapView UIViewRepresentable.
4 | public final class MapViewCoordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
5 | init(view: MapView) {
6 | self.view = view
/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/SwiftUIMKMapView/MapViewCoordinator.swift:20:15: error: cannot override 'mapView' which has been marked unavailable
18 | }
19 |
20 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: cannot override 'mapView' which has been marked unavailable
21 | view.overlayRendererFactory.rendererFor(overlay) ?? .init()
22 | }
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:6:50: error: 'MKOverlayRenderer' is unavailable in watchOS
4 | public struct OverlayRendererFactory {
5 | /// - Parameter renderer: A closure that returns optional render for provided overlay.
6 | public init(renderer: @escaping (MKOverlay) -> MKOverlayRenderer?) {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
7 | self.renderer = renderer
8 | }
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:10:32: error: 'MKOverlayRenderer' is unavailable in watchOS
8 | }
9 |
10 | var renderer: (MKOverlay) -> MKOverlayRenderer?
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
11 |
12 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
/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/SwiftUIMKMapView/OverlayRendererFactory.swift:12:45: error: 'MKOverlayRenderer' is unavailable in watchOS
10 | var renderer: (MKOverlay) -> MKOverlayRenderer?
11 |
12 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
13 | renderer(overlay)
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/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/SwiftUIMKMapView/OverlayRendererFactory.swift:55:40: error: 'MKOverlayRenderer' is unavailable in watchOS
53 | public static func factory<Overlay>(
54 | for overlayClass: Overlay.Type,
55 | _ renderer: @escaping (Overlay) -> MKOverlayRenderer
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
56 | ) -> Self
57 | where Overlay: MKOverlay
/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;
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/SwiftUIMKMapView/AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/OverlayRendererFactory.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/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView-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/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftUIMKMapView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView_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/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIMKMapView.build/Debug-watchos/SwiftUIMKMapView-t.build/Objects-normal/arm64/SwiftUIMKMapView.abi.json
SwiftCompile normal arm64 (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ DotAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:39:17: error: cannot override 'prepareForDisplay' which has been marked unavailable
37 | static let reuseIdentifier: String = String(describing: DotAnnotationView.self)
38 |
39 | override func prepareForDisplay() {
| |- error: cannot override 'prepareForDisplay' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'prepareForDisplay'
40 | super.prepareForDisplay()
41 | if image == 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/MKAnnotationView.h:68:1: note: 'prepareForDisplay()' has been explicitly marked unavailable here
66 | - (void)prepareForReuse;
67 |
68 | - (void)prepareForDisplay NS_REQUIRES_SUPER API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'prepareForDisplay()' has been explicitly marked unavailable here
69 |
70 | @property (nonatomic, strong, nullable) id <MKAnnotation> annotation;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:36:32: error: 'MKAnnotationView' is unavailable in watchOS
34 | }
35 |
36 | final class DotAnnotationView: MKAnnotationView {
| `- error: 'MKAnnotationView' is unavailable in watchOS
37 | static let reuseIdentifier: String = String(describing: DotAnnotationView.self)
38 |
/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/SwiftUIMKMapView/DotAnnotation.swift:40:11: error: 'prepareForDisplay()' is unavailable in watchOS
38 |
39 | override func prepareForDisplay() {
40 | super.prepareForDisplay()
| `- error: 'prepareForDisplay()' is unavailable in watchOS
41 | if image == nil {
42 | image = renderImage()
/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:68:1: note: 'prepareForDisplay()' has been explicitly marked unavailable here
66 | - (void)prepareForReuse;
67 |
68 | - (void)prepareForDisplay NS_REQUIRES_SUPER API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'prepareForDisplay()' has been explicitly marked unavailable here
69 |
70 | @property (nonatomic, strong, nullable) id <MKAnnotation> annotation;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DotAnnotation.swift
SwiftCompile normal arm64 Compiling\ MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:40:35: error: cannot find type 'Context' in scope
38 | }
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
41 | let view = MKMapView()
42 | annotationViewFactory.register(in: view)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:40:47: error: 'MKMapView' is unavailable in watchOS
38 | }
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
41 | let view = MKMapView()
42 | annotationViewFactory.register(in: view)
/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/SwiftUIMKMapView/MapView.swift:47:58: error: cannot find type 'Context' in scope
45 | }
46 |
47 | public func updateUIView(_ uiView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
48 | uiView.setVisibleMapRect(visibleRect, animated: false)
49 | uiView.showsUserLocation = showsUserLocation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:47:38: error: 'MKMapView' is unavailable in watchOS
45 | }
46 |
47 | public func updateUIView(_ uiView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
48 | uiView.setVisibleMapRect(visibleRect, animated: false)
49 | uiView.showsUserLocation = showsUserLocation
/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/SwiftUIMKMapView/MapView.swift:5:24: error: cannot find type 'UIViewRepresentable' in scope
3 |
4 | /// MapKit's MKMapView representable.
5 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
6 | /// - Parameters:
7 | /// - visibleRect: Binding for map's visible rect.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:41:16: error: 'MKMapView' is unavailable in watchOS
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
41 | let view = MKMapView()
| `- error: 'MKMapView' is unavailable in watchOS
42 | annotationViewFactory.register(in: view)
43 | view.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/SwiftUIMKMapView/MapView.swift:41:16: error: 'init()' is unavailable in watchOS
39 |
40 | public func makeUIView(context: Context) -> MKMapView {
41 | let view = MKMapView()
| `- error: 'init()' is unavailable in watchOS
42 | annotationViewFactory.register(in: view)
43 | view.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftUIMKMapView/MapView.swift:62:12: error: 'overlays' is unavailable in watchOS
60 | }
61 |
62 | uiView.overlays.forEach { overlay in
| `- error: 'overlays' is unavailable in watchOS
63 | if !overlays.contains(where: { $0.isEqual(overlay) }) {
64 | uiView.removeOverlay(overlay)
/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/SwiftUIMKMapView/MapView.swift:64:16: error: 'removeOverlay' is unavailable in watchOS
62 | uiView.overlays.forEach { overlay in
63 | if !overlays.contains(where: { $0.isEqual(overlay) }) {
64 | uiView.removeOverlay(overlay)
| `- error: 'removeOverlay' is unavailable in watchOS
65 | }
66 | }
/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:222:1: note: 'removeOverlay' has been explicitly marked unavailable here
220 | - (void)addOverlays:(NSArray<id<MKOverlay>> *)overlays level:(MKOverlayLevel)level API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2)) API_UNAVAILABLE(watchos);
221 |
222 | - (void)removeOverlay:(id <MKOverlay>)overlay API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
| `- note: 'removeOverlay' has been explicitly marked unavailable here
223 | - (void)removeOverlays:(NSArray<id<MKOverlay>> *)overlays API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
224 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:68:18: error: 'overlays' is unavailable in watchOS
66 | }
67 | overlays.forEach { overlay in
68 | if !uiView.overlays.contains(where: { $0.isEqual(overlay) }) {
| `- error: 'overlays' is unavailable in watchOS
69 | uiView.addOverlay(overlay)
70 | }
/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 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapView.swift
SwiftCompile normal arm64 Compiling\ MapViewCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewCoordinator.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-17 23:31:14.103 xcodebuild[802:4819] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-17 23:31:14.240 xcodebuild[802:4819] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIMKMapView (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIMKMapView (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
SwiftCompile normal arm64 (in target 'SwiftUIMKMapView' from project 'SwiftUIMKMapView')
Building workspace SwiftUIMKMapView with scheme SwiftUIMKMapView
(5 failures)
BUILD FAILURE 6.4 watchOS